GET /markets/{id}
Auth X-Hub-Key from API_HUB_KEYExecute
GET /run/polymarket/markets/{id}Cache cached 1s, never served stale past that windowCost free · weight 0 · standard rate classSource billing freeGet one market by numeric id.
Parameters
| name | in | type | description | |
|---|---|---|---|---|
id | path | str | required | Numeric market id (gamma `id` field) example: 3582055 |
Response
type: object
data key: clobRewards
pagination: none
sample: {
"$schema": "str",
"id": "str",
"question": "str",
"conditionId": "str",
"slug": "str",
"resolutionSource": "str",
"endDate": "str",
"liquidity": "str",
"startDate": "str",
"image": "str",
"icon": "str",
"description": "str",
"outcomes": "str",
"outcomePrices": "str",
"volume": "str",
"active": "bool",
"closed": "bool",
"marketMakerAddress": "str",
"createdAt
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/markets/3582055"