GET /markets/keyset
Auth X-Hub-Key from API_HUB_KEYExecute
GET /run/polymarket/markets/keysetCache cached 1s, never served stale past that windowCost free · weight 0 · standard rate classSource billing freeList markets with keyset (cursor) pagination.
Parameters
| name | in | type | description | |
|---|---|---|---|---|
limit | query | int | optional | Page size (max 500 on gamma lists) default: 20example: 2 |
Response
type: object
data key: markets
cursor key: next_cursor
pagination: cursor
sample: {
"$schema": "str",
"markets": "array[2]",
"next_cursor": "str"
}
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/keyset?limit=2"