1. Price
No free tier on the pricing page. As reported on the official pricing page, checked Oct 10, 2026.
ccxt.com2. Commercial use
“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.”
MIT license; keep the copyright and license notice; no warranty.
github.com/ccxt/ccxt/blob/master/README.md3. Key & sign-up
“Remember to keep your apiKey and secret key safe from unauthorized use, do not send or tell it to anybody. A leak of the secret key or a breach in security can cost you a fund loss.”
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).
docs.ccxt.com/docs/manual4. Agent access
“It runs locally over stdio : your API keys stay on your machine and are never visible to the AI model, which references accounts by name only.”
Our agent check: 4 of 6 (Nov 13, 2026).
docs.ccxt.com/docs/mcpChecked 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
SDK downloads from npm and PyPI, weekly. Numbers as of Nov 17, 2026.
Pricing
None
No monthly plan
—
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
Built-in rate limiter on by default; each exchange class sets its own rateLimit (milliseconds between requests)
One rate limiter per instance; several instances for the same exchange do not share it
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
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).
none for the library (keys are passed in code); the ccxt-mcp server reads per-exchange variables such as BINANCE_APIKEY and BINANCE_SECRETNo
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.
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
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
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
The exchange could not be reached in time or was temporarily down.
Retry later with backoff; a later retry is usually enough.
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.
Required credentials are missing, empty or rejected.
Check the key, secret and any password or uid the exchange needs; do not retry.
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
4 of 6: llms.txt yes, OpenAPI no, SDK yes, MCP yes, status page no, AI assistants allowed yes
Checked Nov 13, 2026.
CCXT MCP server (npm ccxt-mcp 0.1.3, runs locally over stdio)
claude mcp add ccxt -- npx -y ccxt-mcp
npm install ccxtpip install ccxtInstructions in its docs to check first
“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.
“npx skills add ccxt/ccxt”
Installs skills into the person's coding assistants from an unpinned package; only with their consent.
“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
Pick the Binance API directly when you only work with Binance and want its own REST and WebSocket interface.
Pick the Kraken API directly for Kraken spot and derivatives, including its FIX interface and its own command-line tool.
Pick Alpaca for US stock, options and crypto market data from a brokerage, with a trading interface too.
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.”
List the supported exchanges; this works offline.
import ccxt print(ccxt.exchanges) # print a list of all available exchange classesRead 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', })
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['alpaca', 'apex', 'aster', 'backpack', 'bequant', ...]Mistakes to avoid
Each instance has its own limiter, and exceeding exchange limits can get the client banned.
The docs require it as the very first call.
The two kinds of keys do not work in each other's place.
The library's own retry covers server and network issues only.
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.