v1
latestOpenAPI 3.1.02026-07-2657157254.1 KBpredictfun
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
Query parameters
market_idinteger required
The PredictFun market ID
The PredictFun 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