Blog
/

Does CEX.IO have an API?

Does Cex.io have an API?

Yes, Cex.io does have an API that provides access to real-time market data, trading operations, account balances, and more. However, an alternative to using Cex.io's public API is to use the Mesh API, which has built integrations with Cex.io, along with 300+ other digital asset exchanges and wallets. This enables developers to build products that give their users access to various cryptocurrency holdings, all without leaving their platform via the Mesh API.

About Cex.io

Cex.io, founded by Oleksandr Lutskevych in 2013, is a multi-functional cryptocurrency exchange based in London, England. The platform offers a range of services, including buying, selling, trading, holding, and earning cryptocurrencies. With a team of 11-50 employees, CEX.IO has a strong focus on safety, security, and compliance with legal and regulatory requirements. The company has expanded its presence globally, with offices in the United States and Lithuania, catering to millions of users worldwide.

General usage

Here's a brief summary of Cex.io’s APIs:

  1. WebSocket (WS) API: Primarily used for accessing real-time market data and trading operations, including accessing account balances, subscribing to order books, viewing and managing open order requests, and checking order history.
  2. REST API: Tailored for various trading and account-related functionalities. It provides capabilities for receiving real-time price feeds, accessing price charts, viewing trade history and account balances, and viewing and canceling open orders.
  3. Financial Information eXchange API: Mainly utilized at CEX.IO for electronic communication of trade-related messages. This API is ideal for placing and canceling trade orders, as well as receiving real-time market data and notifications.

Rate Limits

Here are the specific rate limits for Cex.io API:

  • Private API Calls:
  • Maximum points per minute: 200
  • Cost per typical private request: 1 point
  • API Rate Limit Exceeded: Returns a 429 status code

Note that when the API rate limit is exceeded, a 429 status will be returned, and Cex.io Exchange Plus will continue to serve the processing of Public API calls starting from the next calendar minute.

Authentication

This is how you authenticate your Cex.io API:

  1. Generate an API key and secret via the Exchange Plus Web Terminal in the API Keys Management Profile section.
  2. Create a payload by concatenating the action, timestamp, and request body string.
  3. Create a HMAC-SHA256 signature using the base64-decoded secret key on the payload and base64-encode the output.
  4. Include the X-AGGR-KEY, X-AGGR-TIMESTAMP, X-AGGR-SIGNATURE, and Content-Type headers in your REST requests.

Errors

Here are the most common API errors for Cex.io API:

  • Timestamp is not in 20sec range: This error indicates an invalid timestamp. To troubleshoot, ensure that the timestamp is within the 20-second range.
  • Invalid signature: This error occurs when the signature is invalid. To resolve this issue, double-check the signature for any errors.
  • Invalid API key: This error occurs when the mandatory field "key" is missing or incorrect. Make sure the API key is correct and included in the request.

Recent changes

Here are five of the most recent changes to the Cex.io API:

  • On 2023-12-20: REST API and WebSocket API methods like Internal Transfer, Deposit Address, Funds Deposit from Wallet, and Funds Withdrawal to Wallet can now only be used with sub-accounts.
  • On 2023-11-13: The New Order method in REST API and WebSocket API, which allows placing new orders, can now only be used with sub-accounts.
  • On 2023-10-26: WebSocket API updates for Execution Report Event Notifications were made. Execution Reports with executionType "Trade" will now contain additional new fields lastAmountCcy1 and lastAmountCcy2.
  • On 2023-10-26: Fields lastQuantity and lastPrice will soon be deprecated, so all Clients should switch to usage of new fields as soon as possible.
  • On 2023-10-10: A new Fee Strategy method was introduced in REST API and WebSocket API, which allows querying information about general fee strategy.

Troubleshooting tips for recent changes:

  1. For the changes made on 2023-12-20 and 2023-11-13, users should ensure they are using sub-accounts when using the affected methods.
  2. For the change made on 2023-10-26, users should switch to using the new fields as soon as possible as the old fields will soon be deprecated.
  3. For the change made on 2023-10-10, users should familiarize themselves with the new Fee Strategy method to understand all possible trading fee values that can be applied.

An alternative to the Cex.io API

While Cex.io's API offers a range of functionalities for trading and account management, using the Mesh API can provide additional benefits and streamline the integration process. Here are some reasons why using Mesh API is a better option than accessing Cex.io's API directly:

  • Single Integration for Multiple Exchanges: The Mesh API connects to over 300 brokerages, exchanges, and wallets, providing extensive flexibility and choice. This means that with just one integration, you can access not only Cex.io, but also a wide range of other platforms.
  • Streamlined Asset Management: The Mesh API simplifies the process of depositing assets, allowing transfers from various sources directly within your app for enhanced user convenience. This can help improve the overall user experience and reduce friction in the deposit process.

Start with Mesh today and experience the ease and efficiency of their cutting-edge API in your digital asset endeavors.

Related posts

Making Mesh work at scale
March 28, 2026
What it takes to make Mesh work at scale
business of delay
March 21, 2026
The business of delay
Demystifying the Travel Rule for crypto and stablecoins
March 19, 2026
Demystifying the Travel Rule for crypto and stablecoins
What We’re Building
March 14, 2026
What We’re Building | March 2026
Word salad
March 7, 2026
Is crypto's word salad freezing innovation?
Multiple platforms
February 28, 2026
Can't read, won't buy
Banks and crypto
February 21, 2026
The race for crypto bank charters
Dials
February 14, 2026
The AI revolution needs programmable money
Crypto regulation
February 7, 2026
5 regulatory trends to watch in Q1
Mesh logo
January 31, 2026
A note from our CEO
Mesh Raises $75M Series C at $1B Valuation
January 27, 2026
Mesh Raises $75M Series C at $1B Valuation
On-chain loyalty
January 24, 2026
Let’s put loyalty points on-chain
Mesh building
January 17, 2026
What We’re Building | January 2026
Cross-chain bridging in action
January 12, 2026
LIVE: Cross-chain bridging!
Application security
January 5, 2026
The new rules of application security
2026
January 3, 2026
Our 2026 predictions
2025
December 20, 2025
2025: A year in review
Paxos x Mesh
December 15, 2025
Mesh Partners with Paxos
Liquidity
December 13, 2025
The future is liquid
Mesh building
December 5, 2025
What We’re Building | December 2025
Mesh x Coverd
December 5, 2025
Mesh Partners wth Coverd
UK flag
November 29, 2025
Inside the UK’s new stablecoin framework
User knowledge
November 22, 2025
How to build “deep” user knowledge
Crypto tokens
November 15, 2025
Savviness ≠ spending frequency
Mesh building
November 8, 2025
What We’re Building | November 2025
Crypto onboarding
November 1, 2025
Onboarding is the real conversion bottleneck
Regulations
October 25, 2025
5 regulatory trends to watch in Q4
Verification
October 18, 2025
AML/KYC is broken and crypto can fix it
Mesh building
October 11, 2025
What We’re Building | October 2025
Agentic payments
October 4, 2025
Where crypto and AI converge
Modern customer success
September 27, 2025
Customer success is dead
AI and crypto converging
September 20, 2025
Our two bold steps into the agentic age
Mesh is building
September 13, 2025
What We’re Building | September 2025
Crypto ecosystem
August 30, 2025
In defense of a crowded crypto ecosystem
Mesh engineering team
August 28, 2025
How to nail engineering onboarding
Puzzle piece
August 23, 2025
The missing piece to stablecoin adoption
Levl x Mesh
August 21, 2025
Mesh Partners with Levl
RedotPay x Mesh
August 13, 2025
Mesh Partners with RedotPay
Ripple x Mesh
August 12, 2025
Mesh Adds Support for Ripple USD (RLUSD)
Trump's crypto report
August 9, 2025
Trump’s giant crypto report summarized
August 4, 2025
Mesh Partners with AEON
Alchemy Pay x Mesh
August 1, 2025
Mesh Partners with Alchemy Pay
Indian flag
July 26, 2025
Mesh is expanding to India
Gabriele Galli at ETHMilan
July 19, 2025
Voices from the crypto circuit
Crypto wallet
July 12, 2025
Ignore Gen Z at your peril
Stablecoins used for corporate treasury management
July 5, 2025
Stablecoins are winning CFOs over
Stablecoins flowing
June 28, 2025
Accelerating finance with stablecoins
Mesh UX screens
June 21, 2025
How we build trust through UX design
Senate floor
June 18, 2025
The GENIUS Act in 5 numbers
Stablecoin Market Map
June 2, 2025
Stablecoin funding to surge $11.3B
Different types of stablecoins
May 28, 2025
How stablecoins will reshape corporate treasuries
Mesh CEO Bam Azizi on Fox News
May 20, 2025
Stablecoin bill clears major hurdle
Mesh Raises $82M Series B
March 11, 2025
Mesh Raises $82M to Build the Future of Crypto Payments
Shift4 + Mesh
October 28, 2024
Mesh Partners with Shift4 to Enable Seamless Crypto Payments
MetaMask and Mesh
October 22, 2024
Streamlining Crypto Onboarding
MetaMask and Mesh
September 17, 2024
Supercharging Crypto Management: Mesh Deposit Live in MetaMask Portfolio
Mesh Verify screen
August 7, 2024
Identity Verification
User attestation screens
August 1, 2024
User Attestation
Satoshi Test screen
July 30, 2024
Satoshi Test
Dark Theme Screens
July 27, 2024
Dark Theme
Mesh Verify Screen
July 22, 2024
Mesh Verify
Converts screen
July 8, 2024
Converts
Mesh Payout Screen
June 27, 2024
Mesh Payout
AI Innovation
May 14, 2024
Mesh Copilot
Mesh and MetaMask Institutional partnership image
April 30, 2024
Mesh and MetaMask Institutional: Engineering Next-Level Portfolio Management
Mesh Ramp Screen
April 29, 2024
Mesh Ramp
Mesh and MetaMask partnership image
April 16, 2024
Mesh and MetaMask: Revolutionizing Digital Asset Management Through Innovation
Mesh Pay Screen
April 1, 2024
Mesh Pay
Mesh Deposit screen
February 27, 2024
Mesh Deposit
Rabby Wallet
January 31, 2024
Does Rabby Wallet have an API?
f(x) Wallet
January 25, 2024
Does f(x) Wallet have an API?
Unstoppable Wallet
January 25, 2024
Does Unstoppable Wallet have an API?
Keyring Pro
January 25, 2024
Does Keyring Pro have an API?
Bitpanda Custody
January 25, 2024
Does Bitpanda Custody have an API?
Paraswap Wallet
January 25, 2024
Does ParaSwap Wallet have an API?
LATOKEN Multichain DeFi Wallet
January 25, 2024
Does LATOKEN Multichain DeFi Wallet have an API?
Loopring Wallet
January 25, 2024
Does Loopring Wallet have an API?
Hotcoin
January 25, 2024
Does Hotcoin Global have an API?
KyberSwap
January 25, 2024
Does KyberSwap have an API?
Rootstock
January 18, 2024
Does Rootstock have an API?
Huobi
January 18, 2024
Does Huobi have an API?
Poloniex
January 18, 2024
Does Poloniex API have an API?
Gate.io
January 18, 2024
Does Gate.io have an API?
Bitski
January 18, 2024
Does Bitski have an API?
Crossmint
January 18, 2024
Does Crossmint have an API?
OkCoin
January 18, 2024
Does OkCoin have an API?
okx
January 18, 2024
Does Okx have an API?
WhiteBIT
January 12, 2024
Does WhiteBIT have an API?
1inch Wallet
January 12, 2024
Does 1inch Wallet have an API?
BitForex
January 12, 2024
Does BitForex have an API?
Coincheck
January 12, 2024
Does Coincheck have an API?
Tapbit
January 12, 2024
Does Tapbit have an API?
BingX
January 12, 2024
Does BingX have an API?
Deepcoin
January 12, 2024
Does Deepcoin have an API?
Bridge Wallet
January 12, 2024
Does Bridge Wallet have an API?
January 12, 2024
Does Bitget Wallet have an API?
January 5, 2024
Does Coinlist have an API?
January 5, 2024
Does Gemini have an API?
January 5, 2024
Does BitFlyer have an API?
Kraken
January 4, 2024
Does Kraken have an API?