v1

latestOpenAPI 3.1.02026-07-2657157254.1 KB
opinion

Get Opinion Orderbooks

Fetch historical orderbook snapshots for an Opinion market over a specified time range.

Returns YES-side orderbook snapshots. To derive the NO orderbook, invert client-side: flip bids/asks and transform prices to 1 - price. All timestamps are in milliseconds.

get/v2/opinion/orderbooks

Query parameters

market_idinteger required

The Opinion market ID

The Opinion market ID

start_timeinteger required

Start time in Unix timestamp (milliseconds)

Start time in Unix timestamp (milliseconds)

end_timeinteger required

End time in Unix timestamp (milliseconds)

End time in Unix timestamp (milliseconds)

limitinteger

Maximum number of snapshots to return

Maximum number of snapshots to return

pagination_keystring nullable

Pagination key to get the next chunk of data

Pagination key to get the next chunk of data

Response

Successful Response