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
| name | in | type | description | |
|---|---|---|---|---|
limit | query | int | optional | Page size (max 500 on gamma lists) default: 20example: 2 |
offset | query | int | optional | Page offset for list endpoints default: 0example: 0 |
order | query | str | optional | Sort field — `id` works on all lists; volume24hr/liquidity/startDate only on some default: idexample: id |
tag_slug | query | str | optional | Tag slug filter (gamma lists) example: product-marekt-fit |
closed | query | bool | optional | Filter by resolved state example: False |
active | query | bool | optional | Filter by active state example: True |
condition_ids | query | str | optional | Comma-separated condition-id filter example: 0x6da012c0cc37136532fabebbe6d723498e01d617fcc81b25483152e3526ec994 |
clob_token_ids | query | str | optional | Comma-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"