Blog
/
Does Crypto.com have an API?
Crypto.com

Does Crypto.com have an API?

Yes, Crypto.com does have an API, specifically the Exchange API v1, which offers REST and WebSocket interfaces. It covers various functionalities such as reference and market data, account balance and position, trading, advanced order management, order, trade, transaction history, wallet management, and WebSocket subscriptions. However, an alternative to using Crypto.com's public API is to use Mesh, which has built integration with Crypto.com along with 300+ other digital asset exchanges and wallets.

About Crypto.com

Founded in 2016 by Bobby Bao, Gary Or, Kris Marszalek, Rafael Melo, and Roger Ver, Crypto.com is a Singapore-based platform that enables users to buy, sell, and pay with cryptocurrencies. With over 10 million customers, the company offers a range of services, including a crypto app, a crypto card program, an exchange, a DeFi wallet, and an NFT platform.

General usage

Crypto.com’s API provides developers with REST and WebSocket interfaces:

  1. REST API: Ideal for web and mobile applications, it handles various requests using HTTP/HTTPS protocols. It's used for account management, trading, and accessing market data.
  2. WebSocket Feed: Provides real-time data streaming, essential for applications needing immediate updates like live price tracking or order book changes.

Rate Limits

Here are some specific rate limits for various endpoints for Crypto.com’s API:

  • Authenticated Calls (per API method, per API key):
  • private/create-order, private/cancel-order, private/cancel-all-orders: 15 requests per 100ms each
  • private/get-order-detail: 30 requests per 100ms
  • private/get-trades, private/get-order-history (REST API): 1 request per second
  • private/get-trades, private/get-order-history (WebSocket): 5 requests per second
  • Public Market Data Calls (per API method, per IP address):
  • public/get-book, public/get-ticker, public/get-trades, public/get-valuations, public/get-candlestick, public/get-insurance: 100 requests per second each

It is recommended to add a 1-second sleep after establishing the websocket connection and before sending requests to avoid rate-limit errors.

Authentication

This is how you authenticate your requests to the Crypto.com API:

  1. Generate an API key on the Exchange website under "User Center" - "API".
  2. Note down the API Key and Secret Key after generation.
  3. Set the appropriate permissions for your API key via the Web UI.
  4. Optionally, specify a whitelist of IP addresses when generating the API Key.
  5. For REST API, include the digital signature (as "sig") and API key (as "api_key") in your private method requests. For WebSocket (User API), invoke the "public/auth" command once per session with the digital signature and API key as part of the request.

Errors

Here are three examples of error codes you might receive when using the Crypto.com API:

  • INVALID_NONCE: Ensure that the nonce is the UTC Unix timestamp in milliseconds and that the system clock of the client machine is synchronized with the NTP time server. If errors persist, try subtracting a few seconds from the nonce to force it to be within the 60-second past tolerance.
  • TOO_MANY_REQUESTS: Add a 1-second sleep after establishing the WebSocket connection and before sending requests to ensure the rate limit is properly reset and synced to your session.
  • UNAUTHORIZED: Verify that the API key and digital signature are correct. If the issue persists, double-check the API key permissions and IP address whitelist.

Recent changes

Here are five of the most recent changes to the Crypto.com API:

  • 2023-12-11: Introduced Market Data subscription limiting.
  • 2023-10-31: Updates to user.balance and private/user-balance endpoints, including new fields and deprecations related to margin balance calculations and collateral token assets.
  • 2023-08-11: Added private/create-order-list (LIST) for batch order creation and private/cancel-order-list (LIST) for batch order cancellation.
  • 2023-07-31: Market Data Websocket Subscriptions became effective, with new channels for funding rates and estimated funding rates.
  • 2023-06-28: Added private/get-deposit-history and private/get-withdrawal-history endpoints.

An alternative to the Crypto.com API.

As highlighted earlier, Mesh stands out as an excellent alternative to Crypto.com’s API, especially for developers and businesses seeking a seamless and integrated user experience in handling cryptocurrency deposits, transfers and payments. Below are some key features of Mesh's API:

  • Integrated User Experience: Mesh seamlessly embeds cryptocurrency deposit, transfer and payment functionalities into your app, offering a smooth user journey.
  • Broad Connectivity: With a single integration, Mesh connects to over 300 brokerages, exchanges, and wallets, providing extensive flexibility and choice.
  • Simplified Asset Management: The API eases the process of depositing assets, allowing transfers from various sources directly within your app for enhanced user convenience.
  • Cost Benefits: Mesh offers an enterprise subscription pricing model with volume discounts available based on contract duration and/or minimum monthly commitment. See the Mesh Pricing page for more details.

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

Related posts

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 Ramp Screen
April 29, 2024
Mesh Ramp
Mesh and MetaMask Institutional partnership image
April 30, 2024
Mesh and MetaMask Institutional: Engineering Next-Level Portfolio Management
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
f(x) Wallet
January 25, 2024
Does f(x) Wallet have an API?
Unstoppable Wallet
January 25, 2024
Does Unstoppable Wallet have an API?
Paraswap Wallet
January 25, 2024
Does ParaSwap Wallet have an API?
Bitpanda Custody
January 25, 2024
Does Bitpanda Custody have an API?
Keyring Pro
January 25, 2024
Does Keyring Pro have an API?
LATOKEN Multichain DeFi Wallet
January 25, 2024
Does LATOKEN Multichain DeFi Wallet have an API?
KyberSwap
January 25, 2024
Does KyberSwap have an API?
Omni Wallet
Does Omni 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?
Gate.io
January 18, 2024
Does Gate.io have an API?
Poloniex
January 18, 2024
Does Poloniex API have an API?
Huobi
January 18, 2024
Does Huobi have an API?
Rootstock
January 18, 2024
Does Rootstock have an API?
OkCoin
January 18, 2024
Does OkCoin have an API?
Crossmint
January 18, 2024
Does Crossmint have an API?
1inch Wallet
January 12, 2024
Does 1inch Wallet have an API?
Bitski
January 18, 2024
Does Bitski have an API?
BitForex
January 12, 2024
Does BitForex have an API?
Coincheck
January 12, 2024
Does Coincheck have an API?
WhiteBIT
January 12, 2024
Does WhiteBIT have an API?
Deepcoin
January 12, 2024
Does Deepcoin have an API?
Tapbit
January 12, 2024
Does Tapbit have an API?
Kraken
January 4, 2024
Does Kraken have an API?
January 5, 2024
Does Coinlist have an API?
BingX
January 12, 2024
Does BingX have an API?
January 5, 2024
Does Gemini have an API?
January 5, 2024
Does BitFlyer have an API?
Atomic Wallet
December 8, 2023
Does Atomic Wallet have an API?
Coinbase
January 3, 2024
Does Coinbase have an API?
Assure Wallet
December 8, 2023
Does Assure Wallet have an API?
FIL Wallet
December 8, 2023
Does FIL Wallet have an API?
SafePal
December 8, 2023
Does SafePal have an API?
UniPass
December 8, 2023
Does UniPass have an API?
S-ONE Wallet
December 8, 2023
Does S-One Wallet have an API?
Brave Wallet
December 8, 2023
Does Brave Wallet have an API?
Sequence Wallet
December 8, 2023
Does Sequence Wallet have an API?
KEYRING PRO
December 8, 2023
Does KEYRING PRO have an API?
Bridge Wallet
January 12, 2024
Does Bridge Wallet have an API?
Coinhub
December 8, 2023
Does Coinhub have an API?
pier
December 8, 2023
Does Pier have an API?
XinFin XDC Network
December 8, 2023
Does XinFin XDC Network have an API?
Omni Wallet
December 8, 2023
Does Omni Wallet have an API?
Bifrost Wallet
December 8, 2023
Does Bifrost Wallet have an API?
KyberSwap
December 8, 2023
Does KyberSwap have an API?
Card Wallet
December 8, 2023
Does Card Wallet have an API?
ONTO
December 8, 2023
Does ONTO have an API?
THOR Wallet
December 8, 2023
Does THOR Wallet have an API?
fuse.cash
December 8, 2023
Does fuse.cash have an API?
Bitstamp
January 3, 2024
Does Bitstamp API have an API?
WeBull
January 3, 2024
Does WeBull have an API?
KuCoin
January 4, 2024
Does KuCoin API have an API?
Coinbase
November 23, 2023
Does Coinbase have an API?
BlockChain
January 4, 2024
Does BlockChain Wallet have an API?
Coin98
November 20, 2023
Does Coin98 have an API?
Klever Wallet
November 17, 2023
Does Klever Wallet have an API?
Unstoppable Domains
November 17, 2023
Does Unstoppable Domains have an API?
Plasma Wallet
November 17, 2023
Does Plasma Wallet have an API?
Bitpanda Custody
November 14, 2023
Does Bitpanda Custody have an API?
Loopring Wallet
November 17, 2023
Does Loopring Wallet have an API?
Ledger Live
November 14, 2023
Does Ledger Live have an API?
Nash
November 14, 2023
Does Nash have an API?
f(x) Wallet
November 14, 2023
Does f(x) Wallet have an API?
KryptoGO Wallet
November 14, 2023
Does KryptoGO Wallet have an API?
January 12, 2024
Does Bitget Wallet have an API?
Token Pocket
November 14, 2023
Does Token Pocket have an API?
Kepler
November 14, 2023
Does Keplr have an API?
Para Wallet
November 14, 2023
Does Para Wallet have an API?
November 9, 2023
Does Zelus have an API?
November 9, 2023
Does Uniswap Wallet have an API?
November 9, 2023
Does BC Vault have an API?
November 9, 2023
Does imToken have an API?
January 4, 2024
Does Zerion Wallet have an API?
November 9, 2023
Does Wirex Wallet have an API?
January 18, 2024
Does CEX.IO have an API?
Alpaca
January 4, 2024
Does Alpaca have an API?
January 3, 2024
Does Bybit have an API?
Exodus
November 3, 2023
Does Exodus have an API?
binance
October 18, 2023
Does Binance have an API?
okx
January 18, 2024
Does Okx have an API?
etoro
October 9, 2023
Does eToro have an API?
metamask
October 9, 2023
Does MetaMask have an API?
opensea
January 4, 2024
Does OpenSea have an API?
digital asset transfer
July 5, 2023
Why Ease of Use for Digital Asset Transfer Is Important
bitfinex
January 3, 2024
Does Bitfinex have an API?