Get Orderbook
Trading
Get Orderbook
Retrieve the current orderbook for a market showing all open buy and sell orders
GET
Get Orderbook
Complementary token prices (deriving the NO book)
This endpoint returns a single, YES-side book. ThetokenId in the response is the market’s YES position ID, and bids/asks are quoted in YES-token terms. The two outcome tokens are complementary — a YES share and a NO share always redeem together for exactly $1 — so their prices satisfy:
Deriving the NO orderbook
To quote or trade the NO token, mirror the returned YES book: flip bids ↔ asks and replace every pricep with 1 - p (sizes are unchanged).
| NO book | Derived from | Best level |
|---|---|---|
| NO bids (orders to buy NO) | YES asks | best NO bid = 1 - bestYesAsk |
| NO asks (orders to sell NO) | YES bids | best NO ask = 1 - bestYesBid |
noMidpoint = 1 - yesMidpoint, and the spread is identical.
tokenId (noPositionId from Get Market) at the derived price — the price inversion only affects how you read the book, not how the order is signed.