Skip to main content
Prediction Market data is currently in beta. It is actively being worked on and improved, but may be unreliable. Polymarket and Kalshi data are live.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]!
See 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 are null when the outcome is unknown or the venue is unsupported
  • bids and asks are ordered so the last element is the best (highest) bid or best (lowest) ask; both arrays are empty when no book is available
  • timestamp is the venue-reported snapshot time in unix seconds, and is 0 when no book is available
  • Order books are fetched from the venue’s CLOB and cached for up to 10 seconds