Skip to main content
GET /sports returns every sport your account is authorized to access. The sport id from this response is the value you pass as the sport query parameter in subsequent calls to /leagues and /matches.

Endpoint

GET https://api.sportrixdata.com/api/sports

Authentication and Scope

Requires the fixtures scope. Include your API key in the X-API-Key header.

Pagination

This endpoint is not paginated. It returns a bare array containing all of your enabled sports — access is bounded by your account’s enabled sports allowlist, so the list is always small and fixed.

Response Fields

id
integer
Sport id. Pass this value as the sport parameter when calling /leagues or /matches.
name
string
Human-readable display name for the sport (e.g. "Soccer").

Example Request

curl https://api.sportrixdata.com/api/sports \
  -H "X-API-Key: $KEY"

Example Response

[
  { "id": 1, "name": "Soccer" }
]
The array contains only the sports your account’s allowlist permits. Requesting data for any other sport ID on downstream endpoints will return empty results rather than an error.