Net wrapper for the Kraken API as described on Kraken, including all features the API...

Net wrapper for the Kraken API as described on Issue

Net wrapper for the Kraken API as described on Kraken, including all features the API...


A .Net wrapper for the Kraken API as described on Kraken, including all features the API provides using clear and readable objects.

If you think something is broken, something is missing or have any questions, please open an Issue


Implementation is build upon the CryptoExchange.Net library, make sure to also check out the documentation on that: docs

Other CryptoExchange.Net implementations:







Implementations from third parties:












Donations are greatly appreciated and a motivation to keep improving.

Btc: 12KwZk3r2Y3JZ2uMULcjqqBvXmpDwjhhQS
Eth: 0x069176ca1a4b1d6e0b7901a6bc0dbf3bb0bf5cc2
Nano: xrb_1ocs3hbp561ef76eoctjwg85w5ugr8wgimkj8mfhoyqbx4s1pbc74zggw7gs


A Discord server is available here. For discussion and/or questions around the CryptoExchange.Net and implementation libraries, feel free to join.


Available on Nuget.

pm> Install-Package KrakenExchange.Net

To get started with Kraken.Net first you will need to get the library itself. The easiest way to do this is to install the package into your project using NuGet. Using Visual Studio this can be done in two ways.

Using the package manager

In Visual Studio right click on your solution and select 'Manage NuGet Packages for solution...'. A screen will appear which initially shows the currently installed packages. In the top bit select 'Browse'. This will let you download packages from the NuGet server. In the search box type 'KrakenExchange.Net' and hit enter. The KrakenExchange.Net package should come up in the results. After selecting the package you can then on the right hand side select in which projects in your solution the package should install. After you've selected all project you wish to install and use Kraken.Net in hit 'Install' and the package will be downloaded and added to you projects.

Using the package manager console

In Visual Studio in the top menu select 'Tools' -> 'NuGet Package Manager' -> 'Package Manager Console'. This should open up a command line interface. On top of the interface there is a dropdown menu where you can select the Default Project. This is the project that Kraken.Net will be installed in. After selecting the correct project type Install-Package KrakenExchange.Net in the command line interface. This should install the latest version of the package in your project.

After doing either of above steps you should now be ready to actually start using Kraken.Net.

Getting started

After installing it's time to actually use it. To get started you have to add the Kraken.Net namespace: using Kraken.Net;.

Kraken.Net provides two clients to interact with the Kraken API. The KrakenClient provides all rest API calls. The KrakenSocketClient provides functions to interact with the websocket provided by the Kraken API. Both clients are disposable and as such can be used in a using statement.

Release notes

  • Version 1.4.3 - 04 mei 2021

    • Added GetAvailableBalances endpoint
  • Version 1.4.2 - 28 apr 2021

    • Updated CryptoExchange.Net
  • Version 1.4.1 - 19 apr 2021

    • Fixed ICommonSymbol.CommonName implementation on KrakenSymbol
    • Updated CryptoExchange.Net
  • Version 1.4.0 - 12 apr 2021

    • Added GetWithdrawInfo endpoint
    • Added authenticated SubscribeToOrderUpdates and SubscribeToOwnTradeUpdates subscriptions on socket client
  • Version 1.3.2 - 30 mrt 2021

    • Updated CryptoExchange.Net
  • Version 1.3.1 - 01 mrt 2021

    • Added Nuget SymbolPackage
  • Version 1.3.0 - 01 mrt 2021

    • Added config for deterministic build
    • Updated CryptoExchange.Net
  • Version 1.2.3 - 22 jan 2021

    • Updated for ICommonKline
  • Version 1.2.2 - 14 jan 2021

    • Updated CryptoExchange.Net
  • Version 1.2.1 - 22 dec 2020

    • Added missing SetDefaultOptions for socket client
    • Fixed symbol name check for ETH2.S/ETH
  • Version 1.2.0 - 21 dec 2020

    • Update CryptoExchange.Net
    • Updated to latest IExchangeClient
  • Version 1.1.9 - 11 dec 2020

    • Updated CryptoExchange.Net
    • Implemented IExchangeClient
  • Version 1.1.8 - 19 nov 2020

    • Updated CryptoExchange.Net
  • Version 1.1.7 - 09 nov 2020

    • Fix string values for order book checksum
  • Version 1.1.6 - 09 nov 2020

    • Fixed symbol validation
    • Added string value properties to orderbook for checksum validation
  • Version 1.1.5 - 08 Oct 2020

    • Fixed withdraw endpoint
  • Version 1.1.4 - 08 Oct 2020

    • Added withdraw method
    • Fix close timestamp orders
    • Added OrderMin property on pair
    • Updated CryptoExchange.Net
  • Version 1.1.3 - 28 Aug 2020

    • Updated CryptoExchange.Net
  • Version 1.1.2 - 12 Aug 2020

    • Updated CryptoExchange.Net
  • Version 1.1.1 - 21 Jul 2020

    • Added checksum validation for KrakenSymbolOrderBook
  • Version 1.1.0 - 20 Jul 2020

    • Added two-factor authentication support
  • Version 1.0.8 - 21 Jun 2020

    • Updated CryptoExchange
  • Version 1.0.7 - 16 Jun 2020

    • Fix for KrakenSymbolOrderBook
  • Version 1.0.6 - 07 Jun 2020

    • Updated CryptoExchange.Net to fix order book desync
  • Version 1.0.5 - 03 Mar 2020

    • Fixed since parameter in GetRecentTrades endpoint
  • Version 1.0.4 - 27 Jan 2020

    • Updated CryptoExchange.Net
  • Version 1.0.3 - 12 Nov 2019

    • Added TradingAgreement parameter for placing orders for German accounts
  • Version 1.0.2 - 24 Oct 2019

    • Fixed order deserialization
  • Version 1.0.1 - 23 Oct 2019

    • Fixed validation length symbols
  • Version 1.0.0 - 23 Oct 2019

    • See CryptoExchange.Net 3.0 release notes
    • Added input validation
    • Added CancellationToken support to all requests
    • Now using IEnumerable<> for collections
    • Renamed Market -> Symbol
    • Renamed GetAccountBalance -> GetBalances
  • Version 0.0.4 - 15 Oct 2019

    • Fixed placing orders
    • Fixed possible missmatch in stream subscriptions
  • Version 0.0.3 - 24 Sep 2019

    • Added missing order type, added missing ledger transfer types
  • Version 0.0.2 - 10 Sep 2019

    • Added missing SetDefaultOptions and SetApiCredentials methods
  • Version 0.0.1 - 29 Aug 2019

    • Initial release

Quick list of the latest Issues we found



Icon For Comments2

Feature request Make all public/protected methods of client and socketclient virtual. I would like to override some methods to customize the clients. I can make a new client, but for small changes the inheritance would be preferable.



Icon For Comments1

Hi there,

I want to ask if you planning to add support for the futures API?

If not, I would do it then and propose a PR. My Idea would be to make this in a separate client class to have a clear separation.

Library Stats (Sep 21, 2022)

Subscribers: 9
Stars: 72
Forks: 41
Issues: 2

To build NServiceBus just open NServiceBus

You'll find the built assemblies in /binaries

To build NServiceBus just open NServiceBus

Use Razor to build templates from Files / EmbeddedResources / Strings / Database or your...

Use Razor to build templates from Files / EmbeddedResources / Strings / Database or your custom source outside of ASP

Use Razor to build templates from Files / EmbeddedResources / Strings / Database or your...

The AKEless Build System for C#/

NUKE is the best open-source build automation system for C#/

The AKEless Build System for C#/

Build on Windows

Many users entered valuable bug reports as well, thanks

Build on Windows

Public Build Status


Public Build Status

Use xubot-core to build with

Confirmed working on: Windows 10 x64, Ubuntu LTS, Debian (published as linux-x64)

Use xubot-core to build with

Mod Assistant is a PC mod installer for Beat Saber

Pull Request to add your theme as a built-in theme

Mod Assistant is a PC mod installer for Beat Saber

C# script tool for

TeamCity build runner or installed as a

C# script tool for

Step 1:- download project and build

Step 3:- Docker open and running

Step 1:- download project and build
Learning Blazor: Build Single-Page Apps with WebAssembly and C#

Authentication enables an application to support Swedish BankID (svenskt BankID) authentication in

Built on NET Standard and packaged as NuGet-packages they are easy to install and use on multiple platforms

Authentication enables an application to support Swedish BankID (svenskt BankID) authentication in