Skip to content
Agents tracked: 506 Releases (7d): 634 Agent status: 3 with issuesSince last limit reset: Claude 15d · Codex 0d For AI agents: Markdown Updated Nov 26, 2026

CCXT

One code library for 100+ crypto exchanges.

Stock and financial dataOfficial MCP server

WebsiteGitHub

1. Price

No free tier on the pricing page. As reported on the official pricing page, checked Oct 10, 2026.

ccxt.com

Checked against the maker's official pages, pricing on Oct 10, 2026. Tap a verdict to see its source.How we checkedReport an error

What CCXT does

CCXT is a free, open-source code library, not an online service. Your program uses it to talk to more than 100 cryptocurrency exchanges and prediction markets in one common way. It reads public prices, order books and price history without any account, and with your own exchange keys it can read balances and place orders, connecting to each exchange directly.

  • CCXT is one of 19 APIs in the Stock and financial data category on AgentGid.
  • It is one of 17 that can be started for free.
  • It ships an official MCP server, like 5 others here.
  • Its official SDK is the 1st most downloaded in the category (736K a week).

What people build with it

Show live prices from several exchanges

Your app or dashboard shows the current price of a coin pair on different exchanges, with the same code for each one and no exchange account.

Price history for charts and research

Download past candles (open, high, low, close and volume) for a pair, store them, and draw charts or study them later.

One view of your own exchange balances

With read-only keys from each of your exchange accounts, a private script lists your balances in one place.

Test a trading bot on a test network

Run your bot against an exchange's test network with play money first, before any real funds are involved.

Let an AI assistant look up prices

Connect the official local tool server to Claude or Cursor so the assistant can read prices and order books; out of the box it has public data only.

Price alert for your own watchlist Idea

A small script checks a few pairs every few minutes and sends you a message when a price crosses a level you chose.

CCXT popularity

571K
SDK downloads a week
+6.4% on the 4-week average
52
public agent repos use its SDK
45K
GitHub stars, ccxt/ccxt
SDK downloads per weeknpm ccxt, pypi ccxt 571,405

SDK downloads from npm and PyPI, weekly. Numbers as of Nov 17, 2026.

Pricing

Free tier

None

Cheapest plan

No monthly plan

Usage price

—

Plans

MIT-licensed library with no paid API of its own; each exchange's own API limits, keys and trading fees apply. The MCP server runs locally.

As reported on the official pricing page, checked Oct 10, 2026. Prices change: confirm before you buy.

Limits

Library default (every exchange)

Built-in rate limiter on by default; each exchange class sets its own rateLimit (milliseconds between requests)

Each exchange instance

One rate limiter per instance; several instances for the same exchange do not share it

Price history (exchange rules)

Exchanges keep only a limited history of short candles, often around the last 1000

From the official docs. docs.ccxt.com/docs/manual

Key and access

How it signs in

No key for public market data. Balances and orders need the API key and secret you create on each exchange's website, passed to the exchange instance as apiKey and secret (some exchanges also need a password or uid).

Environment variable
none for the library (keys are passed in code); the ccxt-mcp server reads per-exchange variables such as BINANCE_APIKEY and BINANCE_SECRET
Safe in browser code
No, keep it on your server
Card at sign-up

No

Steps only a person can do

  • If private data is needed, create an exchange account and an API key pair on that exchange's website, read-only where possible, withdrawals off. The person puts the key and secret in .env (never in the chat); the script reads them and passes apiKey and secret to the exchange instance.
  • Decide whether any order may ever be placed, and on which account and with what limits. Without that explicit decision, call only read methods (fetchTicker, fetchOHLCV, fetchBalance) and never createOrder.

Commercial use and your data

CCXT is free and open source under the MIT license, so you may use it in paid products and change it. It comes with no warranty. Each exchange's own terms, limits and fees still apply.

In a paid app
Yes

MIT license; keep the copyright and license notice; no warranty.

“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.” source

redistribute-files
Yes

Allowed under MIT when the copyright and permission notice are included.

“The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.” source

client-work
Yes

MIT allows building it into client projects; each exchange's own terms bind whoever holds the exchange account.

“Permission is hereby granted, free of charge, to any person obtaining a copy” source

Errors to handle

NetworkError / RequestTimeout / ExchangeNotAvailable

The exchange could not be reached in time or was temporarily down.

Retry later with backoff; a later retry is usually enough.

RateLimitExceeded / DDoSProtection

Too many requests, or the exchange's protection blocked the client (sometimes by region).

Keep the rate limiter on, slow down and retry later; do not open more instances to get around it.

AuthenticationError

Required credentials are missing, empty or rejected.

Check the key, secret and any password or uid the exchange needs; do not retry.

InsufficientFunds / InvalidOrder

The order cannot be placed as given (not enough balance, or amount, price or symbol outside the market's rules).

Do not retry; fix the order or ask the person.

Use it from an agent

Our agent check

4 of 6: llms.txt yes, OpenAPI no, SDK yes, MCP yes, status page no, AI assistants allowed yes

Checked Nov 13, 2026.

MCP server

CCXT MCP server (npm ccxt-mcp 0.1.3, runs locally over stdio)

claude mcp add ccxt -- npx -y ccxt-mcp

npm
npm install ccxt
PyPI
pip install ccxt

Instructions in its docs to check first

The docs say

“curl -fsSL https://raw.githubusercontent.com/ccxt/ccxt/master/install-skills.sh | bash”

Ask the person first; it pipes a remote script from the master branch into the shell and installs agent skills.

The docs say

“npx skills add ccxt/ccxt”

Installs skills into the person's coding assistants from an unpinned package; only with their consent.

The docs say

“One line: claude mcp add ccxt -- npx -y ccxt-mcp .”

Runs an unpinned npx package; pin ccxt-mcp@0.1.3, keep it read-only, and ask the person before adding any exchange keys or enabling trading.

Alternatives

CCXT This page

Free (open source)No free tierOfficial MCP

Binance API

Pick the Binance API directly when you only work with Binance and want its own REST and WebSocket interface.

Free planFree tier

Kraken API

Pick the Kraken API directly for Kraken spot and derivatives, including its FIX interface and its own command-line tool.

See its pageNo free tier

Alpaca Market Data API

Pick Alpaca for US stock, options and crypto market data from a brokerage, with a trading interface too.

from $99/moFree tierOfficial MCP

All stock and financial data APIs

Get started

Tell your AI assistant

“Use ccxt 4.5.92 in Python on my machine to read public prices only: keep the built-in rate limiter on, never place or cancel orders, and read any exchange keys from .env without printing them.”

  1. Install the library for your language (here Python).

    pip install ccxt

    From docs.ccxt.com/docs/install

  2. List the supported exchanges; this works offline.

    import ccxt
    print(ccxt.exchanges) # print a list of all available exchange classes

    From github.com/ccxt/ccxt/blob/master/README.md

  3. Read public prices with no account; for balances or orders, create keys on the exchange's website and pass them in.

    kraken = ccxt.kraken({
        'apiKey': 'YOUR_PUBLIC_API_KEY',
        'secret': 'YOUR_SECRET_PRIVATE_KEY',
    })

    From github.com/ccxt/ccxt/blob/master/README.md

First request

CCXT is a library with no hosted API of its own, so this is the smallest official example (README and install page); the response is from our own offline run of ccxt 4.5.92, which listed 104 exchange ids. Real data calls such as fetchTicker go to the exchange you pick.

pip install ccxt
import ccxt
print(ccxt.exchanges) # print a list of all available exchange classes

Mistakes to avoid

Setting enableRateLimit to false or creating many instances of the same exchange to go faster.
Keep one instance per exchange with the rate limiter on; slow down on RateLimitExceeded or DDoSProtection.

Each instance has its own limiter, and exceeding exchange limits can get the client banned.

Calling set_sandbox_mode(True) after load_markets or another call.
Call it right after creating the exchange, before anything else.

The docs require it as the very first call.

Using production keys on the test network, or test keys on the real exchange.
Create a separate key pair on the exchange's sandbox site for testing.

The two kinds of keys do not work in each other's place.

Retrying an order automatically after InsufficientFunds or InvalidOrder.
Retry only network errors; for order errors stop and show the reason.

The library's own retry covers server and network issues only.

Giving the MCP server or a script exchange keys that can withdraw funds.
Create keys with withdrawals disabled and an IP allowlist; enable trading only when the person asks, with order caps.

The CCXT docs recommend these exchange-side limits as a backstop.

Questions

Is CCXT a paid service?

No. It is free MIT-licensed software you run yourself; it is not a service or a server.

Do I need an exchange account to get prices?

No. Public market data such as tickers, order books and candles works without an account or key.

Can it create exchange accounts or keys for me?

No. You register on each exchange yourself and create the keys there.

Can I try orders without real money?

On exchanges that offer a test network, yes, with sandbox mode and separate test keys.