Blog
/
Does Crypto.com have an API?

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

May 14, 2024
Mesh Copilot
April 29, 2024
Mesh Ramp
April 30, 2024
Mesh and MetaMask Institutional: Engineering Next-Level Portfolio Management
April 16, 2024
Mesh and MetaMask: Revolutionizing Digital Asset Management Through Innovation
April 1, 2024
Mesh Pay
February 27, 2024
Mesh Deposit
January 25, 2024
Does f(x) Wallet have an API?
January 25, 2024
Does Unstoppable Wallet have an API?
January 25, 2024
Does ParaSwap Wallet have an API?
January 25, 2024
Does Bitpanda Custody have an API?
January 25, 2024
Does Keyring Pro have an API?
January 25, 2024
Does LATOKEN Multichain DeFi Wallet have an API?
January 25, 2024
Does KyberSwap have an API?
Does Omni Wallet have an API?
January 25, 2024
Does Loopring Wallet have an API?
January 25, 2024
Does Hotcoin Global have an API?
January 18, 2024
Does Gate.io have an API?
January 18, 2024
Does Poloniex API have an API?
January 18, 2024
Does Huobi have an API?
January 18, 2024
Does Rootstock have an API?
January 18, 2024
Does OkCoin have an API?
January 18, 2024
Does Crossmint have an API?
January 12, 2024
Does 1inch Wallet have an API?
January 18, 2024
Does Bitski have an API?
January 12, 2024
Does BitForex have an API?
January 12, 2024
Does Coincheck have an API?
January 12, 2024
Does WhiteBIT have an API?
January 12, 2024
Does Deepcoin have an API?
January 12, 2024
Does Tapbit have an API?
January 4, 2024
Does Kraken have an API?
January 5, 2024
Does Coinlist have an API?
January 12, 2024
Does BingX have an API?
January 5, 2024
Does Gemini have an API?
January 5, 2024
Does BitFlyer have an API?
December 8, 2023
Does Atomic Wallet have an API?
January 3, 2024
Does Coinbase have an API?
December 8, 2023
Does Assure Wallet have an API?
December 8, 2023
Does FIL Wallet have an API?
December 8, 2023
Does SafePal have an API?
December 8, 2023
Does UniPass have an API?
December 8, 2023
Does S-One Wallet have an API?
December 8, 2023
Does Brave Wallet have an API?
December 8, 2023
Does Sequence Wallet have an API?
December 8, 2023
Does KEYRING PRO have an API?
January 12, 2024
Does Bridge Wallet have an API?
December 8, 2023
Does Coinhub have an API?
December 8, 2023
Does Pier have an API?
December 8, 2023
Does XinFin XDC Network have an API?
December 8, 2023
Does Omni Wallet have an API?
December 8, 2023
Does Bifrost Wallet have an API?
December 8, 2023
Does KyberSwap have an API?
December 8, 2023
Does Card Wallet have an API?
December 8, 2023
Does ONTO have an API?
December 8, 2023
Does THOR Wallet have an API?
December 8, 2023
Does fuse.cash have an API?
January 3, 2024
Does Bitstamp API have an API?
January 3, 2024
Does WeBull have an API?
January 4, 2024
Does KuCoin API have an API?
November 23, 2023
Does Coinbase have an API?
January 4, 2024
Does BlockChain Wallet have an API?
November 20, 2023
Does Coin98 have an API?
November 17, 2023
Does Klever Wallet have an API?
November 17, 2023
Does Unstoppable Domains have an API?
November 17, 2023
Does Plasma Wallet have an API?
November 14, 2023
Does Bitpanda Custody have an API?
November 17, 2023
Does Loopring Wallet have an API?
November 14, 2023
Does Ledger Live have an API?
November 14, 2023
Does Nash have an API?
November 14, 2023
Does f(x) Wallet have an API?
November 14, 2023
Does KryptoGO Wallet have an API?
January 12, 2024
Does Bitget Wallet have an API?
November 14, 2023
Does Token Pocket have an API?
November 14, 2023
Does Keplr have an API?
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?
January 4, 2024
Does Alpaca have an API?
January 3, 2024
Does Bybit have an API?
November 3, 2023
Does Exodus have an API?
October 18, 2023
Does Binance have an API?
January 18, 2024
Does Okx have an API?
January 17, 2023
4 best brokerage accounts for new investors to open
October 9, 2023
Does eToro have an API?
October 9, 2023
Does MetaMask have an API?
January 4, 2024
Does OpenSea have an API?
July 5, 2023
Why Ease of Use for Digital Asset Transfer Is Important
January 3, 2024
Does Bitfinex have an API?