What is Polymarket CLOB API?
The CLOB API is Polymarket’s market-microstructure and trading surface. Public reads expose outcome-token books and prices; private requests manage orders using API credentials and wallet authorization. Use Gamma first when you need to discover a market and identify its YES/NO token IDs.
Who it is for
- Developers building trading interfaces or execution services
- Researchers measuring spread and available book depth
- Applications that need direct control over signing and transport
Features and coverage
- Available on
- REST API
- Markets & venues
- Polymarket
- Outcome-token books
Read bids, asks, tick size, minimum order size, state hash and market identifiers.
- Side-specific prices
BUY returns the best ask and SELL the best bid.
- Reference prices
Read midpoint, spread and the last traded price separately.
- Batch reads
Supported book and price requests accept up to 500 items.
- Order management
Submit and manage signed orders through the authenticated surface.
- Two-layer authentication
Wallet-signed L1 establishes credentials; L2 signs private requests, with a separate wallet signature authorizing an order.
- Identifier checks on a public book
A public book read using a Gamma outcome token returned market, asset_id, timestamp, bids and asks. In this sample, market matched Gamma conditionId and asset_id matched the requested token.
Workflows with Polymarket CLOB API
Build an executable-price widget
Resolve token IDs through Gamma, fetch the book and show best bid, best ask and depth. Label the midpoint separately from an executable quote.
Build an order service
Create or derive credentials, implement exact request signing and track submitted order state. Add cancellation and reconciliation before automated order generation.
Validate the market-to-book handoff
Compare the returned asset_id with the requested outcome token and market with the stored conditionId before using bids or asks. Keep the snapshot timestamp; a successful read does not mean an order would fill at that price.
Pricing and total cost
Public market reads require no credentials. No separate API subscription is listed in the integration guide; venue fees apply to eligible trades.
Getting started
- Discover a market and its outcome token IDs.
- Make a public book or price request.
- Respect the market’s tick size and minimum order size.
- For private operations, configure wallet signing and L2 API credentials.
- Keep exact serialized request bodies consistent with their signatures.
Useful links
What to check
- The documented book arrays put the best bid and ask at the last entries; do not assume the first level is best.
- A midpoint is not necessarily a price you can trade at.
- A token that has never traded can return a null last-trade result.
- A market ID, condition ID and outcome token ID are different identifiers.
- Only an unauthenticated book snapshot was checked. Order signing, submission, cancellation, fills and sustained latency were not exercised.
A closer look
Ratings & reviews
User reviews 0
The main score switches to user ratings after 5 published reviews.
A specific example helps the next person choose the right tool.
Related tools
Browse categoryFrequently asked questions about Polymarket CLOB API
Do I need a wallet for price reads?
No. Public market reads do not require credentials.
Which API finds the market’s token IDs?
Use Gamma discovery and market metadata.
Is the midpoint the buy price?
No. Buying uses the ask side; the midpoint averages best bid and ask.
Why are both API and wallet signatures involved?
L2 authenticates the request; the wallet signature authorizes the order.
Should book.market equal the numeric Gamma market id?
No. In the checked CTF sample, book.market matched the hexadecimal conditionId. The numeric Gamma id identifies the metadata record; book.asset_id identifies the selected outcome token.


