GET /markets/{id}/events
Auth X-Hub-Key from API_HUB_KEYExecute
GET /run/myriad/markets/{id}/eventsCache cached 1s, never served stale past that windowCost free · weight 0 · standard rate classSource billing freeTrade, liquidity and claim actions 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 |
page | query | int | optional | One-based page number. default: 1example: 1 |
limit | query | int | optional | Rows per page (server maximum 100). default: 20example: 5 |
trading_model | query | stramm | ob | all | optional | Trading model to include. Lists are AMM-only unless `ob` or `all` is passed. default: ammexample: all |
network_id | query | str | optional | Network id (56 BNB Chain, 42220 Celo, 2741 Abstract, 59144 Linea); list routes also accept a comma-separated set. example: 56 |
since | query | int | optional | Only actions at or after this UNIX-second timestamp. example: 1794900000 |
until | query | int | optional | Only actions at or before this UNIX-second timestamp. example: 1795000000 |
only_relevant | query | bool | optional | Exclude wash-trade actions where `relevant` is false. default: Falseexample: True |
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/events?page=1&limit=5&trading_model=all&network_id=56&since=1794900000&until=1795000000&only_relevant=True"