Sports
GET
/
View as MarkdownTry in Playground →
Lists all supported sports, each with the number of matches live right now. Matches the source has left open — 45 min without any change, with a kick-off further back than a match in that sport could run — do not count towards it. kind tells you which endpoint family serves the sport: fixtures, for sports served by the Fixtures, Teams and Leagues endpoints; races, for motorsport and cycling, which the Race sports endpoints cover (their fixture lists stay empty).
Response
- data
{ slug: string; name: string; kind: "fixtures" | "races"; live: number }[]- meta
- count
Any /v2 call can also come back with one of the common errors.
curl -H "Authorization: Bearer sk_live_…" \
"https://api.datasportsapi.com/v2/sports"Example
{ "data": [ { "slug": "football", "name": "Football", "kind": "fixtures", "live": 42 }, { "slug": "ice-hockey", "name": "Ice hockey", "kind": "fixtures", "live": 9 }, …,
{ "slug": "motorsport", "name": "Motorsport", "kind": "races", "live": 0 } ],
"meta": { "count": 24 } }