get_batch_prices
Retrieve current prices for multiple Polymarket prediction market tokens in a single API call using token IDs from market data.
Instructions
Batch prices via POST CLOB /prices. 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_prices"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| token_ids | Yes | Array of token IDs to get prices for |