API Documentation
GetFixtures
The endpoint {fixtures} allows you to retrieve active fixtures in one sport from one country. Active fixtures are all fixtures in a state before and up to 2 hours after their cut-off date. Mandatory input parameters are the Sport ID and the Country. The fixtures are returned together with their markets, options, and prices. The refresh interval for this endpoint is 2 seconds.
Request
GET /offer/api/{sportId}/{country}/fixtures[?language&competitionIds&fixtureIds&isInPlay&onlyMainMarkets&since]
Parameters
Name | Type | Default | Notes |
---|---|---|---|
*sportId | The unique ID of the sport. Mandatory. |
||
*country | The country's Alpha-2 code, as defined in ISO 3166. Mandatory. See https://en.wikipedia.org/wiki/List_of_ISO_3166_country_codes for details. |
||
language | en | The Language Code as defined in the list of supported language codes. If not specified, "en" is assumed. |
|
competitionIds | A list of Competition IDs. Make sure that the competitions are defined for the specified sport. |
||
fixtureIds | A list of unique IDs of fixtures. Optional. Limits the response to the fixtures with the given IDs. |
||
isInPlay | A filter for including only fixtures in pre-match ({false}) or in-play ({true}) state. If not specified, both are included. |
||
onlyMainMarkets | True | A filter to include only markets previously defined as main markets, including the balanced line markets. |
|
since | A timestamp in UTC time. Data is retrieved from this point up to now. Format: {yyyyMMddHHmmss}. |
Responses
Status Code | Type | Description | Samples |
---|---|---|---|
200 |
|
Success |
GetFixtureIndex
The endpoint {fixtureIndex} allows you to retrieve an overview of the active fixtures in one sport from one country. "Active" fixtures are all fixtures in a state before and up to 2 hours after their cut-off date. Mandatory input parameters are the Sport ID and the Country Code. The fixtures are returned without markets, options, and prices. The refresh interval for this endpoint is 2 seconds.
Request
GET /offer/api/{sportId}/{country}/fixtureIndex[?language&competitionIds&fixtureIds&isInPlay&since]
Parameters
Name | Type | Default | Notes |
---|---|---|---|
*sportId | The unique ID of the sport. Mandatory. |
||
*country | The country's Alpha-2 code, as defined in ISO 3166. Mandatory. See https://en.wikipedia.org/wiki/List_of_ISO_3166_country_codes for details. |
||
language | en | The Language Code as defined in the list of supported language codes. If not specified, "en" is assumed. |
|
competitionIds | A list of Competition IDs. Make sure that the competitions are defined for the specified sport. |
||
fixtureIds | A list of unique IDs of fixtures. Optional. Limits the response to the fixtures with the given IDs. |
||
isInPlay | A filter for including only fixtures in pre-match ({false}) or in-play ({true}) state. If not specified, both are included. |
||
since | A timestamp in UTC time. Data is retrieved from this point up to now. Format: {yyyyMMddHHmmss}. |
Responses
Status Code | Type | Description | Samples |
---|---|---|---|
200 |
|
Success |
GetCompetitions
The endpoint {competitions} allows you to retrieve the available competitions in one sport from one country. Mandatory input parameters are the Sport ID and the Country Code. The refresh interval for this endpoint is 1 second.
Request
GET /offer/api/{sportId}/{country}/competitions[?participants&language]
Parameters
Name | Type | Default | Notes |
---|---|---|---|
*sportId | The unique ID of the sport. Mandatory. |
||
*country | The country's Alpha-2 code, as defined in ISO 3166. Mandatory. |
||
participants | A filter for including the list of participants (teams/players) in the competition ({true}) or not ({false}). Optional. If not specified, the list is not included. |
||
language | en | The Language Code as defined in the list of supported language codes. If not specified, "en" is assumed. |
Responses
Status Code | Type | Description | Samples |
---|---|---|---|
200 |
|
Success |
GetSports
The endpoint {sports} allows you to retrieve available sports in one country. Mandatory input parameter is the Country Code. The refresh interval for this endpoint is 1 second.
Request
GET /offer/api/{country}/sports[?language]
Parameters
Name | Type | Default | Notes |
---|---|---|---|
*country | The country's Alpha-2 code, as defined in ISO 3166. |
||
language | en | The Language Code as defined in the list of supported language codes. If not specified, "en" is assumed. |
Responses
Status Code | Type | Description | Samples |
---|---|---|---|
200 |
|
Success |
GetSupportedLanguageCodes
The endpoint {languageCodes} allows you to retrieve the complete list of supported language codes.
Request
GET /offer/api/languageCodes
Responses
Status Code | Type | Description | Samples |
---|---|---|---|
200 | array | Success |
GetScoreboards
The endpoint {scoreboards} allows you to retrieve the basic scoreboard information for fixtures: the current state of a fixture, the period the event is in and the current score (if applicable for this type of fixture), and the elapsed minutes and seconds. Mandatory input parameters are the Sport ID, and the Country. The refresh interval for this endpoint is 2 seconds.
Request
GET /offer/api/{sportId}/{country}/scoreboards[?competitionIds&fixtureIds&since]
Parameters
Name | Type | Default | Notes |
---|---|---|---|
*sportId | The unique ID of the sport. Mandatory. |
||
*country | The country's Alpha-2 code, as defined in ISO 3166. Mandatory. See https://en.wikipedia.org/wiki/List_of_ISO_3166_country_codes for details. |
||
competitionIds | A list of Competition IDs. Make sure that the competitions are defined for the specified sport. |
||
fixtureIds | A list of unique IDs of fixtures. Optional. Limits the response to the fixtures with the given IDs. |
||
since | A timestamp in UTC time. Data is retrieved from this point up to now. Format: {yyyyMMddHHmmss}. |
Responses
Status Code | Type | Description | Samples |
---|---|---|---|
200 |
|
Success |
Definitions
FixtureResultEnvelope
Name | Type | Notes |
---|---|---|
items |
|
|
count | integer (int32) | |
links | object | |
type |
|
Fixture
Name | Type | Notes |
---|---|---|
markets |
|
|
id |
|
|
name |
|
|
version |
|
|
startDateUtc | string (date-time) | |
cutOffDateUtc | string (date-time) | |
isInPlay | boolean | |
isDisplayed | boolean | |
isOpenForBetting | boolean | |
isPlannedInPlay | boolean | |
state | string | |
type | string | |
fixtureGroupId | integer (int32) | |
competition |
|
|
region |
|
|
participantType | string | |
participants |
|
Market
Name | Type | Notes |
---|---|---|
id | integer (int64) | |
name |
|
|
marketType | string | |
happening | string | |
period | string | |
subPeriod | string | |
value | number (double) | |
isDisplayed | boolean | |
isOpenForBetting | boolean | |
isBalancedLine | boolean | |
options |
|
SignedTranslation
Name | Type | Notes |
---|---|---|
text | string | |
sign | string | |
shortText | string | |
shortTextSign | string |
Option
Name | Type | Notes |
---|---|---|
id | integer (int64) | |
name |
|
|
price |
|
|
isDisplayed | boolean | |
isOpenForBetting | boolean |
Price
Name | Type | Notes |
---|---|---|
fraction |
|
|
odds | number (double) | |
usOdds | number (double) |
Fraction
Name | Type | Notes |
---|---|---|
numerator | integer (int32) | |
denominator | integer (int32) |
CompoundIdentifier
Name | Type | Notes |
---|---|---|
full | string | |
entityId | integer (int64) |
ObjectVersion
Enum Values
12
Tag
Name | Type | Notes |
---|---|---|
id | integer (int64) | |
name |
|
Translation
Name | Type | Notes |
---|---|---|
text | string | |
shortText | string |
Participant
Name | Type | Notes |
---|---|---|
id | integer (int64) | |
name |
|
|
participantTag | string |
ResponseType
FixtureIndexResultEnvelope
Name | Type | Notes |
---|---|---|
items |
|
|
count | integer (int32) | |
links | object | |
type |
|
FixtureIndex
Name | Type | Notes |
---|---|---|
id |
|
|
name |
|
|
version |
|
|
startDateUtc | string (date-time) | |
cutOffDateUtc | string (date-time) | |
isInPlay | boolean | |
isDisplayed | boolean | |
isOpenForBetting | boolean | |
isPlannedInPlay | boolean | |
state | string | |
type | string | |
fixtureGroupId | integer (int32) | |
competition |
|
|
region |
|
|
participantType | string | |
participants |
|
CompetitionResultEnvelope
Name | Type | Notes |
---|---|---|
items |
|
|
count | integer (int32) | |
links | object | |
type |
|
Competition
Name | Type | Notes |
---|---|---|
id | integer (int32) | |
version |
|
|
region |
|
|
name |
|
|
type | string | |
competitionGroupId | integer (int32) |
SportResultEnvelope
Name | Type | Notes |
---|---|---|
items |
|
|
count | integer (int32) | |
links | object | |
type |
|
Sport
Name | Type | Notes |
---|---|---|
id | integer (int64) | |
name |
|
ScoreboardResultEnvelope
Name | Type | Notes |
---|---|---|
items |
|
|
count | integer (int32) | |
links | object | |
type |
|
Scoreboard
Name | Type | Notes |
---|---|---|
id |
|
|
version |
|
|
period | string | |
state | string | |
score | string | |
time |
|
|
happenings |
|
ScoreboardTime
Name | Type | Notes |
---|---|---|
minutes | integer (int32) | |
seconds | integer (int32) | |
isRunning | boolean |
Happening
Name | Type | Notes |
---|---|---|
id | integer (int64) | |
type | string | |
value | string | |
timer |
|
HappeningTimer
Name | Type | Notes |
---|---|---|
minutes | integer (int32) | |
seconds | integer (int32) |