# ccxt/ccxt

A unified trading API with more than 100 crypto exchanges and prediction markets in JavaScript / TypeScript / Python / C# / PHP / Go / Java

Repository: https://github.com/ccxt/ccxt
Canonical: https://ross.abutalabs.com/products/ccxt
Homepage: https://docs.ccxt.com
Language: Python
License: MIT
License Family: permissive
Topics: altcoin, api, arbitrage, bitcoin, bot, cryptocurrency, crypto, ethereum, exchange, invest, library, strategy, trading, btc, eth, trade, market-data, cryptocurrencies, memecoin
Last push: 2026-08-26T19:49:48+00:00

## Health v2 (maintenance only)
Score: 95/100 (v2, computed 2026-09-03T02:39:23.370411+00:00)
- activity 99, release rhythm 87, longevity 100
- inputs: {"age_days": 3398, "days_push": 7, "days_rel": 7, "gap_med": 3.0, "n_releases_24m": 177}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 43756, forks 8816 (observed 2026-08-28T04:12:09.106498+00:00)

## What it is
CCXT is a unified trading API library supporting 100+ cryptocurrency exchanges and prediction markets across JavaScript/TypeScript, Python, C#, PHP, Go, and Java. It normalizes public and private REST and WebSocket APIs for market data, order placement, and account management.

## Use cases
- fetch tickers and order books from multiple crypto exchanges with one API
- build an algorithmic trading bot for Binance and Bybit
- stream live market data over WebSocket
- trade prediction markets like Polymarket and Kalshi programmatically
- run cross-exchange arbitrage strategies
- backtest trading strategies on historical OHLCV data
- connect an AI agent to crypto exchanges via MCP

## When to choose
- you need a single unified API across many crypto exchanges
- you want multi-language support (JS, Python, PHP, C#, Go, Java)
- you need both REST and WebSocket market data and trading
- you want to trade prediction markets with the same API as crypto exchanges

## When to avoid
- you only need one exchange and prefer its official native SDK
- you need stock, forex, or traditional brokerage trading (not crypto/prediction markets)
- you need a no-code trading platform rather than a developer library

## Facets
- artifact type: library
- maturity: active
- function: http-client, websocket, sdk, cli, mcp
- domain: fintech, apis
- platform: python, php, go, jvm, dotnet, browser, cli
- tags: crypto-exchanges, trading-api, prediction-markets, arbitrage, market-data, algorithmic-trading, multi-language, cryptocurrency, trading, nodejs

## Member repositories
- ccxt/ccxt (main) score 95

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:12:09.106498+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T16:22:20.959187+00:00, confidence not recorded.
  - readme: https://github.com/ccxt/ccxt (fetched 2026-08-28T04:12:09.106498+00:00, sha 672e2fe6de41)
  - homepage: https://docs.ccxt.com (fetched 2026-08-29T07:46:22.838322+00:00, sha 4cf725791cef)
  - site_page: https://docs.ccxt.com/docs (fetched 2026-08-29T07:46:22.840896+00:00, sha a7274427adfb)
  - site_page: https://docs.ccxt.com/docs/exchanges/binance (fetched 2026-08-29T07:46:22.843056+00:00, sha 0603bb4c5903)
  - site_page: https://docs.ccxt.com/docs/prediction (fetched 2026-08-29T07:46:22.846687+00:00, sha b886ebc73055)
  - site_page: https://docs.ccxt.com/docs/examples (fetched 2026-08-29T07:46:22.848828+00:00, sha d4442dcd0208)
  - site_page: https://docs.ccxt.com/docs/install (fetched 2026-08-29T07:46:22.850718+00:00, sha c508a23b07c7)
  - site_page: https://docs.ccxt.com/docs/manual (fetched 2026-08-29T07:46:22.852797+00:00, sha 4e8391509596)
  - site_page: https://docs.ccxt.com/docs/pro-manual (fetched 2026-08-29T07:46:22.855975+00:00, sha 66533aff74b6)
  - site_page: https://docs.ccxt.com/docs/base-spec (fetched 2026-08-29T07:46:22.858717+00:00, sha 1ca93fdb2eb1)
- Data as of 2026-08-30T08:39:29.467469+00:00.
