GET /events/{id}

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

Get one event by numeric id (includes its markets).

Parameters

nameintypedescription
idpathstrrequiredNumeric event id (gamma event `id` field)
example: 848491

Response

type: object
data key: markets
pagination: none
sample: {
  "$schema": "str",
  "id": "str",
  "ticker": "str",
  "slug": "str",
  "title": "str",
  "description": "str",
  "resolutionSource": "str",
  "startDate": "str",
  "creationDate": "str",
  "endDate": "str",
  "image": "str",
  "icon": "str",
  "active": "bool",
  "closed": "bool",
  "archived": "bool",
  "new": "bool",
  "featured": "bool",
  "restricted": "bool",
  "liquidity": "float",
  "vo

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/events/848491"