Construct an Exchange
Pass an exchange ID and a config object. Both fields match the structure
documented on each exchange’s setup page.
Fetch markets
fetch_markets returns one page plus an opaque cursor. Pass the cursor back
in to fetch the next page.
The TypeScript binding’s
fetchMarkets() auto-paginates and returns every
market in one call. Rust and Python expose the cursor directly.Next steps
Set up an exchange
Configure Kalshi or Polymarket credentials.
Unified schema
See how exchange fields map to OpenPX models.
API methods
Full reference for every method on the
Exchange interface.WebSockets
Stream live orderbooks, trades, and fills.