v1

latestOpenAPI 3.0.12026-07-26251295.9 KB
Sports Data

Get active leagues

This endpoint returns all the currently active leagues with markets in them. Note that this endpoint is only updated every 10m. The response format is the same as the get leagues endpoint, with an additional field eventsByType which maps the number of unique events within a particular bet group (for example, game-lines or outright-winner).

get/leagues/active

Query parameters

sportIdinteger

Only return active leagues under this sport

Response

statusstring

success or failure if the request succeeded or not

Example response

{
  "data": [
    {
      "leagueId": 1236,
      "label": "Portugal Primeira Liga",
      "sportId": 5
    }
  ]
}