Odds & Markets APIAPI referenceEvents
Odds & Markets API
Fetch all events
Fetch all events
Authorization
X-API-KEY X-API-KEY<token>
In: header
Query Parameters
startDate?string
Format
dateendDate?string
Format
datesportType?stringDeprecated
Deprecated, use competition= instead. Accepts the same values.
Value in
"wsl" | "sls" | "spr" | "masl" | "pbr" | "bkfc" | "f1" | "motocrs" | "fdrift" | "jaialai" | "gsoc" | "motoamerica" | "byb" | "powerslap" | "usac" | "nhra" | "sprmtcrs" | "hlrs" | "xgame" | "worldoutlaws" | "dgpt" | "athletesunlimited" | "lux" | "raf" | "nll" | "mltt" | "spectation" | "ifl" | "3ice" | "swimming"competition?string
Filter events by competition key (e.g. f1, wsl, nhra).
Value in
"wsl" | "sls" | "spr" | "masl" | "pbr" | "bkfc" | "f1" | "motocrs" | "fdrift" | "jaialai" | "gsoc" | "motoamerica" | "byb" | "powerslap" | "usac" | "nhra" | "sprmtcrs" | "hlrs" | "xgame" | "worldoutlaws" | "dgpt" | "athletesunlimited" | "lux" | "raf" | "nll" | "mltt" | "spectation" | "ifl" | "3ice" | "swimming"sortOrder?string
Order in which the results should be sorted
Value in
"DESC" | "ASC"eventStatus?array<>
Event statuses for which to return results.
Response Body
application/json
curl -X GET "https://api.altsportsdata.com/api/v1/public/events?startDate=2024-04-18T15%3A25%3A24Z&endDate=2024-04-20T15%3A25%3A24Z"[
{
"id": "nrx:2127ea10-6110-4ffd-9403-3e33fc0929de",
"numericSportId": 1174117206190029,
"sportKey": "soccer",
"sportName": "Soccer",
"numericCompetitionId": 8234567890123,
"competitionKey": "masl",
"competitionName": "MASL",
"numericEventId": 1174117206190029,
"name": "Billabong Pro Pipeline",
"sportLogo": "https://assets.altsportsdata.com/public/images/sports/nhra.png",
"tourName": "World Surf League",
"startDate": "2022-01-29T13:00:00Z",
"endDate": "2022-02-10T19:00:00Z",
"year": 2022,
"eventNumber": 1,
"eventStatus": "COMPLETED",
"eventLocation": "Margaret River",
"eventLocationNumericId": 1174117206190029,
"eventLocationGroup": "Margaret River Group",
"providerId": "string",
"updatedAt": "2022-02-10T19:00:00Z",
"isTeamEvent": false,
"eventType": "H2H"
}
]