CEX.IO Crypto Trading & Exchange API
Easily set up your CEX.IO API, start trading and make the most out of the crypto market opportunities.

Unlock the advantages: Discover the power of CEX.IO Trading API
Details
CEX.IO Spot Trading
Private rate limit 200 per minute* Public rate limit 100 per minute Latency More suitable for market takers & algorithmic traders Programming languages Node.js library Spread Low Liquidity Deep Order types Market, Limit, and Stop Limit (OCO & Trailing Stop are coming soon) Sub-accounts Five* Personal account manager Available Fee schedule Balanced Supported countries Available for countries where Spot Trading is supported *May be increased by user request
Best APIs for Crypto Traders
CEX.IO provides free crypto API channels for cryptocurrency traders, which
are some of the most commonly used APIs in the industry:
WebSocket (WS)
Access your account balances Subscribe to order books on the exchange View your open orders Place new orders Cancel orders View your order history Receive real-time market data
REST
Receive real-time price feeds (such as Bitcoin market data API) Access price charts View your trade history View your account balance View your open orders by pair Cancel orders
CEX.IO API enables you to:
Trade crypto 24/7
even when you’re offline
Implement
automated trading strategies
Obtain
real-time and historical market data from the exchange
Place
a variety of trading orders
Receive
information about your account balance
Integrate
trading bots and third-party trading terminals
How to start using the CEX.IO API
1. Generate your API keys
Choose permissions you want to give and click on ‘Create API key’.
2. Save the key and secret
This information is necessary when connecting to your preferred trading platform. Once you activate the key, a secret will be hidden.
3. Activate your keys
Click the Activate button on a dedicated page to finish the API setup process for your account.

Algorithmic trading strategies with CEX.IO APIs
Momentum trading
Make use of short-term price volatility to trade short-term trends. Purchase cryptocurrencies on sharp price declines or crashes; in other words, buy them at support levels and then sell them at resistance.
Arbitrage trading
Benefit from the price disparities across two or more markets for the same asset. In that sense, arbitrage traders buy an asset in one crypto exchange, to sell the same asset for a higher price in a different exchange.
Sentiment trading
Capture the sentiment of the market with the use of API technology. With API trading, you can quickly retrieve sentiment data.
Volume-weighted average price trading
Profit from price deviations by opening short or long positions when the market price significantly deviates away from the volume-weighted average (VWAP).
Benefits of CEX.IO
2013
Market entry year
5M+
Registered users
200+
Cryptocurrency markets
0%
Maker fee for $10M+ trading volume
FAQ
How do I start using crypto API tools?
Just link your terminal to a broker’s automated trading system, which is typically a crypto exchange API, to execute quick and efficient trades. The exchange API allows you to code algorithmic trades that execute at hyperkinetic speeds.
Based on your code, algorithms can automatically buy cryptocurrency , or convert BTC to USD on a crypto trading platform, at a frequency that would be impossible with manual work.
What is the rate limit for the REST API at CEX.IO?
A rate limit is the number of requests that you can send to an exchange per minute, from your terminal. The private rate limit for REST API on CEX.IO Exchange is 600 transactions every 10 minutes, while the public one is 300 transactions each 10 minutes. If using CEX.IO Spot Trading, API traders can take advantage of 100/200 requests per minute (public/private).
How do I use CEX.IO API solutions?
CEX.IO API can be used in multiple ways depending on what a trader wants to achieve. Here are some of the most common approaches to take advantage of CEX.IO API:
- Automation — Use CEX.IO API to automate your trades, and take advantage of crypto opportunities 24/7.
- Backtesting — Import historical market data to create and test your trading plan.
- Wide presence on the market — Execute your trades on multiple markets at the same time.
- Advanced strategies — Utilize high precision and fast execution of orders performed via CEX.IO API.
After generating and activating the API key, what should I do to enable CEX.IO API to access my trading bot’s remote API, which might be on another device?
You do not need to do anything else. Just keep your API connection on the same device you used to set it up.
Is it possible to place a limit order with the Immediate or Cancel principle?
Yes, you can place it when you use Spot Trading. However, this feature is not supported on the legacy CEX.IO Exchange.
What order types are available via CEX.IO API?
The suite of supported order types depends on what platform you use for API trading. On CEX.IO Exchange, you can use only Market and Limit orders to execute your trades.
On the other hand, CEX.IO Spot Trading features Market, Limit, and Stop Limit orders. One Cancels the Other (OCO) and Trailing Stop orders will be added soon. By default, Limit and Stop Limit orders follow Good Till Cancel (GTC) policy on Spot Trading. Additionally, traders may apply the Good Till Date (GTD) and Immediate Or Cancel (IOC) principles for Limit orders if necessary.
Can I increase the rate limit per minute?
Yes, if you need to increase your rate limit, contact our support team via live chat.
How do I use CEX.IO API solutions?
It’s very simple to use a crypto trading API on CEX.IO. Follow the five steps below to quickly set up and activate your API:
- Scroll to the Profile symbol on the right top corner of your CEX.IO account homepage and click API in the dropdown menu.
- On the next page, select the functions and data streams you want to import. These consist of place order, cancel order, account balance, open orders, and open positions.
- Once you select the permissions you need, click on the Generate Key button.
- You will then see in the below table, next to your user ID, a new API key and a private key to use with that API access. You will need this information when you connect to the CEX.IO exchange from your account.
- Finally, click on the Activate button on the right side and finish the API setup process for your account.
What are the benefits of trading with CEX.IO APIs?
- Never miss an opportunity: CEX.IO APIs can monitor an unlimited number of markets around the clock, so that you can take advantage of any emerging opportunities.
- Arbitrage opportunities: CEX.IO APIs can identify and execute arbitrage opportunities automatically on your behalf, no matter how long the price disparity has been present.
- Speed: With CEX.IO APIs, trades are executed instantaneously whenever a set of predetermined conditions are met.
- Remove human emotions and error: Tides change very quickly in crypto markets, which can take a toll on your emotions, regardless of experience level.
What API channel should I choose?
The REST API is better suited for dealing with your trade orders, while the WebSocket API is suited for both placing orders and retrieving market data. The WebSocket API provides three times more information per request than the REST API.
To make a crypto exchange API comparison, you can consult the algorithm repository of each available API channel on CEX.IO.
How can CEX.IO API help remove emotions from your trading?
Emotion in trading is historically known to be a profit-killer in financial markets, so adopting a systematic and unbiased methodology to crypto trading is essential.
That is where the CEX.IO APIs come to the rescue. You can program predetermined conditions into your terminal which will instruct the APIs to execute trades when those predetermined conditions are triggered. This will in return eliminate the negative consequences of human sentiment and irrational thinking.
How do crypto trading platforms work?
A crypto API trading platform is a prebuilt, third-party application that connects to an exchange. Such platforms import data from the CEX.IO exchange, and allow traders to build their trading strategies.
Traders can build strategies based on a plethora of indicators available on CEX.IO. Trading applications typically consist of a set of indicators, while some applications let you import additional indicators from other external data sources.
Can I use momentum trading strategy with a CEX.IO API?
Momentum trading is best practiced using a combination of multiple price and momentum indicators. Leveraging APIs to import indicator data allows traders to build automated strategies around multiple indicators, and manipulate exchange data to build additional momentum indicators, such as moving averages.
One of the approaches to momentum trading is purchasing crypto assets when their momentum indicators climb above certain resistance levels, and selling them when the indicators get tired and weak. Common momentum indicators include the relative strength index (RSI), the stochastic RSI (stochRSI), the moving average convergence divergence (MACD) indicator, as well as the combination of short and longer-term moving averages.
While developing a momentum trading strategy, traders input specific data points for each momentum indicator, which triggers a trade when that value is realized.
How do I use CEX.API for arbitraging?
Arbitrage opportunities across different exchanges are typically valid for a few minutes or even seconds, before the price gap is closed by traders at the cheaper exchange. Due to this, it is close to impossible to manually withdraw funds from one exchange, deposit them to the cheaper exchange, and execute a sell order before the price gap closes.
This is where arbitrage trading with APIs comes to the rescue. The use of APIs allows price differences across markets to be identified immediately, while large capital allocations can confidently be moved with the precision of a computer.
When I send an API request to cancel an order, does it count towards the API rate limit?
Yes. Your cancel order request gets deducted from your transaction limit per minute.
Is it possible to cancel multiple orders in one single request using multiple order IDs?
Yes, however, you should note that canceling multiple orders with one single request does not count as a single request in the API channels. The total number of orders you are canceling gets deducted from your transaction limit.
Can I receive the withdrawal/transfer fees per coin via an API call?
Depositing and withdrawing funds are not yet allowed in the CEX.IO API channels. To do that, you need to go to your CEX.IO account and deposit or withdraw your funds manually.
How can I get the decimal precision for the amount in each book?
Currently, you cannot receive the decimal precisions for the order amounts. Stay tuned for more updates from our API team.
When I place a limit order, is it possible to place it as immediate-or-cancel?
You cannot yet place immediate-or-cancel orders, but placing a market order would give you the same result.
Is it possible to withdraw funds from my CEX.IO account using API?
Currently, this function is not yet available on the CEX.IO API channels. To withdraw funds, you need to log in to your CEX.IO account and click on the Withdraw button on the right top corner of your CEX.IO homepage.
Is it possible to set a whitelist of addresses to withdraw?
As customers cannot withdraw funds from API channels, it is currently not possible to set a whitelist for withdrawal addresses either.
In case I would like to connect my account with an API, what happens when I click on the Open orders permission?
Enabling the open orders permission means you will be able to send trading requests with the APIs. If you don’t enable this permission, you will not be able to trade, and you will only be able to access historical trading data.
After generating and activating the API Key, what do I do next to enable CEX.IO API to access my bot remote API ,which might be on another device?
You do not need to do anything else. You just need to keep your API connection on the same device that you set it up.
Can I link the CEX.IO Wallet to my trading platform?
Since the deposit and withdrawal functions are not available now, you cannot link the CEX.IO wallet to your trading platform.