events.show

events.show

Resource information

URL

https://api.statscore.com/v2/events/{event_id}

Method

GET

Description

Returns a single event with details including participants, partial results, stats, lineups and important incidents for the event.
For speedway events, we suggest using events.participants.index endpoint

Cache

60 seconds

Authorization required

Yes

Method parameters

Name

Data type

Description

Name

Data type

Description

event_id

xsd:int

REQUIRED. The requested event identifier

Query parameters

Name

Data type

Description

Name

Data type

Description

token

xsd:string

REQUIRED. More information concerning authorization in API introduction section

lang

xsd:string

Determines language for the output data 

tz

xsd:string

Determines timezone for the output data

Method calling examples

Link

Description

Link

Description

https://api.statscore.com/v2/events/6367?token={{YOUR_TOKEN}}

Returns detailed data for the selected event in JSON format

Output elements

competition

competition

competition > season

competition > season > stage

competition > season > stage > group

competition > season > stage > group > event

 

competition > season > stage > group > event>series

competition > season > stage > group > event > details > detail

additional information related to event

competition > season > stage > group > event > participants

competition > season > stage > group > event > participants > participant

counter

Number of participant in the event. Participant with counter="1" is the home team.

competition > season > stage > group > event > participants > participant > stats

competition > season > stage > group > event > participants > participant > stats > stat

competition > season > stage > group > event > participants > participant > event_status_stats

competition > season > stage > group > event > participants > participant > results

competition > season > stage > group > event > participants > participant > results > result

competition > season > stage > group > event > participants > participant > awards

competition > season > stage > group > event > participants > participant > lineups

competition > season > stage > group > event > participants > participant > lineups > lineup

id

Unique identifier for lineup related to event

type

Type of participant in lineup. Possible values:

  • player

  • coach

bench

Determines if participant (player) is in the starting line up for the event. Possible values:

  • empty (if participant - player is in the starting line up)

  • yes (if participant - player is on the bench)

participant_id

Unique identifier for the participant (player, coach)

participant_name

Name of the participant (player, coach)

participant_area_id

Identifier for area represented by the participant

shirt_nr

Shirt number. Could be empty value

participant_slug

Friendly url for the participant

 

competition > season > stage > group > event > events_incidents

competition > season > stage > group > event > events_incidents > incident

this node includes only important incidents from the event

 

id

Unique identifier for an incident that has occurred in the event

incident_id

Identifier for the incident

incident_name

Name of incident e.g. goal, yellow card, red card etc.

participant_id

Unique identifier for event participant (team or player) related to the incident

participant_name

Participants (team or player) name related to the incident. e.g. Cristano Ronaldo, Leo Messi, Roger Federer

participant_slug

Friendly URL for the participant

subparticipant_id

Unique identifier for the player, who is a member of participant squad e.g. Real Madrid, Barcelona

subparticipant_slug

Friendly URL for the subparticipant. Possible empty value

subparticipant_name

Subparticipant name

event_status_id

Identifier for event status in which the incident occurred

event_status_name

Name of event status in which the incident occurred

event_time

Event minute and second in which the incident occurred

info

Additional information about the incident

for

Only for internal use. Possible values:

  • all

  • none

  • own

  • rival

confirmation

Describes confirmation status for the incident. Possible values:

  • tbd – appears as default

  • confirmed – appears when the following incident will be confirmed

  • cancelled – appears when the following incident will be cancelled (f.e. by referee or VAR system). Incidents with this value have no effect on statistics.

attributes_ids

Attributes identifiers related to incident, separated by a comma (e.g. [397, 398])

properties

Additional information regarding incidents, e.g. yards in american football, xG in soccer

additional_info

Contains additional information:

  • goalkeeper_id, 

  • assistant_id (eg. "assistant_id": 178565)

  • assistant_name (eg. "assistant_name": "Marco Reus")

ut

Information about the date and time of when the event incident record was last updated. Format UNIX_TIMESTAMP

parent_id

Contains information about the related incident ID. Currently it refers to “substitution out” and “substitution in” incidents (to correctly identify which player replaced which)