GET /events
Auth X-Hub-Key from API_HUB_KEYExecute
GET /run/myriad/eventsCache cached 1s, never served stale past that windowCost free · weight 0 · standard rate classSource billing freePublished events with nested sibling markets and aggregated metrics.
Parameters
| name | in | type | description | |
|---|---|---|---|---|
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 |
state | query | stropen | closed | resolved | optional | Market lifecycle state. example: open |
page | query | int | optional | One-based page number. default: 1example: 1 |
limit | query | int | optional | Rows per page (server maximum 100). default: 20example: 5 |
Response
type: object
pagination: none
sample: {
"data": "array[31]"
}
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/events?network_id=56&state=open&page=1&limit=5"