GET /markets/{id}/trades

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

Recent order-book trades for one market, newest first.

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
outcomequeryint
0 | 1
optionalOutcome index to read (0 or 1 for binary markets).
default: 0
example: 0
limitqueryintoptionalTrades per page (server maximum 200).
default: 50
example: 5
pagequeryintoptionalOne-based page number.
default: 1
example: 1

Response

type: array
pagination: none
sample: {
  "[0]": "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/trades?outcome=0&limit=5&page=1"