POST /batch-prices-history
Auth X-Hub-Key from API_HUB_KEYExecute
POST /run/polymarket/batch-prices-historyCache executed live on every call — a read-only POST answer is never cachedCost free · weight 0 · standard rate classSource billing freeGet price history for several outcome tokens (batch read POST).
Parameters
| name | in | type | description | |
|---|---|---|---|---|
markets | body | list[str] | required | JSON array of outcome token ids example: ["36088210133441631881314822267289702467350647371635978758429075305586609425677"] |
interval | body | str | optional | default: 1dexample: 1d |
fidelity | body | int | optional | default: 60example: 60 |
Response
type: object
pagination: none
sample: {
"history": "object"
}
Safe request
Reads the credential from API_HUB_KEY; it never appears in the URL.
curl -sX POST "https://openapihub.dev/run/polymarket/batch-prices-history" \
-H "X-Hub-Key: $API_HUB_KEY" -H "Content-Type: application/json" \
-d '{"markets": ["36088210133441631881314822267289702467350647371635978758429075305586609425677"], "interval": "1d", "fidelity": 60}'