![]() |
VOOZH | about |
dotnet add package KrakenExchange.Net --version 7.12.0
NuGet\Install-Package KrakenExchange.Net -Version 7.12.0
<PackageReference Include="KrakenExchange.Net" Version="7.12.0" />
<PackageVersion Include="KrakenExchange.Net" Version="7.12.0" />Directory.Packages.props
<PackageReference Include="KrakenExchange.Net" />Project file
paket add KrakenExchange.Net --version 7.12.0
#r "nuget: KrakenExchange.Net, 7.12.0"
#:package KrakenExchange.Net@7.12.0
#addin nuget:?package=KrakenExchange.Net&version=7.12.0Install as a Cake Addin
#tool nuget:?package=KrakenExchange.Net&version=7.12.0Install as a Cake Tool
π .NET
π License
π Since
Kraken.Net is a strongly typed client library for accessing the Kraken REST and Websocket API.
The library is targeting both .NET Standard 2.0 and .NET Standard 2.1 for optimal compatibility, as well as the latest dotnet versions to use the latest framework features.
| .NET implementation | Version Support |
|---|---|
| .NET Core | 2.0 and higher |
| .NET Framework | 4.6.1 and higher |
| Mono | 5.4 and higher |
| Xamarin.iOS | 10.14 and higher |
| Xamarin.Android | 8.0 and higher |
| UWP | 10.0.16299 and higher |
| Unity | 2018.1 and higher |
π NuGet version
π Nuget downloads
dotnet add package KrakenExchange.Net
Kraken.Net is available on GitHub packages. You'll need to add https://nuget.pkg.github.com/JKorf/index.json as a NuGet package source.
The NuGet package files are added along side the source with the latest GitHub release which can found here.
Basic request:
// Get the ETH/USD ticker via rest request
var restClient = new KrakenRestClient();
var tickerResult = await restClient.SpotApi.ExchangeData.GetTickerAsync("ETHUSD");
var lastPrice = tickerResult.Data.First().Value.LastTrade.Price;
Place order:
var restClient = new KrakenRestClient(opts => {
opts.ApiCredentials = new KrakenCredentials(
new HMACCredential("SPOTKEY", "SPOTSECRET"),
new HMACCredential("FUTURESKEY", "FUTURESSECRET")
);
});
// Place Limit order to go long for 0.1 ETH at 2000
var orderResult = await restClient.FuturesApi.Trading.PlaceOrderAsync(
"PF_ETHUSD",
OrderSide.Buy,
FuturesOrderType.Limit,
0.1m,
2000
);
WebSocket subscription:
// Subscribe to ETH/USD ticker updates via the websocket API
var socketClient = new KrakenSocketClient();
var tickerSubscriptionResult = socketClient.SpotApi.SubscribeToTickerUpdatesAsync("ETH/USD", (update) =>
{
var lastPrice = update.Data.LastPrice;
});
For information on the clients, dependency injection, response processing and more see the Kraken.Net documentation or have a look at the examples here or here.
Kraken.Net includes AI-oriented documentation and examples for code generation tools:
| File | Purpose |
|---|---|
| Assistant skill with core Kraken.Net patterns, pitfalls, and examples | |
| Short LLM index with links to docs, examples, and critical usage rules | |
| Detailed LLM context with endpoint routing, code patterns, and anti-hallucination checks | |
| Table-style intent-to-method map for Spot, Futures, WebSocket, Earn, and SharedApis | |
| Compilable single-file examples for common REST, WebSocket, shared API, and error handling workflows |
GitHub Copilot and Cursor instructions are also provided in .github/copilot-instructions.md and .cursor/rules/kraken-net.mdc; both point back to the root AI context files.
Kraken.Net is based on the CryptoExchange.Net base library. Other exchange API implementations based on the CryptoExchange.Net base library are available and follow the same logic.
CryptoExchange.Net also allows for easy access to different exchange API's.
π Nuget version
A Discord server is available here. Feel free to join for discussion and/or questions around the CryptoExchange.Net and implementation libraries.
| API | Supported | Location |
|---|---|---|
| Market Data | β | restClient.SpotApi.ExchangeData |
| Account Data | β | restClient.SpotApi.Account / restClient.SpotApi.Trading |
| Trading | β | restClient.SpotApi.Trading |
| Funding | β | restClient.SpotApi.Account |
| Subaccounts | X | |
| Earn | β | restClient.SpotApi.Earn |
| NFT Market Data | X | |
| NFT Trading | X |
| API | Supported | Location |
|---|---|---|
| User Trading | β | socketClient.SpotApi |
| User Data | β | socketClient.SpotApi |
| Market Data | β | socketClient.SpotApi |
| Admin | β | socketClient.SpotApi |
| API | Supported | Location |
|---|---|---|
| * | X |
| API | Supported | Location |
|---|---|---|
| Trading Market Data | β | restClient.FuturesApi.ExchangeData |
| Trading Instrument Details | β | restClient.FuturesApi.ExchangeData |
| Trading Fee Schedules | β | restClient.FuturesApi.ExchangeData |
| Trading Account Info | β | restClient.FuturesApi.Account / restClient.FuturesApi.Trading |
| Trading Order Management | β | restClient.FuturesApi.Trading |
| Subaccounts | X | |
| Transfers | β | restClient.FuturesApi.Account |
| Assignment Program | X | |
| Multi-Collateral | β | restClient.FuturesApi.Account / restClient.FuturesApi.Trading |
| General | β | restClient.FuturesApi.ExchangeData |
| Historical data | β | restClient.FuturesApi.Trading |
| Historical Funding Rates | β | restClient.FuturesApi.ExchangeData |
| History Account History | β | restClient.FuturesApi.Account / restClient.FuturesApi.Trading |
| History Market History | β | restClient.FuturesApi.ExchangeData |
| Charts Candles | β | restClient.FuturesApi.ExchangeData |
| Charts Analytics | X |
| API | Supported | Location |
|---|---|---|
| Trading Market Data | β | restClient.FuturesApi.ExchangeData |
| User Data | β | socketClient.FuturesApi |
| Market Data | β | socketClient.FuturesApi |
| Admin | β | socketClient.FuturesApi |
Any support is greatly appreciated.
Make a one time donation in a crypto currency of your choice. If you prefer to donate a currency not listed here please contact me.
Btc: bc1q277a5n54s2l2mzlu778ef7lpkwhjhyvghuv8qf
Eth: 0xcb1b63aCF9fef2755eBf4a0506250074496Ad5b7
USDT (TRX) TKigKeJPXZYyMVDgMyXxMf17MWYia92Rjd
Alternatively, sponsor me on Github using Github Sponsors.
Version 7.12.0 - 08 Jun 2026
Version 7.11.0 - 26 May 2026
Version 7.10.0 - 01 May 2026
Version 7.9.1 - 09 Apr 2026
Version 7.9.0 - 24 Mar 2026
Updated CryptoExchange.Net to version 11.0.1, see https://github.com/JKorf/CryptoExchange.Net/releases/ for full release notes
Updated class for supplying API credentials from ApiCredentials to KrakenCredentials, supporting providing both Spot and Futures credentials
Updated Shared order status parsing to default to Unknown value if not parsable
Added restClient.SpotApi.Account.GetApiKeyInfoAsync endpoint
Notes for updating:
ApiCredentials = new ApiCredentials(..) β ApiCredentials = new KrakenCredentials(..)new KrakenCredentials(new HMACCredential("KEY", "SEC"), null), to provide both spot and futures: new KrakenCredentials(new HMACCredential("SPOTKEY", "SPOTSEC"), new HMACCredential("FUTURESKEY", "FUTURESSEC"))Version 7.8.0 - 06 Mar 2026
Version 7.7.0 - 24 Feb 2026
Version 7.6.0 - 16 Feb 2026
Version 7.5.0 - 10 Feb 2026
Version 7.4.0 - 06 Feb 2026
Version 7.3.0 - 22 Jan 2026
Version 7.2.1 - 14 Jan 2026
Version 7.2.0 - 13 Jan 2026
Version 7.1.0 - 07 Jan 2026
Version 7.0.2 - 19 Dec 2025
Version 7.0.1 - 17 Dec 2025
Version 7.0.0 - 16 Dec 2025
Version 6.11.0 - 11 Nov 2025
Version 6.10.1 - 03 Nov 2025
Version 6.10.0 - 03 Nov 2025
Version 6.9.1 - 27 Oct 2025
Version 6.9.0 - 16 Oct 2025
Version 6.8.0 - 30 Sep 2025
Version 6.7.0 - 01 Sep 2025
Version 6.6.0 - 25 Aug 2025
Version 6.5.2 - 21 Aug 2025
Version 6.5.1 - 21 Aug 2025
Version 6.5.0 - 20 Aug 2025
Version 6.4.0 - 04 Aug 2025
Version 6.3.3 - 30 Jul 2025
Version 6.3.2 - 30 Jul 2025
Version 6.3.1 - 25 Jul 2025
Version 6.3.0 - 23 Jul 2025
Version 6.2.0 - 15 Jul 2025
Version 6.1.0 - 02 Jun 2025
Version 6.0.0 - 13 May 2025
Version 6.0.0-beta3 - 01 May 2025
Version 6.0.0-beta2 - 23 Apr 2025
Version 6.0.0-beta1 - 22 Apr 2025
Version 5.7.1 - 12 Feb 2025
Version 5.7.0 - 11 Feb 2025
Version 5.6.0 - 28 Jan 2025
NewAssetNames ExchangeParameter in shared implementation symbol and asset requestsVersion 5.5.4 - 22 Jan 2025
Version 5.5.3 - 18 Jan 2025
Version 5.5.2 - 07 Jan 2025
Version 5.5.1 - 23 Dec 2024
Version 5.5.0 - 23 Dec 2024
Version 5.4.2 - 15 Dec 2024
Version 5.4.1 - 03 Dec 2024
Version 5.4.0 - 28 Nov 2024
Version 5.3.0 - 19 Nov 2024
Version 5.2.0 - 06 Nov 2024
Version 5.1.1 - 01 Nov 2024
Version 5.1.0 - 28 Oct 2024
Version 5.0.2 - 22 Oct 2024
Version 5.0.1 - 21 Oct 2024
Version 5.0.0 - 14 Oct 2024
userref fieldcl_ord_id fieldVersion 4.12.0 - 27 Sep 2024
Version 4.11.1 - 28 Aug 2024
Version 4.11.0 - 07 Aug 2024
Version 4.10.0 - 27 Jul 2024
Version 4.9.0 - 16 Jul 2024
Version 4.8.1 - 02 Jul 2024
Version 4.8.0 - 23 Jun 2024
Version 4.7.0 - 11 Jun 2024
Version 4.6.6 - 02 Jun 2024
Version 4.6.5 - 07 May 2024
Version 4.6.4 - 03 May 2024
Version 4.6.3 - 01 May 2024
Version 4.6.2 - 28 Apr 2024
Version 4.6.1 - 23 Apr 2024
Version 4.6.0 - 18 Apr 2024
Version 4.5.0 - 01 Apr 2024
Version 4.4.3 - 25 Mar 2024
Version 4.4.2 - 24 Mar 2024
Version 4.4.1 - 24 Mar 2024
Version 4.4.0 - 16 Mar 2024
Version 4.3.0 - 25 Feb 2024
Version 4.2.2 - 04 Jan 2024
Version 4.2.1 - 03 Jan 2024
Version 4.2.0 - 02 Dec 2023
Version 4.1.5 - 24 Oct 2023
Version 4.1.4 - 09 Oct 2023
Version 4.1.3 - 25 Aug 2023
Version 4.1.2 - 23 Jul 2023
Version 4.1.1 - 11 Jul 2023
Version 4.1.0 - 05 Jul 2023
Version 4.0.0 - 25 Jun 2023
Version 3.1.10 - 19 Jun 2023
Version 3.1.9 - 14 May 2023
Version 3.1.8 - 15 Apr 2023
Version 3.1.7 - 18 Mar 2023
Version 3.1.6 - 14 Feb 2023
Version 3.1.5 - 05 Feb 2023
Version 3.1.4 - 13 Jan 2023
Version 3.1.3 - 03 Jan 2023
Version 3.1.2 - 29 Dec 2022
Version 3.1.1 - 21 Nov 2022
Version 3.1.0 - 17 Nov 2022
Version 3.0.15 - 17 Aug 2022
Version 3.0.14 - 18 Jul 2022
Version 3.0.13 - 16 Jul 2022
Version 3.0.12 - 10 Jul 2022
Version 3.0.11 - 12 Jun 2022
Version 3.0.10 - 24 May 2022
Version 3.0.9 - 22 May 2022
Version 3.0.8 - 08 May 2022
Version 3.0.7 - 01 May 2022
Version 3.0.6 - 14 Apr 2022
Version 3.0.5 - 10 Mar 2022
Version 3.0.4 - 08 Mar 2022
Version 3.0.3 - 01 Mar 2022
Version 3.0.2 - 27 Feb 2022
Version 3.0.1 - 24 Feb 2022
Version 3.0.0 - 18 Feb 2022
Added Github.io page for documentation: https://jkorf.github.io/Kraken.Net/
Added unit tests for parsing the returned JSON for each endpoint and subscription
Added AddKraken extension method on IServiceCollection for easy dependency injection
Added URL reference to API endpoint documentation for each endpoint
Added default rate limiter
Refactored client structure to be consistent across exchange implementations
Renamed various properties to be consistent across exchange implementations
Cleaned up project structure
Fixed various models
Updated CryptoExchange.Net, see https://github.com/JKorf/CryptoExchange.Net#release-notes
See https://jkorf.github.io/Kraken.Net/MigrationGuide.html for additional notes for updating from V2 to V3
Version 2.2.3 - 08 Oct 2021
Version 2.2.2 - 06 Oct 2021
Version 2.2.1 - 05 Oct 2021
Version 2.2.0 - 29 Sep 2021
Version 2.1.3 - 22 Sep 2021
Version 2.1.2 - 22 Sep 2021
Version 2.1.1 - 21 Sep 2021
Version 2.1.0 - 20 Sep 2021
Version 2.0.11 - 15 Sep 2021
Version 2.0.10 - 09 Sep 2021
Version 2.0.8 - 02 Sep 2021
Version 2.0.7 - 02 Sep 2021
Version 2.0.6 - 01 Sep 2021
Version 2.0.5 - 26 Aug 2021
Version 2.0.4 - 26 Aug 2021
Version 2.0.3 - 24 Aug 2021
Version 2.0.2 - 18 Aug 2021
Version 2.0.1 - 13 Aug 2021
Version 2.0.0 - 12 Aug 2021
Version 2.0.0-beta3 - 09 Aug 2021
Version 2.0.0-beta2 - 26 Jul 2021
Version 2.0.0-beta1 - 09 Jul 2021
Version 1.4.3 - 04 mei 2021
Version 1.4.2 - 28 apr 2021
Version 1.4.1 - 19 apr 2021
Version 1.4.0 - 12 apr 2021
Version 1.3.2 - 30 mrt 2021
Version 1.3.1 - 01 mrt 2021
Version 1.3.0 - 01 mrt 2021
Version 1.2.3 - 22 jan 2021
Version 1.2.2 - 14 jan 2021
Version 1.2.1 - 22 dec 2020
Version 1.2.0 - 21 dec 2020
Version 1.1.9 - 11 dec 2020
Version 1.1.8 - 19 nov 2020
Version 1.1.7 - 09 nov 2020
Version 1.1.6 - 09 nov 2020
Version 1.1.5 - 08 Oct 2020
Version 1.1.4 - 08 Oct 2020
Version 1.1.3 - 28 Aug 2020
Version 1.1.2 - 12 Aug 2020
Version 1.1.1 - 21 Jul 2020
Version 1.1.0 - 20 Jul 2020
Version 1.0.8 - 21 Jun 2020
Version 1.0.7 - 16 Jun 2020
Version 1.0.6 - 07 Jun 2020
Version 1.0.5 - 03 Mar 2020
Version 1.0.4 - 27 Jan 2020
Version 1.0.3 - 12 Nov 2019
Version 1.0.2 - 24 Oct 2019
Version 1.0.1 - 23 Oct 2019
Version 1.0.0 - 23 Oct 2019
Version 0.0.4 - 15 Oct 2019
Version 0.0.3 - 24 Sep 2019
Version 0.0.2 - 10 Sep 2019
Version 0.0.1 - 29 Aug 2019
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net5.0 net5.0 was computed. net5.0-windows net5.0-windows was computed. net6.0 net6.0 was computed. net6.0-android net6.0-android was computed. net6.0-ios net6.0-ios was computed. net6.0-maccatalyst net6.0-maccatalyst was computed. net6.0-macos net6.0-macos was computed. net6.0-tvos net6.0-tvos was computed. net6.0-windows net6.0-windows was computed. net7.0 net7.0 was computed. net7.0-android net7.0-android was computed. net7.0-ios net7.0-ios was computed. net7.0-maccatalyst net7.0-maccatalyst was computed. net7.0-macos net7.0-macos was computed. net7.0-tvos net7.0-tvos was computed. net7.0-windows net7.0-windows was computed. net8.0 net8.0 is compatible. net8.0-android net8.0-android was computed. net8.0-browser net8.0-browser was computed. net8.0-ios net8.0-ios was computed. net8.0-maccatalyst net8.0-maccatalyst was computed. net8.0-macos net8.0-macos was computed. net8.0-tvos net8.0-tvos was computed. net8.0-windows net8.0-windows was computed. net9.0 net9.0 is compatible. net9.0-android net9.0-android was computed. net9.0-browser net9.0-browser was computed. net9.0-ios net9.0-ios was computed. net9.0-maccatalyst net9.0-maccatalyst was computed. net9.0-macos net9.0-macos was computed. net9.0-tvos net9.0-tvos was computed. net9.0-windows net9.0-windows was computed. net10.0 net10.0 is compatible. net10.0-android net10.0-android was computed. net10.0-browser net10.0-browser was computed. net10.0-ios net10.0-ios was computed. net10.0-maccatalyst net10.0-maccatalyst was computed. net10.0-macos net10.0-macos was computed. net10.0-tvos net10.0-tvos was computed. net10.0-windows net10.0-windows was computed. |
| .NET Core | netcoreapp2.0 netcoreapp2.0 was computed. netcoreapp2.1 netcoreapp2.1 was computed. netcoreapp2.2 netcoreapp2.2 was computed. netcoreapp3.0 netcoreapp3.0 was computed. netcoreapp3.1 netcoreapp3.1 was computed. |
| .NET Standard | netstandard2.0 netstandard2.0 is compatible. netstandard2.1 netstandard2.1 is compatible. |
| .NET Framework | net461 net461 was computed. net462 net462 was computed. net463 net463 was computed. net47 net47 was computed. net471 net471 was computed. net472 net472 was computed. net48 net48 was computed. net481 net481 was computed. |
| MonoAndroid | monoandroid monoandroid was computed. |
| MonoMac | monomac monomac was computed. |
| MonoTouch | monotouch monotouch was computed. |
| Tizen | tizen40 tizen40 was computed. tizen60 tizen60 was computed. |
| Xamarin.iOS | xamarinios xamarinios was computed. |
| Xamarin.Mac | xamarinmac xamarinmac was computed. |
| Xamarin.TVOS | xamarintvos xamarintvos was computed. |
| Xamarin.WatchOS | xamarinwatchos xamarinwatchos was computed. |
Showing the top 3 NuGet packages that depend on KrakenExchange.Net:
| Package | Downloads |
|---|---|
|
CryptoClients.Net
CryptoClients.Net offers full easy access to 27 different cryptocurrency exchange API's, such as Binance, Bybit, HyperLiquid and many more. It offers a unified way to access the API's and tools to dynamically call endpoints on different exchanges. |
|
|
CryptoThune.Net
Package Description |
|
|
Le.CryptoClients.Net
CryptoClients.Net is a collection of multiple cryptocurrency exchange API clients for accessing both the REST API's and WebSocket API's. Supports order and account management and requesting and streaming both public and private data. |
Showing the top 2 popular GitHub repositories that depend on KrakenExchange.Net:
| Repository | Stars |
|---|---|
|
visualHFT/VisualHFT
VisualHFT is a WPF/C# desktop GUI that shows market microstructure in real time. You can track advanced limitβorderβbook dynamics and execution quality, then use its modular plugins to shape the analysis to your workflow.
|
|
|
JKorf/CryptoExchange.Net
A C# .netstandard base library used for implementing cryptocurrency exchange API's.
|
| Version | Downloads | Last Updated |
|---|---|---|
| 7.12.0 | 219 | 6/8/2026 |
| 7.11.0 | 1,365 | 5/26/2026 |
| 7.10.0 | 1,714 | 5/1/2026 |
| 7.9.1 | 1,299 | 4/9/2026 |
| 7.9.0 | 3,095 | 3/24/2026 |
| 7.8.0 | 1,238 | 3/6/2026 |
| 7.7.0 | 1,566 | 2/24/2026 |
| 7.6.0 | 2,823 | 2/16/2026 |
| 7.5.0 | 805 | 2/10/2026 |
| 7.4.0 | 379 | 2/6/2026 |
| 7.3.0 | 2,115 | 1/22/2026 |
| 7.2.1 | 588 | 1/14/2026 |
| 7.2.0 | 293 | 1/13/2026 |
| 7.1.0 | 788 | 1/7/2026 |
| 7.0.2 | 1,830 | 12/19/2025 |
| 7.0.1 | 534 | 12/17/2025 |
| 7.0.0 | 515 | 12/16/2025 |
| 6.11.0 | 3,408 | 11/11/2025 |
| 6.10.1 | 798 | 11/3/2025 |
| 6.10.0 | 503 | 11/3/2025 |