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

Request

  • Base URL
    https://api.predexon.com
  • URL
    https://api.predexon.com/v2/opinion/orderbooks
  • Auth
    API key in header x-api-key

Query parameters

market_idinteger required

The Opinion market ID

start_timeinteger required

Start time in Unix timestamp (milliseconds)

end_timeinteger required

End time in Unix timestamp (milliseconds)

limitinteger

Maximum number of snapshots to return

pagination_keystring nullable

Pagination key to get the next chunk of data

Response

Successful Response

Changes

No recorded changes to this operation across all 2 revisions of this API.