Predict.fun
Get Predict.fun Orderbook
Retrieve orderbook data for a Predict.fun market. Each row shows the full orderbook state at a point in time.
What you get
- Best yes/no prices and sizes
- Full yes_side and no_side arrays (price levels)
- Venue market ID
- Server timestamp
Use cases
- Analyze liquidity
- Build depth charts
- Calculate spreads
- Track orderbook changes over time
Example
- Request:
GET /api/v1/pfun/6933/orderbook?limit=10 - Header:
X-API-Key: YOUR_API_KEY
GET
Documentation Index
Fetch the complete documentation index at: https://docs.delphimarkets.com/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
Your API key (get one from the test-key endpoint above)
Path Parameters
Predict.fun market identifier
Query Parameters
Maximum number of snapshots to return (default: 10 in docs, no max limit)
Response
Orderbook data
Exchange identifier
Market identifier
Venue-specific market identifier
Best YES price
Size at best YES price
Best NO price
Size at best NO price
YES side price levels
NO side price levels
Server timestamp

