polymarket_get_order_book
Get the live order book for an outcome token, including best bid/ask, midpoint, spread, and up to 50 price levels per side.
Instructions
Live order book for one outcome token: best bid/ask, midpoint, spread, top levels.
token_id is a CLOB token id. depth caps the number of price levels per side
(default 10, max 50). Level prices/sizes are parsed to floats.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"token_id": "<token_id>"
},
"name": "polymarket_get_order_book"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| token_id | Yes | ||
| depth | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| token_id | Yes | ||
| market_condition_id | No | ||
| best_bid | No | ||
| best_ask | No | ||
| midpoint | No | ||
| spread | No | ||
| bids | No | ||
| asks | No |