Skip to main content
POST
/
v1
/
prices
Get Prices Batch
curl --request POST \
  --url https://api.polysimulator.com/v1/prices \
  --header 'Content-Type: application/json' \
  --data '
{
  "token_ids": [
    "<string>"
  ]
}
'
{}

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