Schema API
Provides information about internal Odds88 entities
Schema API endpoints allow to get internal entities which exist in Odds88.
All endpoints in the API are rate-limited.
JWT Authorization header using the Bearer scheme. Example: "Authorization: Bearer {token}"
TradeArt sport id.
OK
Unauthorized
Forbidden
Too many requests
Internal Server Error
GET /api/schema/leagues/{sportId} HTTP/1.1
Host:
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
[
{
"id": 1,
"name": "text",
"sportId": 1,
"locationId": 1
}
]This endpoint is rate-limited to 20 requests per second.
JWT Authorization header using the Bearer scheme. Example: "Authorization: Bearer {token}"
TradeArt sport id. Will return all locations if not specified.
OK
Unauthorized
Forbidden
Too many requests
Internal Server Error
GET /api/schema/locations HTTP/1.1
Host:
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
[
{
"id": 1,
"name": "text"
}
]This endpoint is rate-limited to 20 requests per second.
JWT Authorization header using the Bearer scheme. Example: "Authorization: Bearer {token}"
TradeArt sport id. Will return all market types if not specified.
A flag indicating whether the response should include free text types or not.
trueOK
Unauthorized
Forbidden
Too many requests
Internal Server Error
GET /api/schema/market-types HTTP/1.1
Host:
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
[
{
"id": 1,
"name": "text",
"groups": [
{
"id": 1,
"name": "text",
"order": 1,
"sportId": 1
}
],
"isMultilineMarket": true,
"isFreeText": true
}
]This endpoint is rate-limited to 20 requests per second.
JWT Authorization header using the Bearer scheme. Example: "Authorization: Bearer {token}"
TradeArt sport id. Will return all periods if not specified.
OK
Unauthorized
Forbidden
Too many requests
Internal Server Error
GET /api/schema/periods HTTP/1.1
Host:
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
[
{
"id": 1,
"name": "text",
"sportId": 1
}
]This endpoint is rate-limited to 20 requests per second.
JWT Authorization header using the Bearer scheme. Example: "Authorization: Bearer {token}"
OK
Unauthorized
Forbidden
Too many requests
Internal Server Error
GET /api/schema/sports HTTP/1.1
Host:
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
[
{
"id": 1,
"name": "text"
}
]This endpoint is rate-limited to 1 request per minute.
Last updated