predictfun

Get Predictfun Orderbooks

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

Returns orderbook snapshots including bids, asks, and depth metadata. All timestamps are in milliseconds.

get/v2/predictfun/orderbooks

Request

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

Query parameters

market_idinteger required

The PredictFun 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.