Fetch markets
Returns a paginated list of markets based on the provided filter and ordering criteria. This can get specific known markets (by market ID), or markets based on other criteria such as event ID(s) and/or market type and status etc.
Headers
Header with the accessToken for the current session
Query Parameters
Optional list of specific IDs to fetch
Optional list of app IDs to filter results by
Optional list of event IDs to filter results by
Optional list of market type IDs to filter results by
Optional list of currency IDs to filter results by
Optional list of market statuses to filter results by
Initializing, Open, Locking, Locked, Settling, Settled, Voiding, Voided, Closed Whether the markets are currently in-play or not. Returns all if not set
NotApplicable, PrePlay, InPlay The inclusive beginning of a date-time range filter. If not provided, no restriction will be applied to the beginning of the range
The exclusive end of a date-time range filter. If not provided, no restriction will be applied to the end of the range
Optional filter as to whether the market is published or not
Zero-based page index (0..N)
The size of the page to be returned
Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported.