MCPcopy
hub / github.com/ccxt/ccxt

github.com/ccxt/ccxt @v4.5.63 sqlite

repository ↗ · DeepWiki ↗ · release v4.5.63 ↗
208,408 symbols 771,560 edges 5,127 files 30,487 documented · 15%
README

CCXT – CryptoCurrency eXchange Trading Library

NPM Downloads npm PyPI NuGet version GoDoc Mvn Discord Supported Exchanges Follow CCXT at x.com

A cryptocurrency trading API with more than 100 exchanges 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 many cryptocurrency exchanges — 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 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 Freqtrade – leading opensource cryptocurrency algorithmic trading software!
  • OctoBot OctoBot – cryptocurrency trading bot with an advanced web interface.
  • TokenBot TokenBot – discover and copy the best algorithmic traders in the world.

Certified Cryptocurrency Exchanges

logo id name ver type certified pro discount
binance binance Binance API Version * CEX – Centralized EXchange CCXT Certified CCXT Pro Sign up with Binance using CCXT's referral link for a 10% discount!
binanceusdm binanceusdm Binance USDⓈ-M API Version * CEX – Centralized EXchange CCXT Certified CCXT Pro Sign up with Binance USDⓈ-M using CCXT's referral link for a 10% discount!
binancecoinm binancecoinm Binance COIN-M API Version * CEX – Centralized EXchange CCXT Certified CCXT Pro Sign up with Binance COIN-M using CCXT's referral link for a 10% discount!
bybit bybit Bybit API Version 5 CEX – Centralized EXchange CCXT Certified CCXT Pro
okx okx OKX API Version 5 CEX – Centralized EXchange CCXT Certified CCXT Pro Sign up with OKX using CCXT's referral link for a 20% discount!
gate gate Gate API Version 4 CEX – Centralized EXchange CCXT Certified CCXT Pro Sign up with Gate using CCXT's referral link for a 20% discount!
kucoin kucoin KuCoin API Version 2 CEX – Centralized EXchange CCXT Certified CCXT Pro
kucoinfutures kucoinfutures KuCoin Futures API Version 2 CEX – Centralized EXchange CCXT Certified CCXT Pro
bitget bitget Bitget API Version 2 CEX – Centralized EXchange CCXT Certified CCXT Pro
hyperliquid hyperliquid [Hyperliquid](https://app.hyperliqui

Extension points exported contracts — how you extend this code

IExchange (Interface)
PLEASE DO NOT EDIT THIS FILE, IT IS GENERATED AND WILL BE OVERWRITTEN: https://github.com/ccxt/ccxt/blob/master/CONTRIBU [188 …
go/v4/exchange_typed_interface.go
Rpc (Interface)
(no doc) [20 implementers]
ts/src/static_dependencies/dydx-v4-client/helpers.ts
Rpc (Interface)
(no doc) [20 implementers]
js/src/static_dependencies/dydx-v4-client/helpers.d.ts
CLIOptions (Interface)
(no doc)
cli/ts/cli.ts
IOrderBookSide (Interface)
(no doc)
java/lib/src/main/java/io/github/ccxt/IOrderBookSide.java
Stats (Interface)
(no doc)
examples/ts/benchmark.ts
Processor (Interface)
(no doc)
website/src/components/markdown.tsx
IExchange (Interface)
PLEASE DO NOT EDIT THIS FILE, IT IS GENERATED AND WILL BE OVERWRITTEN: https://github.com/ccxt/ccxt/blob/master/CONTRIBU [188 …
go/v4/pro/exchange_typed_interface.go

Core symbols most depended-on inside this repo

isTrue
called by 23661
java/lib/src/main/java/io/github/ccxt/Helpers.java
safeString
called by 23459
java/lib/src/main/java/io/github/ccxt/Exchange.java
joinUnwrapped
called by 20335
java/lib/src/main/java/io/github/ccxt/Helpers.java
safe_string
called by 20118
python/ccxt/base/exchange.py
IsTrue
called by 17812
go/v4/exchange_helpers.go
toTypedList
called by 15330
java/lib/src/main/java/io/github/ccxt/Exchange.java
callAsync
called by 15020
java/lib/src/main/java/io/github/ccxt/Exchange.java
isEqual
called by 14371
java/lib/src/main/java/io/github/ccxt/Helpers.java

Shape

Method 194,882
Function 6,818
Class 4,558
Interface 894
Struct 871
FuncType 322
Enum 58
Route 3
TypeAlias 2

Languages

Java32%
Go32%
TypeScript26%
Python9%

Modules by API surface

go/v4/exchange_wrapper_structs.go1,398 symbols
ts/src/abstract/binanceus.ts846 symbols
java/lib/src/main/java/io/github/ccxt/api/BinanceusApi.java846 symbols
go/v4/binanceus_api.go844 symbols
js/src/abstract/binanceus.d.ts843 symbols
java/lib/src/main/java/io/github/ccxt/Exchange.java805 symbols
ts/src/abstract/binanceusdm.ts794 symbols
ts/src/abstract/binancecoinm.ts794 symbols
ts/src/abstract/binance.ts794 symbols
java/lib/src/main/java/io/github/ccxt/api/BinanceusdmApi.java794 symbols
java/lib/src/main/java/io/github/ccxt/api/BinancecoinmApi.java794 symbols
java/lib/src/main/java/io/github/ccxt/api/BinanceApi.java794 symbols

Dependencies from manifests, versioned

clue/http-proxy-react1.9.0 · 1×
evenement/evenement3.0.2 · 1×
fig/http-message-util1.1.5 · 1×
guzzlehttp/psr72.12.1 · 1×
kornrunner/keccak1.1.0 · 1×
pear/console_table1.3.1 · 1×
phpseclib/phpseclib2.0.55 · 1×
psr/http-factory1.1.0 · 1×
psr/http-factory-implementation1.0.0 · 1×
psr/http-message1.1 · 1×
ralouphie/getallheaders3.0.3 · 1×
ratchet/pawl0.4.3 · 1×

For agents

$ claude mcp add ccxt \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact