GET /markets/slug/{slug}
Auth X-Hub-Key from API_HUB_KEYExecute
GET /run/polymarket/markets/slug/{slug}Cache cached 1s, never served stale past that windowCost free · weight 0 · standard rate classSource billing freeGet one market by slug.
Parameters
| name | in | type | description | |
|---|---|---|---|---|
slug | path | str | required | Market slug example: will-chen-yu-jen-win-the-next-kinmen-county-magistrate-election-202608131357161501 |
Response
type: object
data key: events
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/slug/will-chen-yu-jen-win-the-next-kinmen-county-magistrate-election-202608131357161501"