At least for the time being, this endpoint requires a Growth or Enterprise plan. Learn more.
This endpoint requires a Growth or Enterprise plan. Learn more.
Returns
[PredictionOutcomeOrderBook]!
Arguments
[String!]!
required
The composite outcome IDs to fetch order books for. One entry returned per requested ID, in input order; null when the outcome is unknown or the venue is unsupported.
Example
Test this query in the Explorer →Usage Guidelines
- One entry is returned per requested
outcomeId, in input order; entries arenullwhen the outcome is unknown or the venue is unsupported bidsandasksare ordered so the last element is the best (highest) bid or best (lowest) ask; both arrays are empty when no book is availabletimestampis the venue-reported snapshot time in unix seconds, and is0when no book is available- Order books are fetched from the venue’s CLOB and cached for up to 10 seconds