GET /prices-history
Auth X-Hub-Key from API_HUB_KEYExecute
GET /run/polymarket/prices-historyCache cached 1s, never served stale past that windowCost free · weight 0 · standard rate classSource billing freeGet the historical price series for an outcome token.
Parameters
| name | in | type | description | |
|---|---|---|---|---|
market | query | str | required | CLOB outcome token id (clobTokenIds entry of a market) example: 36088210133441631881314822267289702467350647371635978758429075305586609425677 |
interval | query | str1m | 1h | 6h | 24h | 1w | 1m | max | optional | Price-history window (1m/1h/6h/24h/1w/1m/max) default: 1dexample: 1d |
fidelity | query | int | optional | Price-history candle fidelity in minutes default: 60example: 60 |
Response
type: object
data key: history
pagination: none
sample: {
"history": "array[25]"
}
Safe request
Reads the credential from API_HUB_KEY; it never appears in the URL.
curl -sH "X-Hub-Key: $API_HUB_KEY" "https://openapihub.dev/run/polymarket/prices-history?market=36088210133441631881314822267289702467350647371635978758429075305586609425677&interval=1d&fidelity=60"