GET /markets

Auth X-Hub-Key from API_HUB_KEYExecute GET /run/polymarket/marketsCache cached 1s, never served stale past that windowCost free · weight 0 · standard rate classSource billing free

[POLL] Also streamable as SSE (poll bridge) via GET /stream/polymarket/markets?poll_interval_s=15 — see Streaming.

List and filter prediction markets.

Parameters

nameintypedescription
limitqueryintoptionalPage size (max 500 on gamma lists)
default: 20
example: 2
offsetqueryintoptionalPage offset for list endpoints
default: 0
example: 0
orderquerystroptionalSort field — `id` works on all lists; volume24hr/liquidity/startDate only on some
default: id
example: id
tag_slugquerystroptionalTag slug filter (gamma lists)
example: product-marekt-fit
closedquerybooloptionalFilter by resolved state
example: False
activequerybooloptionalFilter by active state
example: True
condition_idsquerystroptionalComma-separated condition-id filter
example: 0x6da012c0cc37136532fabebbe6d723498e01d617fcc81b25483152e3526ec994
clob_token_idsquerystroptionalComma-separated CLOB token-id filter
example: 36088210133441631881314822267289702467350647371635978758429075305586609425677

Response

type: array
pagination: none
sample: {
  "[0]": "object"
}

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?limit=2&offset=0&order=id&tag_slug=product-marekt-fit&closed=False&active=True&condition_ids=0x6da012c0cc37136532fabebbe6d723498e01d617fcc81b25483152e3526ec994&clob_token_ids=36088210133441631881314822267289702467350647371635978758429075305586609425677"