Data API endpoints

The latest documentation for endpoints is always on the DevPortal: https://partner.socios.com/devportal/apis/3c83c678-b83c-47cd-a4ca-b27dcb19d643/test

Endpoint to get all countries

get
/countries
Authorizations
OAuth2implicitRequired
Authorization URL:
Query parameters
locales[]string[]Optional

Locales used to translate the current entity. Using the Locale HTTP header should be preferred. The HTTP header version is used in priority if it is given

Default: ["en"]
Header parameters
localestring · jsonOptional

Locales used to translate the current entity (json array). If this HTTP header is not given or if it is an empty array, the query parameter locales will be used

Example: [ "fr_FR","en_US" ]
Responses
200

Successfully get countries

application/json
get
/countries
200

Successfully get countries

Endpoint to get all partner and fan token information

get
/fantokens
Authorizations
OAuth2implicitRequired
Authorization URL:
Query parameters
countries[]string[]OptionalDefault: []
currencyIds[]string[]OptionalDefault: []
Responses
200

Success

application/json
get
/fantokens

Endpoint to get all partner and fan token information

get
/fantokens/rate
Authorizations
OAuth2implicitRequired
Authorization URL:
Query parameters
currencyIds[]string[]OptionalDefault: []
Responses
200

Success

application/json
get
/fantokens/rate

Endpoint to get the list of all available sports

get
/sports
Authorizations
OAuth2implicitRequired
Authorization URL:
Query parameters
pageinteger · integerOptional
limitinteger · integerOptional
orderBystring · enumOptionalPossible values:
cursorstringOptional
directionstring · enumOptionalPossible values:
paginationModestring · enumOptionalPossible values:
ids[]string[]OptionalDefault: []
namesstringOptional
eventTypesstringOptional
locales[]string[]OptionalDefault: []
Responses
200

Successfully retrieved list of sports

application/json
get
/sports
200

Successfully retrieved list of sports

Endpoint to get the list of all available leagues

get
/leagues
Authorizations
OAuth2implicitRequired
Authorization URL:
Query parameters
limitintegerOptional

Maximum number of returned records

Default: 1000
orderBystringOptional

Field on which the records will be ordered

directionstring · enumOptional

Sorting order

Possible values:
locales[]string[]Optional

Locales used to translate the current entity. Using the Locale HTTP header should be preferred. The HTTP header version is used in priority if it is given

Default: ["en"]
namestringOptional
sports[]string[]OptionalDefault: []
leagueCountryIso2CodesstringOptional
leagueCountryIso3CodesstringOptional
Header parameters
localestring · jsonOptional

Locales used to translate the current entity (json array). If this HTTP header is not given or if it is an empty array, the query parameter locales will be used

Example: [ "fr_FR","en_US" ]
Responses
200

Successfully retrieved list of leagues

application/json
get
/leagues
200

Successfully retrieved list of leagues

Last updated