GET /events/{id}

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

One event by UUID or slug, with its sibling markets.

Parameters

nameintypedescription
idpathstrrequiredEvent UUID or event slug.
example: 95fd4b8f-20f6-4eef-9dcd-5f506635ce6b

Response

type: object
data key: markets
pagination: none
sample: {
  "type": "str",
  "id": "str",
  "networkId": "int",
  "slug": "str",
  "title": "str",
  "description": "str",
  "imageUrl": "str",
  "bannerImageUrl": "str",
  "ogImageUrl": "str",
  "state": "str",
  "resolvedOutcomeIndex": "null",
  "expiresAt": "str",
  "publishedAt": "str",
  "negRisk": "bool",
  "negRiskId": "null",
  "tags": "array[0]",
  "volume": "float",
  "volume24h": "int",
  "volu

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/myriad/events/95fd4b8f-20f6-4eef-9dcd-5f506635ce6b"