Open source. Non-custodial. MIT licensed.
One API for every exchange.
Market data and trading across 100+ cryptocurrency exchanges and prediction markets — in JavaScript, TypeScript, Python, PHP, C#, Go and Java.
Write once. Trade everywhere.
CCXT normalizes every exchange to one interface, so the code you write for one venue works on all of them.
Unified market data
Order books, tickers, OHLCV candles, trades and funding rates normalized to one format across every supported cryptocurrency exchange API.
Unified trading
Create, edit and cancel orders, query balances, positions and trade history with one interface — from spot to derivatives.
Prediction markets
Trade event contracts on Polymarket, Kalshi, Hyperliquid, Limitless and Myriad through the same unified API as crypto exchanges.
Websocket streaming
Real-time order books, trades and balance updates via CCXT Pro's unified websocket interface.
Non-custodial by design
A client-side library: your API keys and funds never leave you. Your code talks directly to each exchange's official API.
Battle-tested in production
Used by trading bots, quant funds, aggregators, tax tools and analytics platforms since 2017, with daily releases and an active community.
Install in seconds.
One package manager command in your language of choice.
$ npm install ccxt
$ pip install ccxt
$ composer require ccxt/ccxt
$ dotnet add package ccxt
$ go get github.com/ccxt/ccxt/go/v4
$ mvn: io.github.ccxt » ccxt
Questions, answered.
The essentials about the library, the license and the model.
What is CCXT?
CCXT (CryptoCurrency eXchange Trading Library) is an open-source library that provides one unified API for market data and trading across more than 100 cryptocurrency exchanges, available in JavaScript, TypeScript, Python, PHP, C#, Go and Java.
Is CCXT free to use?
Yes. CCXT is open source under the MIT license and free for personal and commercial use. Optional paid products such as CCXT Pro websocket streaming are built on top of the free library.
Does CCXT support prediction markets?
Yes. Since version 4.5.66 CCXT supports prediction markets including Polymarket, Kalshi, Hyperliquid, Limitless and Myriad through the same unified API used for crypto exchanges.
Does CCXT hold my funds or API keys?
No. CCXT is a non-custodial client-side library. Your API keys and funds stay with you; the library talks directly from your code to each exchange's official API.
Which languages does CCXT support?
CCXT ships native versions for JavaScript and TypeScript (Node.js and browsers), Python, PHP, C# (.NET), Go and Java, all generated from a single codebase with the same unified API.