GET /markets/{id}/referrals

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

Referral-generating trades for one market.

Parameters

nameintypedescription
idpathstrrequiredMarket slug, or a numeric on-chain market id when `network_id` is supplied.
example: will-microstrategy-hold-over-1m-btc-before-2027
pagequeryintoptionalOne-based page number.
default: 1
example: 1
limitqueryintoptionalRows per page (server maximum 100).
default: 20
example: 5
network_idquerystroptionalNetwork id (56 BNB Chain, 42220 Celo, 2741 Abstract, 59144 Linea); list routes also accept a comma-separated set.
example: 56
sincequeryintoptionalOnly actions at or after this UNIX-second timestamp.
example: 1794900000
untilqueryintoptionalOnly actions at or before this UNIX-second timestamp.
example: 1795000000
codequerystroptionalOnly this referral code.
example: myriad

Response

type: object
pagination: none
sample: {
  "data": "array[0]",
  "pagination": "object"
}

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/markets/will-microstrategy-hold-over-1m-btc-before-2027/referrals?page=1&limit=5&network_id=56&since=1794900000&until=1795000000&code=myriad"