events.participants.index

Resource information

URLhttps://api.statscore.com/v2/events/{event_id}/participants
MethodGET

Description

Returns a list of participants with subparticipants for the event
Cache60 seconds
Authorization requiredYes

Method parameters

NameData typeDescription
event_idxsd:intREQUIRED. The requested event identifier

Query parameters

NameData typeDescription
tokenxsd:stringREQUIRED. More information concerning authorization in API introduction section
langxsd:string

Determines language for the output data 

tzxsd:stringDetermines timezone for the output data


Method calling examples

Link
Description
https://api.statscore.com/v2/events/6367/participants?token={{YOUR_TOKEN}}Returns a list of participants with subparticipants for the event in JSON format

Output elements

.participants

counterNumber of participants in the event. Participant with counter="1" is the home team.
idUnique identifier of the participant
type

Participant type. Possible values:

  • team
  • person
nameParticipants name
short_nameParticipants abbreviated name, max length: 20 characters
acronymMax 3 characters in length mini name, e.g. BAR, REA
gender

Participant gender. Possible value:

  • male
  • female
  • mixed (e.g. for doubles in tennis)
area_idUnique identifier for the area represented by the participant 
area_nameArea name represented by the participant
area_codeMax 3 characters in length for the abbreviated area name e.g. GER, POL, FRA
sport_idUnique identifier for the sport in which a participant takes part 
sport_nameName of the sport in which a participant takes part
national

Determines if participant is a national team. Possible values:

  • yes
  • no
websiteParticipants official website
utInformation about the date and time of when the record was last updated. Format UNIX_TIMESTAMP
old_participant_iddeprecated. The attribute will be removed in next API version
slugfriendly url for participant
logoAttribute for internal purposes
virtual

Determines if participant is a virtual (not real team or player). Possible values:

  • yes
  • no
shirt_nrShirt number in for the event
...results

idUnique identifier for the result
nameName of the result. Possible values are different depending on the sport
valueValue related to the result
data_type

Defines type of field generated on front (internal purpose only)

  • integer
  • decimal
  • binary_text
  • binary
  • text
  • signed_integer
...stats

idUnique identifier for the statistic
nameName of the statistic. Possible values are different depending on the sport
valueValue related to the statistic
data_type

Defines type of field generated on front (internal purpose only)

  • integer
  • decimal
  • binary_text
  • binary
  • text
  • signed_integer
...subparticipants

lineup_idUnique identifier of the sub participant in squad
idUnique identifier of the participant
type

Participant type. Possible values:

  • team
  • person
nameParticipants name
short_nameParticipants abbreviated name, max length: 20 characters
acronymMax 3 characters in length mini name, e.g. BAR, REA
gender

Participant gender. Possible value:

  • male
  • female
  • mixed (e.g. for doubles in tennis)
area_idUnique identifier for the area represented by the participant 
area_nameArea name represented by the participant
area_codeMax 3 characters in length for the abbreviated area name e.g. GER, POL, FRA
sport_idUnique identifier for the sport in which a participant takes part 
sport_nameName of the sport in which a participant takes part
national

Determines if participant is a national team. Possible values:

  • yes
  • no
websiteParticipants official website
utInformation about the date and time of when the record was last updated. Format UNIX_TIMESTAMP
old_participant_iddeprecated. The attribute will be removed in next API version
slugfriendly url for participant
logoAttribute for internal purposes
virtual

Determines if participant is a virtual (not real team or player). Possible values:

  • yes
  • no
shirt_nrShirt number in for the event
.....results
idUnique identifier for the result
nameName of the result. Possible values are different depending on the sport
short_nameAbbreviated name of the result
valueValue related to the result
data_type

Defines type of field generated on front (internal purpose only)

  • integer
  • decimal
  • binary_text
  • binary
  • text
  • signed_integer
.....stats
idUnique identifier for the statistic
nameName of the statistic. Possible values are different depending on the sport
short_nameAbbreviated name of the result
valueValue related to the statistic
data_type

Defines type of field generated on front (internal purpose only)

  • integer
  • decimal
  • binary_text
  • binary
  • text
  • signed_integer