Rate limit: wait at least 1 second between two calls to this endpoint, per API key. Faster calls get
429 RATE_LIMITED. Each call uses 1 request of your quota. How the limits work- Ensure that the
sportIdis valid to receive relevant league data. - The response will be an array, which may be empty if no leagues are found for the given parameters.
Endpoint
Request Parameters
- sportId
(number)* — The ID of the sport for which leagues are being requested. For example:10. - language
(a2)— (Optional) The language in which the league information should be returned. By default, the value isenfor English.
Example Request
Example Response
Response (200 OK)
On a successful request, the server responds with a status code200 and returns a JSON array containing league information. Each object in the array contains the following fields:
- tournamentId
(number)— A unique identifier for the league. - tournamentSlug
(string)— A URL-friendly version of the league name. - tournamentName
(string)— The name of the league. - categorySlug
(string)— A URL-friendly version of the category name. - categoryName
(string)— The name of the category to which the league belongs. - futureFixtures
(number)— Amount of events starting more than 24 hours from now. - upcomingFixtures
(number)— Amount of events starting less than 24 hours from now. - liveFixtures
(number)— Amount of events currently in-play.