Skip to main content
POST
Get Prices Batch

Body

application/json

Accepts BOTH shapes: (1) PolySim {"token_ids": ["..."]} → returns {token_id: price_str}; (2) Polymarket [{"token_id": "...", "side": "BUY|SELL"}, ...] → returns {token_id: {SIDE: price_str}} (mirrors py-clob-client.get_prices()). Both shapes cap at 500 items per request.

token_ids
string[]
required
Required array length: 1 - 500 elements

Response

Successful Response

{key}
string