Blog
/
Does Kraken have an API?

Does Kraken have an API?

Yes, Kraken does have an API that offers access to public market data and private account information, including trading and funding options. However, an alternative to using Kraken's public API is to use Mesh, which has built integration with Kraken along with 300+ other digital assets. This allows developers to build products that provide access to various cryptocurrencies, all from within the Mesh platform.

About Kraken

Founded in 2011 by Jesse Powell, Kraken is a cryptocurrency exchange based in San Francisco, California. The platform allows users to buy, sell, and trade over 200 cryptocurrencies, with a mission to accelerate the adoption of cryptocurrency for financial freedom and inclusion. Kraken has grown to serve over 7 million clients and employs between 1,001 and 5,000 people. In addition to spot and futures trading, Kraken offers staking, advanced trading through Kraken Pro, and a mobile app for convenient access to the platform.

General usage

The Kraken offers several functionalities with their REST API:

  1. REST API: Kraken's REST API offers comprehensive functionalities including market data retrieval, account and trade management, funding operations, subaccount features, and staking capabilities, catering to a wide range of trading and investment needs.

Rate Limits

Kraken REST API’s rate limits are:

  • REST API Rate Limits:
  • Starter Tier: Max API Counter 15, Decay -0.33/sec
  • Intermediate Tier: Max API Counter 20, Decay -0.5/sec
  • Pro Tier: Max API Counter 20, Decay -1/sec
  • Ledger/trade history calls increase counter by 2, other calls by 1
  • Matching Engine Rate Limits:
  • Starter Tier: Max Num Orders 60, Max Ratecount 60, Decay -1/sec
  • Intermediate Tier: Max Num Orders 80, Max Ratecount 125, Decay -2.34/sec
  • Pro Tier: Max Num Orders 225, Max Ratecount 180, Decay -3.75/sec
  • Penalties for order placements/cancellations vary based on order lifetime

Authentication

This is how you authenticate your Kraken API:

  1. Generate an API key via the Kraken website, and note down the key and secret.
  2. Choose the appropriate permissions for your API key based on your needs.
  3. Include the API-Key and API-Sign headers in your REST requests.
  4. Create a nonce as an always increasing, unsigned 64-bit integer for each request made with a particular API key. A common method for generating a valid nonce is to use a UNIX timestamp in milliseconds.
  5. Create the API-Sign header by generating an HMAC-SHA512 of the URI path and SHA256(nonce + POST data), using the base64-decoded secret API key. Base64-encode the resulting signature and include it in the API-Sign header.

Errors

Here are the common errors for Kraken API:

  • EGeneral: Invalid arguments - Check if the request payload is malformed, incorrect, or ambiguous.
  • EService: Unavailable - Ensure that the matching engine or API is online and not in cancel_only or post_only mode.
  • EAPI: Invalid key - Verify that the API key is valid and correctly supplied in the request headers. Make sure the API key has the necessary permissions for the requested action.

Recent changes

Here are four of the most recent changes to Kraken API:

  • Dec 2023: Added support for trailing-stop and trailing-stop-limit order types. If you encounter issues with these new order types, ensure that your application is using the correct syntax and parameters.
  • Nov 2023: Added WithdrawMethods and WithdrawAddresses endpoints, and start, end, cursor, and limit parameters to WithdrawStatus. To troubleshoot issues with these new endpoints and parameters, double-check your request formatting and ensure you're using the correct endpoint URLs and parameter names.
  • Oct 2023: Added max_fee parameter to Withdraw and minimum field in response for DepositMethods. If you experience issues with these new parameters and fields, verify that your application is using the correct parameter names and handling the new response fields correctly.
  • Sep 2023: Added start, end, cursor, and limit parameters to DepositStatus. To resolve issues with these new parameters, ensure your application is using the correct parameter names and values, and that your requests are formatted correctly.
  • Aug 2023: Added Earn service documentation. If you encounter issues with the new Earn service, consult Kraken API.

An alternative to the Kraken API

Mesh is a great pick over KuCoin's API, especially for developers and companies who want an easy and all-in-one experience with cryptocurrency dealings. Below are the main features of Mesh's API:

  • Ease of use: Mesh simplifies the process of funding wallets with external assets, providing an embedded, guided asset deposit experience that keeps customers within your app.
  • Extensive connectivity: With a single integration, Mesh connects to over 300 brokerages, centralized exchanges, and self-custody wallets, offering a broad range of options for your customers.
  • Cost benefits: Mesh offers two pricing models, "Pay-as-you-go" and "Enterprise subscription," with volume discounts available based on contract duration and/or minimum monthly commitment.

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

Related posts

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 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 29, 2023
Does Crypto.com 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?