Translations API
Provides translations for different entities
Translations API endpoints can be used to fetch translations to different languages for the Odds88 entities.
Currently Odds88 support the following languages:
English
German
Spanish
Japanese
Portuguese
Russian
Thai
Turkish
Vietnamese
Chinese
Korean
French
Afar
Indonesian
These endpoints are rate-limited.
JWT Authorization header using the Bearer scheme. Example: "Authorization: Bearer {token}"
Language code of translation.
Sports which will be translated.
OK
Unauthorized
Forbidden
Too many requests
GET /api/translations/{lang}/sports HTTP/1.1
Host:
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
[
{
"id": 1,
"language": "text",
"translation": "text"
}
]This endpoint is rate-limited to 40 requests per second.
JWT Authorization header using the Bearer scheme. Example: "Authorization: Bearer {token}"
Language code for translation.
Regions which will be translated.
OK
Unauthorized
Forbidden
Too many requests
GET /api/translations/{lang}/regions HTTP/1.1
Host:
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
[
{
"id": 1,
"language": "text",
"translation": "text"
}
]This endpoint is rate-limited to 40 requests per second.
JWT Authorization header using the Bearer scheme. Example: "Authorization: Bearer {token}"
Language code for translation.
Leagues which will be translated.
OK
Unauthorized
Forbidden
Too many requests
GET /api/translations/{lang}/leagues HTTP/1.1
Host:
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
[
{
"id": 1,
"language": "text",
"translation": "text"
}
]This endpoint is rate-limited to 40 requests per second.
JWT Authorization header using the Bearer scheme. Example: "Authorization: Bearer {token}"
Language code for translation.
TradeArt event id.
Markets which will be translated.
OK
Unauthorized
Forbidden
Not Found
Too many requests
Internal Server Error
GET /api/translations/{lang}/{eventId}/markets HTTP/1.1
Host:
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
[
{
"market": {
"id": 1,
"language": "text",
"translation": "text"
},
"selections": [
{
"id": 1,
"language": "text",
"translation": "text"
}
]
}
]This endpoint is rate-limited to 40 requests per second.
JWT Authorization header using the Bearer scheme. Example: "Authorization: Bearer {token}"
Language code for translation.
Competitors which will be translated.
OK
Unauthorized
Forbidden
Too many requests
GET /api/translations/{lang}/competitors HTTP/1.1
Host:
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
[
{
"id": 1,
"language": "text",
"translation": "text"
}
]This endpoint is rate-limited to 40 requests per second.
JWT Authorization header using the Bearer scheme. Example: "Authorization: Bearer {token}"
TradeArt sport id.
OK
Unauthorized
Forbidden
Too many requests
GET /api/translations/all/sport/{sportId} HTTP/1.1
Host:
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"id": 1,
"translations": {
"ANY_ADDITIONAL_PROPERTY": "text"
}
}This endpoint is rate-limited to 20 requests per second.
JWT Authorization header using the Bearer scheme. Example: "Authorization: Bearer {token}"
TradeArt event id.
OK
Unauthorized
Forbidden
Not Found
Too many requests
GET /api/translations/all/event/{eventId} HTTP/1.1
Host:
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"eventTranslation": {
"id": 1,
"translations": {
"ANY_ADDITIONAL_PROPERTY": "text"
}
},
"sport": {
"id": 1,
"translations": {
"ANY_ADDITIONAL_PROPERTY": "text"
}
},
"region": {
"id": 1,
"translations": {
"ANY_ADDITIONAL_PROPERTY": "text"
}
},
"league": {
"id": 1,
"translations": {
"ANY_ADDITIONAL_PROPERTY": "text"
}
},
"competitors": [
{
"id": 1,
"translations": {
"ANY_ADDITIONAL_PROPERTY": "text"
}
}
]
}This endpoint is rate-limited to 40 requests per second.
JWT Authorization header using the Bearer scheme. Example: "Authorization: Bearer {token}"
TradeArt event id.
Markets which will be translated.
OK
Unauthorized
Forbidden
Not Found
Too many requests
Internal Server Error
GET /api/translations/all/{eventId}/markets HTTP/1.1
Host:
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
[
{
"marketTranslations": {
"id": 1,
"translations": {
"ANY_ADDITIONAL_PROPERTY": "text"
}
},
"selections": [
{
"id": 1,
"translations": {
"ANY_ADDITIONAL_PROPERTY": "text"
}
}
]
}
]This endpoint is rate-limited to 40 requests per second with specific markets and 1 request per 10 seconds without specific markets.
JWT Authorization header using the Bearer scheme. Example: "Authorization: Bearer {token}"
TradeArt region id.
OK
Unauthorized
Forbidden
Too many requests
GET /api/translations/all/region/{regionId} HTTP/1.1
Host:
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"id": 1,
"translations": {
"ANY_ADDITIONAL_PROPERTY": "text"
}
}This endpoint is rate-limited to 20 requests per second.
JWT Authorization header using the Bearer scheme. Example: "Authorization: Bearer {token}"
TradeArt league id.
OK
Unauthorized
Forbidden
Too many requests
GET /api/translations/all/league/{leagueId} HTTP/1.1
Host:
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"id": 1,
"translations": {
"ANY_ADDITIONAL_PROPERTY": "text"
}
}This endpoint is rate-limited to 20 requests per second.
JWT Authorization header using the Bearer scheme. Example: "Authorization: Bearer {token}"
TradeArt competitor id.
OK
Unauthorized
Forbidden
Too many requests
GET /api/translations/all/competitor/{competitorId} HTTP/1.1
Host:
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"id": 1,
"translations": {
"ANY_ADDITIONAL_PROPERTY": "text"
}
}This endpoint is rate-limited to 20 requests per second.
Last updated