GET /events/{id}/orderbook

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

Combined order book across every outcome market of a NegRisk event.

Parameters

nameintypedescription
idpathstrrequiredEvent UUID or event slug.
example: 95fd4b8f-20f6-4eef-9dcd-5f506635ce6b

Response

type: object
data key: outcomes
pagination: none
sample: {
  "outcomes": "array[10]"
}

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/orderbook"