Get Markets

API GROUP : EVENTS

Path Params
int64
required

The id of the event for which markets are to be returned in the response.

Query Params
string
Defaults to 0

Used for paging. The offset of the first entry in the response.

string
Defaults to 20

Used for paging. The number of entries to return in a single response.

string

A comma separated list of market names. Only markets with name in the provided list are included in the response.

string
Defaults to open,suspended

A comma separated list of market states. Only markets with status in the provided list are included in the response.

string

A comma separated list of market types. Only markets with type in the provided list are included in the response.

string
Defaults to back-lay

Prices are returned in accordance with the specified exchange-type. Allowed values: back-lay, binary.

string
Defaults to DECIMAL

Prices are returned in accordance with the specified odds-type. Allowed values: DECIMAL, US, HK, MALAY, INDO, %.

boolean
Defaults to false

A boolean indicating whether to return the prices for the markets.

string
Defaults to 3

Value indicating, for each runner, the maximum number of prices that will be returned in the response for each side.

string
Defaults to expanded

Allowed values are: expanded, aggregated. With expanded all prices available on the runner are returned up to the defined price-depth. With aggregated at most three prices are returned. First and second are identical to the first two prices returned with by the expanded mode. Third price is an aggregation of the liquidity on the third and following layers calculated to optimise the liquidity displayed.

string

Only prices on the specified side are included in the response. Allowed values are: back, lay or win, lose. Both sides are returned if no side is specified.

string

Prices are returned in the specified currency. Allowed values: USD, EUR, GBP, AUD, CAD. HKD

double

Only prices with available-amount greater than or equal to this value are included in the response. The default is 2.

boolean
Defaults to false

A boolean indicating whether to return only the originator prices for binary markets (similar to non binary markets) or to include also mirrored prices.

Response

Language
Response
Choose an example:
application/json