GET /polymarket/prices
Auth X-Hub-Key from API_HUB_KEYExecute
GET /run/arkham/polymarket/pricesCache cached 1s, never served stale past that windowCost per_call · weight 3 · standard rate classSource billing creditspolymarket prices
Pass exactly one of conditionID or tokenAddress; both together (or neither) is rejected locally with HTTP 400.
Parameters
| name | in | type | description | |
|---|---|---|---|---|
conditionID | query | str | optional | Polymarket condition id; pass exactly one of conditionID or tokenAddress example: 0x1061afb6b7e064e3a9a8606800b626f7e8111765ed9db58f5622acc6a83240eb |
tokenAddress | query | str | optional | Outcome token address; alternative to conditionID, never both |
range | query | str | optional | Time range example: all |
interval | query | str | optional | Bucket interval example: 1h |
limit | query | int | optional | Maximum price points default: 100example: 100 |
startTime | query | int | optional | Start time, Unix seconds |
endTime | query | int | optional | End time, Unix seconds |
Response
type: object
data key: prices
pagination: none
sample: {
"tokenAddress": "str",
"interval": "str",
"endTime": "str",
"prices": "array[0]"
}
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/arkham/polymarket/prices?conditionID=0x1061afb6b7e064e3a9a8606800b626f7e8111765ed9db58f5622acc6a83240eb&range=all&interval=1h&limit=100"