Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Current »

Resource information

URLhttps://api.statscore.com/v2/basic-livescore
MethodGET

Description

Returns LIVE events' results related to sport
Cache30 seconds
Authorization requiredYes

Method parameters

NameTypeDescription
There are no method parameters in this resource 

Query parameters

Name

Type

Description

tokenxsd:stringREQUIRED. There is more information concerning authorization in the API introduction section
timestampxsd:unix_timestampREQUIRED. Selection date, format UNIX_TIMESTAMP. Only changes in events that occurred or were updated after this timestamp will be returned. The timestamp used in query can be at most 5 hours from the past.
sport_idxsd:intDetermines the sport identifier in which the events are played. Possibility to input multiple identifiers, separated by comma. The complete list of possible sports can be retrieved using the API resource: sports.index

Method calling examples

LinkDescription
https://api.statscore.com/v2/basic-livescore?token={{YOUR_TOKEN}}Returns a list of all in progress (live) events in JSON format

Method calling examples

Output elements

competitions
competitions > competition


competitions > competition > seasons
competitions > competition > seasons > season


competitions > competition > seasons > season > stages
competitions > competition > seasons > season > stages > stage


competitions > competition > seasons > season > stages > stage > groups
competitions > competition > seasons > season > stages > stage > groups > group
competitions > competition > seasons > season > stages > stage > groups > group > events
competitions > competition > seasons > season > stages > stage > groups > group > events > event


competitions > competition > seasons > season > stages > stage > groups > group > events > event > participants
competitions > competition > seasons > season > stages > stage > groups > group > events > event > participants > participant
counterNumber of participant in the event. Participant with counter="1" is the home team.


competitions > competition > seasons > season > stages > stage > groups > group > events > event > participants > participant > results
competitions > competition > seasons > season > stages > stage > groups > group > events > event > participants > participant > results > result

idUnique identifier for the result
short_nameAbbreviated name of 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

  • No labels