Exchange
interface, in Rust, Python, or TypeScript.
Quickstart
Install the SDK and fetch your first market.
API Methods
Markets, orders, balances, and history.
WebSockets
Real-time orderbooks, trades, and fills.
SDKs
Rust, Python, and TypeScript bindings.
Why OpenPX
- One interface, many venues. The same calls return the same shapes across every supported exchange.
- Speed first. Written in Rust with
simd-jsondecoding, tuned HTTP defaults, and zero-allocation hot paths. - Bring your own credentials. OpenPX never custodies keys — you supply them at construction.
Supported exchanges
| Exchange | REST | WebSocket | Notes |
|---|---|---|---|
| Kalshi | Yes | Authenticated only | CFTC-regulated US event contracts |
| Polymarket | Yes | Yes | On-chain CLOB on Polygon |