GET /events/{id}/actions

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

Trade actions across all outcome markets of an event.

Parameters

nameintypedescription
idpathstrrequiredEvent UUID or event slug.
example: 95fd4b8f-20f6-4eef-9dcd-5f506635ce6b
trading_modelquerystr
amm | ob | all
optionalTrading model to include. Lists are AMM-only unless `ob` or `all` is passed.
default: amm
example: all
sincequeryintoptionalOnly actions at or after this UNIX-second timestamp.
example: 1794900000
untilqueryintoptionalOnly actions at or before this UNIX-second timestamp.
example: 1795000000
only_relevantquerybooloptionalExclude wash-trade actions where `relevant` is false.
default: False
example: True
pagequeryintoptionalOne-based page number.
default: 1
example: 1
limitqueryintoptionalRows per page (server maximum 100).
default: 20
example: 5

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/events/95fd4b8f-20f6-4eef-9dcd-5f506635ce6b/actions?trading_model=all&since=1794900000&until=1795000000&only_relevant=True&page=1&limit=5"