ccxt

多语言加密货币交易所统一交易API库

📊 项目概览 tool

42023
⭐ Stars
8633
🔱 Forks
7
🎯 推荐指数
04/23
📅 采集日期
多语言加密货币交易所统一交易API库
🟢 已部署运行

🏗️ 技术架构

架构图

🧠 思维导图

mindmap root((ccxt)) 核心功能 多语言加密货币交易所统一交易API库 技术栈 未分类 应用场景 未分类 架构特点 未分类 生态 开源社区 插件扩展 持续更新

📱 小红书卡片

小红书卡片

💡 应用场景

🚀 快速启动

git clone https://github.com/ccxt/ccxt.git cd ccxt npm install ccxt docker-compose run --rm ccxt
📂 GitHub 仓库 →

📖 项目文档

CCXT – CryptoCurrency eXchange Trading Library

![NPM Downloads](https://www.npmjs.com/package/ccxt) ![npm](https://npmjs.com/package/ccxt) ![PyPI](https://pypi.python.org/pypi/ccxt) ![NuGet version](https://www.nuget.org/packages/ccxt) ![GoDoc](https://godoc.org/github.com/ccxt/ccxt/go/v4) ![Discord](https://discord.gg/ccxt) ![Supported Exchanges](https://github.com/ccxt/ccxt/wiki/Exchange-Markets) ![Follow CCXT at x.com](https://x.com/ccxt_official)

A cryptocurrency trading API with more than 100 exchanges in JavaScript / TypeScript / Python / C# / PHP / Go.

[Install](#install) · [Usage](#usage) · [Manual](https://github.com/ccxt/ccxt/wiki) · [FAQ](https://github.com/ccxt/ccxt/wiki/FAQ) · [Examples](https://github.com/ccxt/ccxt/tree/master/examples) · [Contributing](https://github.com/ccxt/ccxt/blob/master/CONTRIBUTING.md) · [Disclaimer](#disclaimer) · [Social](#social)

The CCXT library is used to connect and trade with cryptocurrency exchanges and payment processing services 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:

  • support for many cryptocurrency exchanges — more coming soon
  • fully implemented public and private APIs
  • optional normalized data for cross-exchange analytics and arbitrage
  • an out of the box unified API that is extremely easy to integrate
  • works in Node 10.4+, Python 3, PHP 8.1+, netstandard2.0/2.1, Go 1.20+ and web browsers

See Also

  • <sub>[![Freqtrade](https://user-images.githubusercontent.com/1294454/114340585-8e35fa80-9b60-11eb-860f-4379125e2db6.png)](https://www.freqtrade.io)</sub> **[Freqtrade](https://www.freqtrade.io)** – leading opensource cryptocurrency algorithmic trading software!
  • <sub>[![OctoBot](https://user-images.githubusercontent.com/1294454/132113722-007fc092-7530-4b41-b929-b8ed380b7b2e.png)](https://www.octobot.online)</sub> **[OctoBot](https://www.octobot.online)** – cryptocurrency trading bot with an advanced web interface.
  • <sub>[![TokenBot](https://user-images.githubusercontent.com/1294454/152720975-0522b803-70f0-4f18-a305-3c99b37cd990.png)](https://tokenbot.com/?utm_source=github&utm_medium=ccxt&utm_campaign=algodevs)</sub> **[TokenBot](https://tokenbot.com/?utm_source=github&utm_medium=ccxt&utm_campaign=algodevs)** – discover and copy the best algorithmic traders in the world.

Certified Cryptocurrency Exchanges

|logo |id |name |ver |type |certified |pro |discount |

|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------|-----------------------------------------------------------------------------------------|:--------------------------------------------------------------------------------------------------------------------------------:|--------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------|:----------------------------------------------------------------------------:|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|

| ![binance](https://accounts.binance.com/register?ref=CCXTCOM) | binance | Binance | ![API Version *](https://developers.binance.com/en) | !CEX – Centralized EXchange | ![CCXT Certified](https://github.com/ccxt/ccxt/wiki/Certification) | ![CCXT Pro](https://ccxt.pro) | ![Sign up with Binance using CCXT's referral link for a 10% discount!](https://accounts.binance.com/register?ref=CCXTCOM) |

| ![binanceusdm](https://accounts.binance.com/register?ref=CCXTCOM) | binanceusdm | Binance USDⓈ-M | ![API Version *](https://binance-docs.github.io/apidocs/futures/en/) | !CEX – Centralized EXchange | ![CCXT Certified](https://github.com/ccxt/ccxt/wiki/Certification) | ![CCXT Pro](https://ccxt.pro) | ![Sign up with Binance USDⓈ-M using CCXT's referral link for a 10% discount!](https://accounts.binance.com/register?ref=CCXTCOM) |

| ![binancecoinm](https://accounts.binance.com/register?ref=CCXTCOM) | binancecoinm | Binance COIN-M | ![API Version *](https://binance-docs.github.io/apidocs/delivery/en/) | !CEX – Centralized EXchange | ![CCXT Certified](https://github.com/ccxt/ccxt/wiki/Certification) | ![CCXT Pro](https://ccxt.pro) | ![Sign up with Binance COIN-M using CCXT's referral link for a 10% discount!](https://accounts.binance.com/register?ref=CCXTCOM) |

| ![bybit](https://www.bybit.com/invite?ref=XDK12WP) | bybit | Bybit | ![API Version 5](https://bybit-exchange.github.io/docs/inverse/) | !CEX – Centralized EXchange | ![CCXT Certified](https://github.com/ccxt/ccxt/wiki/Certification) | ![CCXT Pro](https://ccxt.pro) | |

| ![okx](https://www.okx.com/join/CCXTCOM) | okx | OKX | ![API Version 5](https://www.okx.com/docs-v5/en/) | !CEX – Centralized EXchange | ![CCXT Certified](https://github.com/ccxt/ccxt/wiki/Certification) | ![CCXT Pro](https://ccxt.pro) | ![Sign up with OKX using CCXT's referral link for a 20% discount!](https://www.okx.com/join/CCXTCOM) |

| ![gate](https://www.gate.com/share/CCXTGATE) | gate | Gate | ![API Version 4](https://www.gate.com/docs/developers/apiv4/en) | !CEX – Centralized EXchange | ![CCXT Certified](https://github.com/ccxt/ccxt/wiki/Certification) | ![CCXT Pro](https://ccxt.pro) | ![Sign up with Gate using CCXT's referral link for a 20% discount!](https://www.gate.com/share/CCXTGATE) |

| ![kucoin](https://www.kucoin.com/ucenter/signup?rcode=E5wkqe) | kucoin | KuCoin | ![API Version 2](https://docs.kucoin.com) | !CEX – Centralized EXchange | ![CCXT Certified](https://github.com/ccxt/ccxt/wiki/Certification) | ![CCXT Pro](https://ccxt.pro) | |

| ![kucoinfutures](https://futures.kucoin.com/?rcode=E5wkqe) | kucoinfutures | KuCoin Futures | ![API Version 2](https://docs.kucoin.com) | !CEX – Centralized EXchange | ![CCXT Certified](https://github.com/ccxt/ccxt/wiki/Certification) | ![CCXT Pro](https://ccxt.pro) | |

| ![bitget](https://www.bitget.com/expressly?languageType=0&channelCode=ccxt&vipCode=tg9j) | bitget | Bitget | ![API Version 2](https://www.bitget.com/api-doc/common/intro) | !CEX – Centralized EXchange | ![CCXT Certified](https://github.com/ccxt/ccxt/wiki/Certification) | ![CCXT Pro](https://ccxt.pro) | |

| ![hyperliquid](https://app.hyperliquid.xyz/) | hyperliquid | Hyperliquid | ![API Version 1](https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api) | !DEX - Distributed EXchange | ![CCXT Certified](https://github.com/ccxt/ccxt/wiki/Certification) | ![CCXT Pro](https://ccxt.pro) | |

| ![bitmex](https://www.bitmex.com/app/register/NZTR1q) | bitmex | BitMEX | ![API Version 1](https://www.bitmex.com/app/apiOverview) | !CEX – Centralized EXchange | ![CCXT Certified](https://github.com/ccxt/ccxt/wiki/Certification) | ![CCXT Pro](https://ccxt.pro) | ![Sign up with BitMEX using CCXT's referral link for a 10% discount!](https://www.bitmex.com/app/register/NZTR1q) |

| ![bingx](https://bingx.com/invite/OHETOM) | bingx | BingX | ![API Version 1](https://bingx-api.github.io/docs/) | !CEX – Centralized EXchange | ![CCXT Certified](https://github.com/ccxt/ccxt/wiki/Certification) | ![CCXT Pro](https://ccxt.pro) | |

| ![htx](https://www.htx.com.vc/invite/en-us/1h?invite_code=6rmm2223) | htx | HTX | ![API Version 1](https://huobiapi.github.io/docs/spot/v1/en/) | !CEX – Centralized EXchange | ![CCXT Certified](https://github.com/ccxt/ccxt/wiki/Certification) | ![CCXT Pro](https://ccxt.pro) | ![Sign up with HTX using CCXT's referral link for a 15% discount!](https://www.htx.com.vc/invite/en-us/1h?invite_code=6rmm2223) |

| ![mexc](https://www.mexc.com/register?inviteCode=mexc-1FQ1GNu1) | mexc | MEXC Global | ![API Version 3](https://mexcdevelop.github.io/apidocs/) | !CEX – Centralized EXchange | ![CCXT Certified](https://github.com/ccxt/ccxt/wiki/Certification) | ![CCXT Pro](https://ccxt.pro) | |

| ![bitmart](http://www.bitmart.com/?r=rQCFLh) | bitmart | BitMart | ![API Version 2](https://developer-pro.bitmart.com/) | !CEX – Centralized EXchange | ![CCXT Certified](https://github.com/ccxt/ccxt/wiki/Certification) | ![CCXT Pro](https://ccxt.pro) | ![Sign up with BitMart using CCXT's referral link for a 30% discount!](http://www.bitmart.com/?r=rQCFLh) |

| ![cryptocom](https://crypto.com/exch/kdacthrnxt) | cryptocom | Crypto.com | ![API Version 2](https://exchange-docs.crypto.com/exchange/v1/rest-ws/index.html) | !CEX – Centralized EXchange | ![CCXT Certified](https://github.com/ccxt/ccxt/wiki/Certification) | ![CCXT Pro](https://ccxt.pro) | ![Sign up with Crypto.com using CCXT's referral link for a 75% discount!](https://crypto.com/exch/kdacthrnxt) |

| ![coinex](https://www.coinex.com/register?refer_code=yw5fz) | coinex | CoinEx | ![API Version 2](https://docs.coinex.com/api/v2) | !CEX – Centralized EXchange | ![CCXT Certified](https://github.com/ccxt/ccxt/wiki/Certification) | ![CCXT Pro](https://ccxt.pro) | |

| ![hashkey](https://global.hashkey.com/en-US/register/invite?invite_code=82FQUN) | hashkey | HashKey Global | ![API Version 1](https://hashkeyglobal-apidoc.readme.io/) | !CEX – Centralized EXchange | ![CCXT Certified](https://github.com/ccxt/ccxt/wiki/Certification) | ![CCXT Pro](https://ccxt.pro) | |

| ![woo](https://woox.io/register?ref=DIJT0CNL) | woo | WOO X | ![API Version 1](https://docs.woox.io/) | !CEX – Centralized EXchange | ![CCXT Certified](https://github.com/ccxt/ccxt/wiki/Certification) | ![CCXT Pro](https://ccxt.pro) | ![Sign up with WOO X using CCXT's referral link for a 35% discount!](https://woox.io/register?ref=DIJT0CNL) |

| ![woofipro](https://dex.woo.org/en/trade?ref=CCXT) | woofipro | WOOFI PRO | ![API Version 1](https://orderly.network/docs/build-on-omnichain/building-on-evm) | !DEX - Distributed EXchange | ![CCXT Certified](https://github.com/ccxt/ccxt/wiki/Certification) | ![CCXT Pro](https://ccxt.pro) | ![Sign up with WOOFI PRO using CCXT's referral link for a 5% discount!](https://dex.woo.org/en/trade?ref=CCXT) |

Supported Cryptocurrency Exchanges

<!--- init list -->The CCXT library currently supports the following 108 cryptocurrency exchange markets and trading APIs:

|logo |id |name |ver |type |certified |pro |

|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-----------------------|---------------------------------------------------------------------------------------------|:------------------------------------------------------------------------------------------------------------------------------------------------:|--------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------|

| ![aftermath](undefined) | aftermath | AftermathFinance | ![API Version 1](undefined) | !DEX - Distributed EXchange | | ![CCXT Pro](https://ccxt.pro) |

| ![alpaca](https://alpaca.markets) | alpaca | Alpaca | ![API Version *](https://alpaca.markets/docs/) | !CEX – Centralized EXchange | | ![CCXT Pro](https://ccxt.pro) |

| ![apex](https://omni.apex.exchange/trade) | apex | Apex | ![API Version 3](https://api-docs.pro.apex.exchange) | !DEX - Distributed EXchange | | ![CCXT Pro](https://ccxt.pro) |

| ![arkham](https://arkm.com/register?ref=ccxt) | arkham | ARKHAM | ![API Version 1](https://arkm.com/limits-api) | !CEX – Centralized EXchange | | ![CCXT Pro](https://ccxt.pro) |

| ![ascendex](https://ascendex.com/en-us/register?inviteCode=EL6BXBQM) | ascendex | AscendEX | ![API Version 2](https://ascendex.github.io/ascendex-pro-api/#ascendex-pro-api-documentation) | !CEX – Centralized EXchange | | ![CCXT Pro](https://ccxt.pro) |

| ![aster](https://www.asterdex.com/en/referral/aA1c2B) | aster | Aster | ![API Version 1](https://github.com/asterdex/api-docs) | !DEX - Distributed EXchange | | ![CCXT Pro](https://ccxt.pro) |

| ![backpack](https://backpack.exchange/join/ccxt) | backpack | Backpack | ![API Version 1](https://docs.backpack.exchange/) | !CEX – Centralized EXchange | | ![CCXT Pro](https://ccxt.pro) |

| ![bequant](https://bequant.io/referral/dd104e3bee7634ec) | bequant | Bequant | ![API Version 3](https://api.bequant.io/) | !CEX – Centralized EXchange | | ![CCXT Pro](https://ccxt.pro) |

| ![bigone](https://b1.run/users/new?code=D3LLBVFT) | bigone | BigONE | ![API Version 3](https://open.big.one/docs/api.html) | !CEX – Centralized EXchange | | |

| ![binance](https://accounts.binance.com/register?ref=CCXTCOM) | binance | Binance | ![API Version *](https://developers.binance.com/en) | !CEX – Centralized EXchange | ![CCXT Certified](https://github.com/ccxt/ccxt/wiki/Certification) | ![CCXT Pro](https://ccxt.pro) |

| ![binancecoinm](https://accounts.binance.com/register?ref=CCXTCOM) | binancecoinm | Binance COIN-M | ![API Version *](https://binance-docs.github.io/apidocs/delivery/en/) | !CEX – Centralized EXchange | ![CCXT Certified](https://github.com/ccxt/ccxt/wiki/Certification) | ![CCXT Pro](https://ccxt.pro) |

| ![binanceus](https://www.binance.us/?ref=35005074) | binanceus | Binance US | ![API Version *](https://github.com/binance-us/binance-official-api-docs) | !CEX – Centralized EXchange | | ![CCXT Pro](https://ccxt.pro) |

| ![binanceusdm](https://accounts.binance.com/register?ref=CCXTCOM) | binanceusdm | Binance USDⓈ-M | ![API Version *](https://binance-docs.github.io/apidocs/futures/en/) | !CEX – Centralized EXchange | ![CCXT Certified](https://github.com/ccxt/ccxt/wiki/Certification) | ![CCXT Pro](https://ccxt.pro) |

| ![bingx](https://bingx.com/invite/OHETOM) | bingx | BingX | ![API Version 1](https://bingx-api.github.io/docs/) | !CEX – Centralized EXchange | ![CCXT Certified](https://github.com/ccxt/ccxt/wiki/Certification) | ![CCXT Pro](https://ccxt.pro) |

| ![bit2c](https://bit2c.co.il/Aff/63bfed10-e359-420c-ab5a-ad368dab0baf) | bit2c | Bit2C | ![API Version *](https://www.bit2c.co.il/home/api) | !CEX – Centralized EXchange | | |

| ![bitbank](https://bitbank.cc/) | bitbank | bitbank | ![API Version 1](https://docs.bitbank.cc/) | !CEX – Centralized EXchange | | |

| ![bitbns](https://ref.bitbns.com/1090961) | bitbns | Bitbns | ![API Version 2](https://bitbns.com/trade/#/api-trading/) | !CEX – Centralized EXchange | | |

| ![bitfinex](https://www.bitfinex.com) | bitfinex | Bitfinex | ![API Version 2](https://docs.bitfinex.com/v2/docs/) | !CEX – Centralized EXchange | | ![CCXT Pro](https://ccxt.pro) |

| ![bitflyer](https://bitflyer.com) | bitflyer | bitFlyer | ![API Version 1](https://lightning.bitflyer.com/docs?lang=en) | !CEX – Centralized EXchange | | |

| ![bitget](https://www.bitget.com/expressly?languageType=0&channelCode=ccxt&vipCode=tg9j) | bitget | Bitget | ![API Version 2](https://www.bitget.com/api-doc/common/intro) | !CEX – Centralized EXchange | ![CCXT Certified](https://github.com/ccxt/ccxt/wiki/Certification) | ![CCXT Pro](https://ccxt.pro) |

| ![bithumb](https://www.bithumb.com) | bithumb | Bithumb | ![API Version *](https://apidocs.bithumb.com) | !CEX – Centralized EXchange | | ![CCXT Pro](https://ccxt.pro) |

| ![bitmart](http://www.bitmart.com/?r=rQCFLh) | bitmart | BitMart | ![API Version 2](https://developer-pro.bitmart.com/) | !CEX – Centralized EXchange | ![CCXT Certified](https://github.com/ccxt/ccxt/wiki/Certification) | ![CCXT Pro](https://ccxt.pro) |

| ![bitmex](https://www.bitmex.com/app/register/NZTR1q) | bitmex | BitMEX | ![API Version 1](https://www.bitmex.com/app/apiOverview) | !CEX – Centralized EXchange | ![CCXT Certified](https://github.com/ccxt/ccxt/wiki/Certification) | ![CCXT Pro](https://ccxt.pro) |

| ![bitopro](https://www.bitopro.com) | bitopro | BitoPro | ![API Version 3](https://github.com/bitoex/bitopro-offical-api-docs/blob/master/v3-1/rest-1/rest.md) | !CEX – Centralized EXchange | | ![CCXT Pro](https://ccxt.pro) |

| ![bitrue](https://www.bitrue.com/affiliate/landing?cn=600000&inviteCode=EZWETQE) | bitrue | Bitrue | ![API Version 1](https://github.com/Bitrue-exchange/bitrue-official-api-docs) | !CEX – Centralized EXchange | | ![CCXT Pro](https://ccxt.pro) |

| ![bitso](https://bitso.com/?ref=itej) | bitso | Bitso | ![API Version 3](https://bitso.com/api_info) | !CEX – Centralized EXchange | | |

| ![bitstamp](https://www.bitstamp.net) | bitstamp | Bitstamp | ![API Version 2](https://www.bitstamp.net/api) | !CEX – Centralized EXchange | | ![CCXT Pro](https://ccxt.pro) |

| ![bitteam](https://bit.team/auth/sign-up?ref=bitboy2023) | bitteam | BIT.TEAM | ![API Version 2.0.6](https://bit.team/trade/api/documentation) | !CEX – Centralized EXchange | | |

| ![bittrade](https://www.bittrade.co.jp/register/?invite_code=znnq3) | bittrade | BitTrade | ![API Version 1](https://api-doc.bittrade.co.jp) | !CEX – Centralized EXchange | | ![CCXT Pro](https://ccxt.pro) |

| ![bitvavo](https://bitvavo.com/?a=24F34952F7) | bitvavo | Bitvavo | ![API Version 2](https://docs.bitvavo.com/) | !CEX – Centralized EXchange | | ![CCXT Pro](https://ccxt.pro) |

| ![blockchaincom](https://blockchain.com) | blockchaincom | Blockchain.com | ![API Version 3](https://api.blockchain.com/v3) | !CEX – Centralized EXchange | | ![CCXT Pro](https://ccxt.pro) |

| ![blofin](https://blofin.com/register?referral_code=f79EsS) | blofin | BloFin | ![API Version 1](https://blofin.com/docs) | !CEX – Centralized EXchange | | ![CCXT Pro](https://ccxt.pro) |

| ![btcbox](https://www.btcbox.co.jp/) | btcbox | BtcBox | ![API Version 1](https://blog.btcbox.jp/en/archives/8762) | !CEX – Centralized EXchange | | |

| ![btcmarkets](https://btcmarkets.net) | btcmarkets | BTC Markets | ![API Version 3](https://api.btcmarkets.net/doc/v3) | !CEX – Centralized EXchange | | |

| ![btcturk](https://www.btcturk.com) | btcturk | BTCTurk | ![API Version *](https://github.com/BTCTrader/broker-api-docs) | !CEX – Centralized EXchange | | |

| ![bullish](https://bullish.com/) | bullish | Bullish | ![API Version 3](https://api.exchange.bullish.com/docs/api/rest/) | !CEX – Centralized EXchange | | ![CCXT Pro](https://ccxt.pro) |

| ![bybit](https://www.bybit.com/invite?ref=XDK12WP) | bybit | Bybit | ![API Version 5](https://bybit-exchange.github.io/docs/inverse/) | !CEX – Centralized EXchange | ![CCXT Certified](https://github.com/ccxt/ccxt/wiki/Certification) | ![CCXT Pro](https://ccxt.pro) |

| ![bydfi](https://partner.bydfi.com/j/DilWutCI) | bydfi | BYDFi | ![API Version 1](https://developers.bydfi.com/en/) | !CEX – Centralized EXchange | | ![CCXT Pro](https://ccxt.pro) |

| ![cex](https://cex.io/r/0/up105393824/0/) | cex | CEX.IO | ![API Version *](https://trade.cex.io/docs/) | !CEX – Centralized EXchange | | ![CCXT Pro](https://ccxt.pro) |

| ![coinbase](https://www.coinbase.com/join/58cbe25a355148797479dbd2) | coinbase | Coinbase Advanced | ![API Version 2](https://developers.coinbase.com/api/v2) | !CEX – Centralized EXchange | | ![CCXT Pro](https://ccxt.pro) |

| ![coinbaseexchange](https://coinbase.com/) | coinbaseexchange | Coinbase Exchange | ![API Version *](https://docs.cloud.coinbase.com/exchange/docs/) | !CEX – Centralized EXchange | | ![CCXT Pro](https://ccxt.pro) |

| ![coinbaseinternational](https://international.coinbase.com) | coinbaseinternational | Coinbase International | ![API Version 1](https://docs.cloud.coinbase.com/intx/docs) | !CEX – Centralized EXchange | | ![CCXT Pro](https://ccxt.pro) |

| ![coincheck](https://coincheck.com) | coincheck | coincheck | ![API Version *](https://coincheck.com/documents/exchange/api) | !CEX – Centralized EXchange | | |

| ![coinex](https://www.coinex.com/register?refer_code=yw5fz) | coinex | CoinEx | ![API Version 2](https://docs.coinex.com/api/v2) | !CEX – Centralized EXchange | ![CCXT Certified](https://github.com/ccxt/ccxt/wiki/Certification) | ![CCXT Pro](https://ccxt.pro) |

| ![coinmate](https://coinmate.io?referral=YTFkM1RsOWFObVpmY1ZjMGREQmpTRnBsWjJJNVp3PT0) | coinmate | CoinMate | ![API Version *](https://coinmate.docs.apiary.io) | !CEX – Centralized EXchange | | |

| ![coinmetro](https://go.coinmetro.com/?ref=crypto24) | coinmetro | Coinmetro | ![API Version 1](https://documenter.getpostman.com/view/3653795/SVfWN6KS) | !CEX – Centralized EXchange | | |

| ![coinone](https://coinone.co.kr) | coinone | CoinOne | ![API Version 2](https://doc.coinone.co.kr) | !CEX – Centralized EXchange | | |

| ![coinsph](https://www.coins.ph/en-ph/register?invite_code=1371062463303277512&broker=9001) | coinsph | Coins.ph | ![API Version 1](https://coins-docs.github.io/rest-api) | !CEX – Centralized EXchange | | |

| ![coinspot](https://www.coinspot.com.au/register?code=PJURCU) | coinspot | CoinSpot | ![API Version *](https://www.coinspot.com.au/api) | !CEX – Centralized EXchange | | |

| ![cryptocom](https://crypto.com/exch/kdacthrnxt) | cryptocom | Crypto.com | ![API Version 2](https://exchange-docs.crypto.com/exchange/v1/rest-ws/index.html) | !CEX – Centralized EXchange | ![CCXT Certified](https://github.com/ccxt/ccxt/wiki/Certification) | ![CCXT Pro](https://ccxt.pro) |

| ![cryptomus](https://app.cryptomus.com/signup/?ref=JRP4yj) | cryptomus | Cryptomus | ![API Version 2](https://doc.cryptomus.com/personal) | !CEX – Centralized EXchange | | |

| ![deepcoin](https://s.deepcoin.com/UzkyODgy) | deepcoin | DeepCoin | ![API Version 1](https://www.deepcoin.com/docs) | !CEX – Centralized EXchange | | ![CCXT Pro](https://ccxt.pro) |

| ![delta](https://www.delta.exchange/app/signup/?code=IULYNB) | delta | Delta Exchange | ![API Version 2](https://docs.delta.exchange) | !CEX – Centralized EXchange | | |

| ![deribit](https://www.deribit.com/reg-1189.4038) | deribit | Deribit | ![API Version 2](https://docs.deribit.com/v2) | !CEX – Centralized EXchange | | ![CCXT Pro](https://ccxt.pro) |

| ![derive](https://www.derive.xyz/invite/3VB0B) | derive | derive | ![API Version 1](https://docs.derive.xyz/docs/) | !DEX - Distributed EXchange | | ![CCXT Pro](https://ccxt.pro) |

| ![digifinex](https://www.digifinex.com/en-ww/from/DhOzBg?channelCode=ljaUPp) | digifinex | DigiFinex | ![API Version 3](https://docs.digifinex.com) | !CEX – Centralized EXchange | | |

| ![dydx](dydx.trade?ref=ccxt) | dydx | dYdX | ![API Version 4](https://docs.dydx.xyz) | !DEX - Distributed EXchange | | ![CCXT Pro](https://ccxt.pro) |

| ![exmo](https://exmo.me/?ref=131685) | exmo | EXMO | ![API Version 1.1](https://exmo.me/en/api_doc?ref=131685) | !CEX – Centralized EXchange | | |

| ![fmfwio](https://fmfw.io/referral/da948b21d6c92d69) | fmfwio | FMFW.io | ![API Version 3](https://api.fmfw.io/) | !CEX – Centralized EXchange | | |

| ![foxbit](https://app.foxbit.com.br) | foxbit | Foxbit | ![API Version 1](https://docs.foxbit.com.br) | !CEX – Centralized EXchange | | |

| ![gate](https://www.gate.com/share/CCXTGATE) | gate | Gate | ![API Version 4](https://www.gate.com/docs/developers/apiv4/en) | !CEX – Centralized EXchange | ![CCXT Certified](https://github.com/ccxt/ccxt/wiki/Certification) | ![CCXT Pro](https://ccxt.pro) |

| ![gemini](https://gemini.com/) | gemini | Gemini | ![API Version 1](https://docs.gemini.com/rest-api) | !CEX – Centralized EXchange | | ![CCXT Pro](https://ccxt.pro) |

| ![grvt](https://grvt.io/?ref=WBLS9D1) | grvt | GRVT | ![API Version 1](https://api-docs.grvt.io/) | !DEX - Distributed EXchange | | ![CCXT Pro](https://ccxt.pro) |

| ![hashkey](https://global.hashkey.com/en-US/register/invite?invite_code=82FQUN) | hashkey | HashKey Global | ![API Version 1](https://hashkeyglobal-apidoc.readme.io/) | !CEX – Centralized EXchange | ![CCXT Certified](https://github.com/ccxt/ccxt/wiki/Certification) | ![CCXT Pro](https://ccxt.pro) |

| ![hibachi](hibachi.xyz/r/ZBL2YFWIHU) | hibachi | Hibachi | ![API Version *](undefined) | !DEX - Distributed EXchange | | |

| ![hitbtc](https://hitbtc.com/?ref_id=5a5d39a65d466) | hitbtc | HitBTC | ![API Version 3](https://api.hitbtc.com) | !CEX – Centralized EXchange | | |

| ![hollaex](https://pro.hollaex.com/signup?affiliation_code=QSWA6G) | hollaex | HollaEx | ![API Version 2](https://apidocs.hollaex.com) | !CEX – Centralized EXchange | | ![CCXT Pro](https://ccxt.pro) |

| ![htx](https://www.htx.com.vc/invite/en-us/1h?invite_code=6rmm2223) | htx | HTX | ![API Version 1](https://huobiapi.github.io/docs/spot/v1/en/) | !CEX – Centralized EXchange | ![CCXT Certified](https://github.com/ccxt/ccxt/wiki/Certification) | ![CCXT Pro](https://ccxt.pro) |

| ![hyperliquid](https://app.hyperliquid.xyz/) | hyperliquid | Hyperliquid | ![API Version 1](https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api) | !DEX - Distributed EXchange | ![CCXT Certified](https://github.com/ccxt/ccxt/wiki/Certification) | ![CCXT Pro](https://ccxt.pro) |

| ![independentreserve](https://www.independentreserve.com) | independentreserve | Independent Reserve | ![API Version *](https://www.independentreserve.com/API) | !CEX – Centralized EXchange | | ![CCXT Pro](https://ccxt.pro) |

| ![indodax](https://indodax.com/ref/testbitcoincoid/1) | indodax | INDODAX | ![API Version 2.0](https://github.com/btcid/indodax-official-api-docs) | !CEX – Centralized EXchange | | |

| ![kraken](https://www.kraken.com) | kraken | Kraken | ![API Version 0](https://docs.kraken.com/rest/) | !CEX – Centralized EXchange | | ![CCXT Pro](https://ccxt.pro) |

| ![krakenfutures](https://futures.kraken.com/) | krakenfutures | Kraken Futures | ![API Version 3](https://docs.kraken.com/api/docs/futures-api/trading/market-data/) | !CEX – Centralized EXchange | | ![CCXT Pro](https://ccxt.pro) |

| ![kucoin](https://www.kucoin.com/ucenter/signup?rcode=E5wkqe) | kucoin | KuCoin | ![API Version 2](https://docs.kucoin.com) | !CEX – Centralized EXchange | ![CCXT Certified](https://github.com/ccxt/ccxt/wiki/Certification) | ![CCXT Pro](https://ccxt.pro) |

| ![kucoinfutures](https://futures.kucoin.com/?rcode=E5wkqe) | kucoinfutures | KuCoin Futures | ![API Version 2](https://docs.kucoin.com) | !CEX – Centralized EXchange | ![CCXT Certified](https://github.com/ccxt/ccxt/wiki/Certification) | ![CCXT Pro](https://ccxt.pro) |

| ![latoken](https://latoken.com/invite?r=mvgp2djk) | latoken | Latoken | ![API Version 2](https://api.latoken.com) | !CEX – Centralized EXchange | | |

| ![lbank](https://www.lbank.com/login/?icode=7QCY) | lbank | LBank | ![API Version 2](https://www.lbank.com/en-US/docs/index.html) | !CEX – Centralized EXchange | | ![CCXT Pro](https://ccxt.pro) |

| ![lighter](app.lighter.xyz/?referral=715955W9) | lighter | Lighter | ![API Version 1](https://apidocs.lighter.xyz/) | !DEX - Distributed EXchange | | ![CCXT Pro](https://ccxt.pro) |

| ![luno](https://www.luno.com/invite/44893A) | luno | luno | ![API Version 1](https://www.luno.com/en/api) | !CEX – Centralized EXchange | | ![CCXT Pro](https://ccxt.pro) |

| ![mercado](https://www.mercadobitcoin.com.br) | mercado | Mercado Bitcoin | ![API Version 3](https://www.mercadobitcoin.com.br/api-doc) | !CEX – Centralized EXchange | | |

| ![mexc](https://www.mexc.com/register?inviteCode=mexc-1FQ1GNu1) | mexc | MEXC Global | ![API Version 3](https://mexcdevelop.github.io/apidocs/) | !CEX – Centralized EXchange | ![CCXT Certified](https://github.com/ccxt/ccxt/wiki/Certification) | ![CCXT Pro](https://ccxt.pro) |

| ![modetrade](https://trade.mode.network?ref=MODETRADE) | modetrade | Mode Trade | ![API Version 1](undefined) | !DEX - Distributed EXchange | | ![CCXT Pro](https://ccxt.pro) |

| ![myokx](https://www.my.okx.com/join/CCXT2023) | myokx | MyOKX (EEA) | ![API Version 5](https://my.okx.com/docs-v5/en/#overview) | !CEX – Centralized EXchange | | ![CCXT Pro](https://ccxt.pro) |

| ![ndax](https://one.ndax.io/bfQiSL) | ndax | NDAX | ![API Version *](https://apidoc.ndax.io/) | !CEX – Centralized EXchange | | ![CCXT Pro](https://ccxt.pro) |

| ![novadax](https://www.novadax.com.br/?s=ccxt) | novadax | NovaDAX | ![API Version 1](https://doc.novadax.com/pt-BR/) | !CEX – Centralized EXchange | | |

| ![okx](https://www.okx.com/join/CCXTCOM) | okx | OKX | ![API Version 5](https://www.okx.com/docs-v5/en/) | !CEX – Centralized EXchange | ![CCXT Certified](https://github.com/ccxt/ccxt/wiki/Certification) | ![CCXT Pro](https://ccxt.pro) |

| ![okxus](https://www.app.okx.com/join/CCXT2023) | okxus | OKX (US) | ![API Version 5](https://app.okx.com/docs-v5/en/#overview) | !CEX – Centralized EXchange | | ![CCXT Pro](https://ccxt.pro) |

| ![onetrading](https://onetrading.com/) | onetrading | One Trading | ![API Version 1](https://docs.onetrading.com) | !CEX – Centralized EXchange | | ![CCXT Pro](https://ccxt.pro) |

| ![oxfun](https://ox.fun/register?shareAccountId=5ZUD4a7G) | oxfun | OXFUN | ![API Version 3](https://docs.ox.fun/) | !CEX – Centralized EXchange | | ![CCXT Pro](https://ccxt.pro) |

| ![p2b](https://p2pb2b.com?referral=ee784c53) | p2b | p2b | ![API Version 2](https://github.com/P2B-team/p2b-api-docs/blob/master/api-doc.md) | !CEX – Centralized EXchange | | ![CCXT Pro](https://ccxt.pro) |

| ![pacifica](https://app.pacifica.fi?referral=ccxt) | pacifica | Pacifica | ![API Version 1](https://docs.pacifica.fi/api-documentation/api/rest-api) | !DEX - Distributed EXchange | | ![CCXT Pro](https://ccxt.pro) |

| ![paradex](https://app.paradex.trade/r/ccxt24) | paradex | Paradex | ![API Version 1](https://docs.api.testnet.paradex.trade/) | !DEX - Distributed EXchange | | ![CCXT Pro](https://ccxt.pro) |

| ![paymium](https://www.paymium.com/page/sign-up?referral=eDAzPoRQFMvaAB8sf-qj) | paymium | Paymium | ![API Version 1](https://github.com/Paymium/api-documentation) | !CEX – Centralized EXchange | | |

| ![phemex](https://phemex.com/register?referralCode=EDNVJ) | phemex | Phemex | ![API Version 1](https://phemex-docs.github.io/#overview) | !CEX – Centralized EXchange | | ![CCXT Pro](https://ccxt.pro) |

| ![poloniex](https://poloniex.com/signup?c=UBFZJRPJ) | poloniex | Poloniex | ![API Version *](https://api-docs.poloniex.com/spot/) | !CEX – Centralized EXchange | | ![CCXT Pro](https://ccxt.pro) |

| ![tokocrypto](https://tokocrypto.com) | tokocrypto | Tokocrypto | ![API Version 1](https://www.tokocrypto.com/apidocs/) | !CEX – Centralized EXchange | | |

| ![toobit](https://www.toobit.com/en-US/r?i=IFFPy0) | toobit | Toobit | ![API Version 1](https://toobit-docs.github.io/apidocs/spot/v1/en/) | !CEX – Centralized EXchange | | ![CCXT Pro](https://ccxt.pro) |

| ![upbit](https://upbit.com) | upbit | Upbit | ![API Version 1](https://docs.upbit.com/kr) | !CEX – Centralized EXchange | | ![CCXT Pro](https://ccxt.pro) |

| ![wavesexchange](https://wx.network) | wavesexchange | Waves.Exchange | ![API Version *](https://docs.wx.network) | !DEX - Distributed EXchange | | |

| ![weex](https://www.weex.com/register?vipCode=qfyh) | weex | Weex | ![API Version 3](https://www.weex.com/api-doc) | !CEX – Centralized EXchange | | ![CCXT Pro](https://ccxt.pro) |

| ![whitebit](https://whitebit.com/referral/d9bdf40e-28f2-4b52-b2f9-cd1415d82963) | whitebit | WhiteBit | ![API Version 4](https://github.com/whitebit-exchange/api-docs) | !CEX – Centralized EXchange | | ![CCXT Pro](https://ccxt.pro) |

| ![woo](https://woox.io/register?ref=DIJT0CNL) | woo | WOO X | ![API Version 1](https://docs.woox.io/) | !CEX – Centralized EXchange | ![CCXT Certified](https://github.com/ccxt/ccxt/wiki/Certification) | ![CCXT Pro](https://ccxt.pro) |

| ![woofipro](https://dex.woo.org/en/trade?ref=CCXT) | woofipro | WOOFI PRO | ![API Version 1](https://orderly.network/docs/build-on-omnichain/building-on-evm) | !DEX - Distributed EXchange | ![CCXT Certified](https://github.com/ccxt/ccxt/wiki/Certification) | ![CCXT Pro](https://ccxt.pro) |

| ![xt](https://www.xt.com/en/accounts/register?ref=9PTM9VW) | xt | XT | ![API Version 4](https://doc.xt.com/) | !CEX – Centralized EXchange | | ![CCXT Pro](https://ccxt.pro) |

| ![yobit](https://www.yobit.net) | yobit | YoBit | ![API Version 3](https://www.yobit.net/en/api/) | !CEX – Centralized EXchange | | |

| ![zaif](https://zaif.jp) | zaif | Zaif | ![API Version 1](https://techbureau-api-document.readthedocs.io/ja/latest/index.html) | !CEX – Centralized EXchange | | |

| ![zebpay](https://www.zebpay.com) | zebpay | Zebpay | ![API Version 1](https://github.com/zebpay/zebpay-api-references) | !CEX – Centralized EXchange | | |

| ![zonda](https://auth.zondaglobal.com/ref/jHlbB4mIkdS1) | zonda | Zonda | ![API Version *](https://docs.zondacrypto.exchange/) | !CEX – Centralized EXchange | | |

<!--- end list -->

The list above is updated frequently, new crypto markets, exchanges, bug fixes, and API endpoints are introduced on a regular basis. See the Manual for more details. If you can't find a cryptocurrency exchange in the list above and want it to be added, post a link to it by opening an issue here on GitHub or send us an email.

The library is under MIT license, that means it's absolutely free for any developer to build commercial and opensource software on top of it, but use it at your own risk with no warranties, as is.

Builder Code Exchanges

<!--- init builder codes list --->

|logo |id |name |ver |type |certified |pro |

|---------------------------------------------------------------------------------------------------------------------------------------|-------------|---------------------------------------------------|:--------------------------------------------------------------------------------------------------------------------------------:|-------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------|

| ![grvt](https://grvt.io/?ref=WBLS9D1) | grvt | GRVT | ![API Version 1](https://api-docs.grvt.io/) | !DEX - Distributed EXchange | | ![CCXT Pro](https://ccxt.pro) |

| ![hyperliquid](https://app.hyperliquid.xyz/) | hyperliquid | Hyperliquid | ![API Version 1](https://hyperliquid.gitbook.io/hyperliquid-docs/for-developers/api) | !DEX - Distributed EXchange | ![CCXT Certified](https://github.com/ccxt/ccxt/wiki/Certification) | ![CCXT Pro](https://ccxt.pro) |

| ![lighter](app.lighter.xyz/?referral=715955W9) | lighter | Lighter | ![API Version 1](https://apidocs.lighter.xyz/) | !DEX - Distributed EXchange | | ![CCXT Pro](https://ccxt.pro) |

| ![pacifica](https://app.pacifica.fi?referral=ccxt) | pacifica | Pacifica | ![API Version 1](https://docs.pacifica.fi/api-documentation/api/rest-api) | !DEX - Distributed EXchange | | ![CCXT Pro](https://ccxt.pro) |

<!--- end list -->

CCXT participates in builder programs with the exchanges listed above, which means that in order to support the CCXT project users pay a small fee (1 bps) on top of the exchanges' fees when using the exchanges' API through CCXT. This is optional and can be disabled by setting exchange.options['builderFee'] = False. For all other exchanges no additional fee is charged and in some cases you receive discounts or special conditions by using CCXT.

---

Install

The easiest way to install the CCXT library is to use a package manager:

  • [ccxt in **NPM**](https://www.npmjs.com/package/ccxt) (JavaScript / Node v7.6+)
  • [ccxt in **PyPI**](https://pypi.python.org/pypi/ccxt) (Python 3.7.0+)
  • [ccxt in **Packagist/Composer**](https://packagist.org/packages/ccxt/ccxt) (PHP 8.1+)
  • [ccxt in **Nuget**](https://www.nuget.org/packages/ccxt) (netstandard 2.0)
  • [ccxt in **GO**](https://pkg.go.dev/github.com/ccxt/ccxt/go/v4)

This library is shipped as an all-in-one module implementation with minimalistic dependencies and requirements:

  • [js/](https://github.com/ccxt/ccxt/blob/master/js/) in JavaScript
  • [python/](https://github.com/ccxt/ccxt/blob/master/python/) in Python (generated from TS)
  • [php/](https://github.com/ccxt/ccxt/blob/master/php/) in PHP (generated from TS)
  • [cs/](https://github.com/ccxt/ccxt/blob/master/cs/) in C# (generated from TS)
  • [go/](https://github.com/ccxt/ccxt/blob/master/go/) in Go (generated from TS)

You can also clone it into your project directory from ccxt GitHub repository:


git clone https://github.com/ccxt/ccxt.git  # including 1GB of commit history

# or

git clone https://github.com/ccxt/ccxt.git --depth 1  # avoid downloading 1GB of commit history

JavaScript (NPM)

JavaScript version of CCXT works in both Node and web browsers. Requires ES6 and async/await syntax support (Node 7.6.0+). When compiling with Webpack and Babel, make sure it is not excluded in your babel-loader config.

ccxt in NPM


npm install ccxt

... 文档较长,请查看完整版 →