v1

latestOpenAPI 3.0.02026-07-265081124.2 KB
Trading

Get Orderbook

Retrieve the current orderbook for a market showing all open buy and sell orders

get/markets/{slug}/orderbook

Path parameters

slugstring required
Example:presidential-election-2024

Market slug identifier

Response

Current orderbook with bids and asks

adjustedMidpointnumber
lastTradePricenumber
maxSpreadnumber
minSizenumber
tokenIdstring

Example response

{
  "adjustedMidpoint": 0.75,
  "asks": [
    {
      "price": 0.76,
      "size": 100
    }
  ],
  "bids": [
    {
      "price": 0.74,
      "size": 150
    }
  ],
  "lastTradePrice": 0.75,
  "maxSpread": 0.05,
  "minSize": 1,
  "tokenId": "19633204485790857949828516737993423758628930235371629943999544859324645414627"
}