Skip to main content
GET
Fetch historical settled markets

Headers

authorization
string
required

Header with the accessToken for the current session

Query Parameters

queryType
enum<string>
required
Available options:
SettledDate,
EventStartDate
from
string<date-time>
required

beginning of the date range filter (inclusive)

to
string<date-time>
required

end of the date range filter (inclusive)

eventId
string

optional event id to filter results by

offset
string<date-time>

Value to offset the current page request by (inclusive)

secondaryOffset
integer<int64>

Secondary offset value, i.e., if offset value is non-unique (exclusive)

limit
integer

Maximum number of elements to retrieve

sort
string

Sorting criteria in the format: asc|desc. "

Default sort order is ascending.

Response

OK

_meta
object
documents
object