v1

latestOpenAPI 3.0.12026-08-0673352.8 KB
API-Version-2.0

Get competitions of a sport.

Competitions are grouped by categories.

get/v2/odds/sports/{key}

Path parameters

keystring required

key of a sport; e.g. soccer

Response

SportWithCategoryResponse

competitionCountinteger

number of competitions associated with this Sport, 0 indicates inactive Sport

eventCountinteger

number of events associated with this Sport, 0 indicates inactive Sport

keystring

slug for this Sport

namestring

name of this Sport

Example response

{
  "categories": [
    {
      "competitions": [
        {
          "eventCount": 2,
          "key": "\"tennis-atp-french-open-men-singles\"",
          "name": "\"French Open, Men Singles\""
        }
      ],
      "key": "\"atp\"",
      "name": "\"ATP\""
    }
  ],
  "competitionCount": 2,
  "eventCount": 4,
  "key": "tennis",
  "name": "Tennis"
}