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 freeRecent order-book trades for one market, newest first.
Parameters
| name | in | type | description | |
|---|---|---|---|---|
id | path | str | required | Market slug, or a numeric on-chain market id when `network_id` is supplied. example: will-microstrategy-hold-over-1m-btc-before-2027 |
outcome | query | int0 | 1 | optional | Outcome index to read (0 or 1 for binary markets). default: 0example: 0 |
limit | query | int | optional | Trades per page (server maximum 200). default: 50example: 5 |
page | query | int | optional | One-based page number. default: 1example: 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"