Skip to main content

Documentation Index

Fetch the complete documentation index at: https://0x-250ca30e.mintlify.app/llms.txt

Use this file to discover all available pages before exploring further.

Kuroko’s order book proxy gives you CORS-safe access to Polymarket’s Central Limit Order Book (CLOB). Use it to fetch live bid/ask depth and historical price data for any market token — the same data powering the order terminal.

Endpoints

GET /api/clob/order-book

Returns the live order book for a market token, including the top bids and asks.
token_id
string
required
The Polymarket token ID for the YES or NO outcome of a market. Find token IDs on the markets endpoint.
curl "/api/clob/order-book?token_id=21742633143463906290569050155826241533067272736897614950488156847949938836455"
Response
{
  "bids": [
    { "price": "0.43", "size": "1200.00" },
    { "price": "0.42", "size": "850.50" }
  ],
  "asks": [
    { "price": "0.44", "size": "975.00" },
    { "price": "0.45", "size": "2100.00" }
  ]
}
bids
array
Descending list of buy orders. Each entry has price (probability as decimal, e.g. "0.43" = 43%) and size (shares available).
asks
array
Ascending list of sell orders. Each entry has price and size.

GET /api/clob/prices-history

Returns the historical price series for a market token.
market
string
required
The Polymarket token ID.
interval
string
Time interval for the history. One of 1d, 1w, 1m, 3m. Defaults to 1d.
curl "/api/clob/prices-history?market=21742633143463906290569050155826241533067272736897614950488156847949938836455&interval=1w"

Rate limits and errors

StatusMeaning
200Success
429Rate limit exceeded — 60 requests/minute per IP. Retry after 60 seconds.
413Request body too large (POST requests only, max 20,000 characters)
502CLOB upstream unavailable
The order book proxy forwards requests to Polymarket’s CLOB API. The response format matches Polymarket’s native CLOB API.