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 free

List markets with keyset (cursor) pagination.

Parameters

nameintypedescription
limitqueryintoptionalPage size (max 500 on gamma lists)
default: 20
example: 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"