get_batch_order_books
Retrieve multiple order books simultaneously for Polymarket prediction markets to analyze real-time pricing and liquidity across multiple markets.
Instructions
Batch order books via POST CLOB /books. Source: clobTokenIds from list_active_markets or get_market_details. If none found, returns []. Example: token_ids=[clobTokenIds[0], clobTokenIds[1]].
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_batch_order_books"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| token_ids | Yes | Array of token IDs to get order books for |