v1

latestOpenAPI 3.0.12026-07-26251295.9 KB
Markets

Get active markets

This endpoint retrieves active markets on the exchange. It does not return markets that have been settled or reported.

get/markets/active

Query parameters

onlyMainLineboolean

If set to true, the result will only include main lines on spread and over under markets

eventIdstring

If set, it will only include markets for a particular sportXeventId

leagueIdinteger

If set, it will only include markets for a particular league ID

sportIdsinteger[]

If set, it will only include markets for particular sport IDs (comma separated)

liveOnlyboolean

If set, it will only include markets that are currently available for in-play betting

betGroupstring

If set, it will only include markets for a particular bet group

typeinteger[]

If set, it will only include markets for those particular market types. See below for the options

paginationKeystring

Used for pagination. Pass the nextKey returned from the previous request to retrieve the next set of records.

pageSizeinteger

Used for pagination. Requested page size. Each call will only return up to this amount of records. Maximum of 100

gameTimeinteger

If set, only return markets for games starting at or after this UNIX timestamp

Response

statusstring

success or failure if the request succeeded or not