Aggregatorslibraryfree
CCXT prediction market support: what it does, what it costs, where it stops
Last checked 2026-09-08
CCXT is the unified trading library for 100+ cryptocurrency exchanges, and its README now describes itself as covering exchanges and prediction markets. The prediction market table lists seven: Binance (prediction), Hyperliquid, Kalshi, Limitless, Myriad, Opinion and Polymarket. The repo has 43,925 GitHub stars and version 4.5.78 was published to npm and PyPI on September 7, 2026.
It is for developers who already run CCXT, or who want prediction markets in C#, PHP, Go, Java or Rust where the specialist libraries only offer Python and TypeScript.
What it does
CCXT normalizes market data, balances and trading calls across exchanges under one API in JavaScript/TypeScript, Python, C#, PHP, Go, Java and Rust. Prediction market venues plug into the same class structure as crypto exchanges, so an existing fetchOrderBook or createOrder call pattern carries over.
The README also describes an official MCP server that runs locally over stdio so AI agents can read market data and balances, with trading, withdrawals and raw endpoints as separate opt-in tiers gated by confirmation flows, notional caps and an audit journal.
Installation is npm install ccxt or pip install ccxt, and the same version ships to both registries on the same day: 4.5.78 on September 7, 2026. The prediction market table sits in its own README section, separate from the crypto exchange list, and is generated from exchange metadata.
- Seven prediction market venues: Binance, Hyperliquid, Kalshi, Limitless, Myriad, Opinion, Polymarket.
- Kalshi's entry links trading-api.readme.io; Polymarket's links docs.polymarket.com with API version 1.
- MIT license; npm and PyPI at 4.5.78 as of September 7, 2026.
Pricing
Free under MIT for the library. The README's paid offerings were not checked here and are not needed for the prediction market classes.
Venues and data
Polymarket and Kalshi are the two that matter for most readers; Limitless, Opinion and Myriad are on-chain venues, and Binance and Hyperliquid expose prediction products alongside their crypto books. PMXT covers 15 venues against CCXT's 7, but CCXT reaches five more languages.
Where it falls short
The README describes unified data, balances and trading per exchange. Cross-venue matching of the same event, which PMXT's Router provides, is not among the listed features. Per-venue capability flags (which of fetchOHLCV, fetchPositions and so on each prediction venue implements) live in the source and could not be confirmed from the README during this check.
CCXT's abstractions were designed for crypto pairs. Binary outcome tokens, negative-risk events and Kalshi's yes/no book map onto that model imperfectly, so expect venue-specific params.
Who should use it
Teams with a CCXT-based stack who want to add Polymarket or Kalshi without a second library, and anyone building in a language PMXT and dr-manhattan do not support.
Prediction-market-first builders will get more from PMXT, whose schema was designed around events, markets and outcomes.
Questions about CCXT
Does CCXT support Polymarket?
Yes. The CCXT README lists Polymarket among 7 supported prediction market exchanges, with the exchange id polymarket.
Does CCXT support Kalshi?
Yes. Kalshi appears in the same table with id kalshi, linking to Kalshi's trading API docs.
Is CCXT free?
Yes. The library is MIT licensed and installs with pip install ccxt or npm install ccxt.
Which languages does CCXT support?
JavaScript/TypeScript, Python, C#, PHP, Go, Java and Rust, per the README.
Official APIs for building. One book for trading.
Rather trade the spread than build the plumbing? The free Kairos terminal gives you Kalshi, Polymarket and Predict.fun in one order book.