Batch Prices
Fetch cached prices for multiple markets or tokens in one request.
Uses a Redis pipeline for efficient batch lookups. Limited to 50 markets per request (adjustable per API tier). Also accepts token-based shapes as a convenience alias for POST /v1/prices.
Authorizations
Issue from /v1/keys (or admin-issued for enterprise tier).
Headers
Your PolySimulator API key
Polymarket-CLOB-compat alias for X-API-Key (underscore form). SDK clients ported from Polymarket can authenticate without changing header names. X-API-Key takes precedence when both are provided.
PM-CLOB-compat dashed-form alias for X-API-Key. Same value semantics as POLY_API_KEY but with HTTP-conventional dash separators. Both spellings are accepted end-to-end.
PM-CLOB-compat: Authorization: Bearer ps_live_... (or ps_test_...) is accepted as an alias for X-API-Key so py-clob-client and other ported SDKs authenticate without header name changes. Bearer JWTs are NOT accepted here — use the dashboard-auth endpoints for those.
Body
- BatchPriceRequest · object
- BatchTokenPriceRequest · object
- PmBatchPriceItem · object[]
Accepts PolySim market batch {"market_ids": [...]} (returns list of market batch items), or token-based shapes: PolySim {"token_ids": [...]} (returns {token_id: price}) or Polymarket [{"token_id": "...", "side": "BUY|SELL"}, ...] (returns {token_id: {side: price}}).
1 - 50 elements