GET /web/v2/contests/{slug}

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

Full detail for one Myriad contest by slug.

Parameters

nameintypedescription
slugpathstrrequiredContest slug from `/web/v2/contests`.
example: world-cup

Response

type: object
data key: rewards
pagination: none
sample: {
  "id": "int",
  "slug": "str",
  "title": "str",
  "description": "str",
  "frequency": "null",
  "imageUrl": "str",
  "avatarUrl": "str",
  "expiresAt": "str",
  "position": "int",
  "rankBy": "str",
  "rewards": "array[114]",
  "rules": "str",
  "published": "bool",
  "tag": "str",
  "filterTagTypes": "array[4]",
  "sponsors": "array[5]",
  "createdAt": "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/myriad/web/v2/contests/world-cup"