ccxt – ccxt
一款统一的交易 API,支持 JavaScript / TypeScript / Python / C# / PHP / Go / Java,涵盖 100 多家加密货币交易所和预测市场
关键指标一览
主题标签
README 详细介绍
CCXT – CryptoCurrency eXchange Trading Library
          
A crypto trading API with more than 100 exchanges and prediction markets in JavaScript / TypeScript / Python / C# / PHP / Go / Java.
Install · Usage · Manual · FAQ · Examples · Contributing · Disclaimer · Social
The CCXT library is used to connect and trade with cryptocurrency exchanges worldwide. It provides quick access to market data for storage, analysis, visualization, indicator development, algorithmic trading, strategy backtesting, bot programming, and related software engineering.
It is intended to be used by coders, developers, technically-skilled traders, data-scientists and financial analysts for building trading algorithms.
Current feature list:
- supports 100+ cryptocurrency exchanges and prediction markets:
- Polymarket
- Kalshi
- Hyperliquid
- Limitless
- Myriad
- more coming soon!
- implements public and private APIs, both REST and WebSocket
- optionally normalizes data for cross-exchange analytics and arbitrage
- has an out of the box unified API that is extremely easy to integrate
- ideal for AI agents, LLMs and vibe coding
- works in Node 18+, Python 3, PHP 8.1+, netstandard2.0/2.1, Go 1.20+, Java 21+ and web browsers
See Also
-  Freqtrade – leading opensource cryptocurrency algorithmic trading software!
-  OctoBot – cryptocurrency trading bot with an advanced web interface.
-  TokenBot – discover and copy the best algorithmic traders in the world.
Certified Cryptocurrency Exchanges
|logo |id |name |ver |type |certified |pro |discount |
|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------|-----------------------------------------------------------------------------------------|:--------------------------------------------------------------------------------------------------------------------------------:|--------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------|:-------------------------------------------------------------------------------------------------:|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|  | binance | Binance |  |  |  |  |  |
|  | binanceusdm | Binance USDⓈ-M |  |  |  |  |  |
|  | binancecoinm | Binance COIN-M |  |  |  |  |  |
|  | bybit | Bybit |  |  |  |  | |
|  | okx | OKX |  |  |  |  |  |
|  | gate | Gate |  |  |  |  |  |
|  | kucoin | KuCoin |  |  |  |  | |
|  | kucoinfutures | KuCoin Futures |  |  |  |  | |
|  | bitget | Bitget |  |  |  |  | |
|  | hyperliquid | Hyperliquid |  |  |  |  | |
|  | bitmex | BitMEX |  |  |  |  |  |
|  | bingx | BingX |  |  |  |  | |
|  | htx | HTX |  |  |  |  |  |
|  | mexc | MEXC Global |  |  |  |  | |
|  | bitmart | BitMart |  |  |  |  |  |
|  | cryptocom | Crypto.com |  |  |  |  |  |
|  | coinex | CoinEx |  |  |  |  | |
|  | hashkey | HashKey Global |  |  |  |  | |
|  | woo | WOO X |  |  |  |  |  |
|  | woofipro | WOOFI PRO |  |  |  |  |  |
Supported Cryptocurrency Exchanges
The CCXT library currently supports the following 104 cryptocurrency exchange markets and trading APIs:
|logo |id |name |ver |type |certified |pro |
|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-----------------------|---------------------------------------------------------------------------------------------|:------------------------------------------------------------------------------------------------------------------------------------------------:|--------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------|
|  | alpaca | Alpaca |  |  | |  |
|  | apex | Apex |  |  | |  |
|  | aster | Aster |  |  | |  |
|  | backpack | Backpack |  |  | |  |
|  | bequant | Bequant |  |  | |  |
|  | bigone | BigONE |  |  | | |
|  | binance | Binance |  |  |  |  |
|  | binancecoinm | Binance COIN-M |  |  |  |  |
|  | binanceus | Binance US |  |  | |  |
|  | binanceusdm | Binance USDⓈ-M |  |  |  |  |
|  | bingx | BingX |  |  |  |  |
|  | bit2c | Bit2C |  |  | | |
|  | bitbank | bitbank |  |  | | |
|  | bitbns | Bitbns |  |  | | |
|  | bitfinex | Bitfinex |  |  | |  |
|  | bitflyer | bitFlyer |  |  | | |
|  | bitget | Bitget |  |  |  |  |
|  | bithumb | Bithumb |  |  | |  |
|  | bitmart | BitMart |  |  |  |  |
|  | bitmex | BitMEX |  |  |  |  |
|  | bitopro | BitoPro |  |  | |  |
|  | bitrue | Bitrue |  |  | |  |
|  | bitso | Bitso |  |  | | |
|  | bitstamp | Bitstamp |  |  | |  |
|  | bitteam | BIT.TEAM |  |  | | |
|  | bittrade | BitTrade |  |  | |  |
|  | bitvavo | Bitvavo |  |  | |  |
|  | blockchaincom | Blockchain.com |  |  | |  |
|  | blofin | BloFin |  |  | |  |
|  | btcbox | BtcBox | [![API Version 1](https://img.shields.io/badge/1-lightgra