Get MarketsAsk AIget https://api.matchbook.com/edge/rest/events/{event_id}/marketsAPI GROUP : EVENTSPath Paramsevent_idint64requiredThe id of the event for which markets are to be returned in the response.Query ParamsoffsetstringDefaults to 0Used for paging. The offset of the first entry in the response.per-pagestringDefaults to 20Used for paging. The number of entries to return in a single response.namesstringA comma separated list of market names. Only markets with name in the provided list are included in the response.statesstringDefaults to open,suspendedA comma separated list of market states. Only markets with status in the provided list are included in the response.typesstringA comma separated list of market types. Only markets with type in the provided list are included in the response.exchange-typestringDefaults to back-layPrices are returned in accordance with the specified exchange-type. Allowed values: back-lay, binary.odds-typestringDefaults to DECIMALPrices are returned in accordance with the specified odds-type. Allowed values: DECIMAL, US, HK, MALAY, INDO, %.include-pricesbooleanDefaults to falseA boolean indicating whether to return the prices for the markets.truefalseprice-depthstringDefaults to 3Value indicating, for each runner, the maximum number of prices that will be returned in the response for each side.price-modestringDefaults to expandedAllowed 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.sidestringOnly 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.currencystringPrices are returned in the specified currency. Allowed values: USD, EUR, GBP, AUD, CAD. HKDminimum-liquiditydoubleOnly prices with available-amount greater than or equal to this value are included in the response. The default is 2.exclude-mirrored-pricesbooleanDefaults to falseA boolean indicating whether to return only the originator prices for binary markets (similar to non binary markets) or to include also mirrored prices.truefalseResponse 200200Updated about 6 years ago