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 free

Get the historical price series for an outcome token.

Parameters

nameintypedescription
marketquerystrrequiredCLOB outcome token id (clobTokenIds entry of a market)
example: 36088210133441631881314822267289702467350647371635978758429075305586609425677
intervalquerystr
1m | 1h | 6h | 24h | 1w | 1m | max
optionalPrice-history window (1m/1h/6h/24h/1w/1m/max)
default: 1d
example: 1d
fidelityqueryintoptionalPrice-history candle fidelity in minutes
default: 60
example: 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"