Skip to main content

Realtime Order Book

Route: GET /api/v1/orderbook Returns the latest available order-book snapshot for a symbol. The current implementation reads Redis keys per venue and can return one or more venue snapshots.

Query Parameters

  • symbol required
  • source optional, for example kalshi or polymarket

Example

GET /api/v1/orderbook?symbol=KXBTCD-26JUN1420&source=kalshi

Response Notes

  • The response returns orderbooks as an array.
  • Without source, the handler checks both supported venues.
  • This route is a current-state snapshot, not a historical replay surface.