Skip to main content
The REST API for the CLOB is scheduled for Q4 2026. WebSocket access is live today — see the WebSocket API.

Get order book (public)

GET /v1/prediction/orderbook/{marketId}
ParameterTypeDescription
marketIdstringMarket address
outcomestringYES or NO
depthintegerNumber of levels (default: 10)
Response
{
  "marketId": "0x...",
  "outcome": "YES",
  "bids": [["0.65", "1000"], ["0.64", "2000"]],
  "asks": [["0.67", "500"], ["0.68", "1500"]]
}

Place order

POST /v1/prediction/order
Body
{
  "marketId": "0x...",
  "outcome": "YES",
  "side": "buy",
  "orderType": "limit",
  "price": "0.65",
  "size": "1000"
}

Cancel order

DELETE /v1/prediction/order/{orderId}

Get positions

GET /v1/prediction/positions

Get trade history

GET /v1/prediction/trades
ParameterTypeDescription
marketIdstringFilter by market
outcomestringFilter by outcome
limitintegerNumber of trades (default: 50)