Get order books
get_order_booksRetrieve order books for Polymarket outcome tokens to inspect bids, asks, prices, sizes, tick size, and minimum order size at a chosen depth.
Instructions
Order books for outcome tokens, best prices first on each side, with tick size and minimum order size. Prices are probabilities (0-1) in pUSD; sizes are shares.
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_ids": "<token_ids>"
},
"name": "get_order_books"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| depth | No | Levels per side. | |
| token_ids | Yes | Token ids. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| books | Yes |