Polymarket Books API
Get the order books of up to 150 Polymarket outcome tokens in one request.
20–1,880 credits, metered · single call · failed calls free
curl "https://api.insightsocial.app/v1/polymarket/books?token_ids=<token_ids>" \-H "x-api-key: $INSIGHTSOCIAL_API_KEY"
Parameters
Query parameters for GET /v1/polymarket/books. Send your key in the x-api-key header.
| Name | Required | Description |
|---|---|---|
| token_ids | Yes | Outcome token ids, 1–150. Separate ids with commas. Token ids are the tokenId of a market outcome. |
| depth | No | Price levels returned per side, 1–200. Default: 20. Levels run from the best price outward. |
Response
This endpoint is beta: data holds the platform's own fields under our naming rules (snake_case keys, string ids, ISO times where the platform gives a timestamp) rather than a unified post or profile, and those fields may change.
Every field, error and example is in the Polymarket Books API reference.
How much does the Polymarket Books API cost?
Metered: 20–1,880 credits a call. The ceiling is reserved when the call starts and you are charged what it actually read.
Failed calls are free
A call that errors or finds nothing costs 0 credits.
Know the price first
Add dry_run=1 and the response quotes the call without making it. Nothing is charged.
One balance
API calls and Chrome extension exports share the same credits, on the free plan too.
Polymarket Books API: frequently asked questions
Send GET /v1/polymarket/books with the token_ids parameter and your key in the x-api-key header. Get the order books of up to 150 Polymarket outcome tokens in one request.
Metered: 20–1,880 credits a call. The ceiling is reserved when the call starts and you are charged what it actually read. A call that errors or finds nothing costs 0 credits. A repeat call is charged again: the full price when it fetches new data, 2 credits when the answer comes from the shared cache. Add fresh=1 to force a new read. Only a retry with the same Idempotency-Key is free. Pro's 10,000 monthly credits cover about 500 calls at 20 credits each (about $0.02 a call). Add dry_run=1 to see the price of a call without making it.
No. There is no Polymarket app, OAuth flow or app review. One InsightSocial API key works for this endpoint and every other platform. Your first 10 calls are free on endpoints priced at 100 credits or less; this one can cost more, so it is not covered.
One call returns the data in the data object of the standard response envelope. Fields the platform did not provide are listed in unavailable, so a null there means unknown, not zero.
You get an error or an empty result, and it costs 0 credits. The API reads public Polymarket data only, so private accounts and deleted content come back as not found rather than as partial data.
Yes. Add the hosted MCP server at https://api.insightsocial.app/mcp to your AI app and sign in. The assistant finds this endpoint by name, shows its price and calls it with your credits.
More Polymarket endpoints
- Polymarket Biggest Wins API20 credits
- Polymarket Event API20 credits
- Polymarket Event Annotations API20 credits
- Polymarket Event Comments API20 credits
- Polymarket Event Insights API20 credits
- Polymarket Events API20 credits
- Polymarket Leaderboard API20 credits
- Polymarket Market API20 credits
- Polymarket Market Holders API20 credits
- Polymarket Market Resolution API20 credits
- Polymarket Market Stats API20 credits
- Polymarket Market Trades API20 credits