Get Polymarket order book
get_orderbookFetch live bids and asks for a Polymarket outcome token to inspect best bid, best ask, midpoint, and spread at a chosen depth.
Instructions
Live bids/asks for one outcome token, with computed best bid, best ask, midpoint, and spread. Bids are returned highest-first and asks lowest-first (the top of book), truncated to depth levels.
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": {
"tokenId": "<tokenId>"
},
"name": "get_orderbook"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| depth | No | How many price levels per side to return (default 10) | |
| tokenId | Yes | CLOB token ID (the long numeric string from a market's outcome; get it via search_markets or get_market) |