Predict.fun
Get Predict.fun Top of Book
Retrieve top-of-book best bid/ask data for a Predict.fun market, including the top 5 price levels on each side.
What you get
- Best bid and ask prices
- Top 5 bid and ask price levels with sizes
- Venue market ID
- Timestamps
Use cases
- Monitor real-time best quotes
- Track top-of-book depth
- Build spread analytics
Example
- Request:
GET /api/v1/pfun/9060/top_of_book?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 ID
Query Parameters
Maximum number of rows to return (default: 10 in docs, max: 10000). Use a higher limit in your code.
Response
Top of book data
Exchange identifier
Market identifier
Venue-specific market identifier
Best bid price in cents
Best ask price in cents
Top 5 bid price levels
Top 5 ask price levels
Last update timestamp

