{"id":28912876,"url":"https://github.com/discosultan/krakencore","last_synced_at":"2025-07-26T03:05:09.663Z","repository":{"id":85466134,"uuid":"98581746","full_name":"discosultan/KrakenCore","owner":"discosultan","description":"💱 .NET client for Kraken Bitcoin \u0026 cryptocurrency exchange API","archived":false,"fork":false,"pushed_at":"2019-05-21T09:25:44.000Z","size":90,"stargazers_count":37,"open_issues_count":0,"forks_count":16,"subscribers_count":12,"default_branch":"master","last_synced_at":"2025-07-23T16:59:43.745Z","etag":null,"topics":["async","csharp","kraken-exchange-api","netstandard"],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/discosultan.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-07-27T21:36:09.000Z","updated_at":"2024-10-31T23:14:32.000Z","dependencies_parsed_at":"2023-07-07T10:32:21.568Z","dependency_job_id":null,"html_url":"https://github.com/discosultan/KrakenCore","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/discosultan/KrakenCore","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/discosultan%2FKrakenCore","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/discosultan%2FKrakenCore/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/discosultan%2FKrakenCore/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/discosultan%2FKrakenCore/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/discosultan","download_url":"https://codeload.github.com/discosultan/KrakenCore/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/discosultan%2FKrakenCore/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267109942,"owners_count":24037627,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-07-26T02:00:08.937Z","response_time":62,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["async","csharp","kraken-exchange-api","netstandard"],"created_at":"2025-06-21T20:13:25.890Z","updated_at":"2025-07-26T03:05:09.657Z","avatar_url":"https://github.com/discosultan.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003eKrakenCore\u003c/h1\u003e\n\n\u003ch4 align=\"center\"\u003e.NET client for \u003ca href=\"https://www.kraken.com/\"\u003eKraken bitcoin exchange API\u003c/a\u003e\u003c/h4\u003e\n\n\u003cp align=\"center\"\u003e\n    \u003ca href=\"https://www.nuget.org/packages/KrakenCore\"\u003e\n        \u003cimg src=\"https://img.shields.io/nuget/vpre/KrakenCore.svg\" alt=\"NuGet Package\"\u003e\n    \u003c/a\u003e\n    \u003ca href=\"https://ci.appveyor.com/project/discosultan/krakencore\"\u003e\n        \u003cimg src=\"https://img.shields.io/appveyor/ci/discosultan/krakencore.svg?label=windows\" alt=\"AppVeyor Build Status\"\u003e\n    \u003c/a\u003e\n    \u003ca href=\"https://travis-ci.org/discosultan/KrakenCore\"\u003e\n        \u003cimg src=\"https://img.shields.io/travis/discosultan/KrakenCore.svg?label=unix\" alt=\"Travis Build Status\"\u003e\n    \u003c/a\u003e\n\u003c/p\u003e\n\n\u003e ⚠ This is an alpha version, meaning the API has not been tested on any production application. USE AT OWN RISK! Also, the API does not include the [tentative private user funding API](https://www.kraken.com/help/api#private-user-funding) as it is subject to change.\n\n## 🎉 Features\n- \u0026nbsp;✖ Cross-platform based on [.NET Standard 2.0](https://docs.microsoft.com/en-us/dotnet/standard/net-standard)\n- 🔁 Asynchronous API using [async and await](https://docs.microsoft.com/en-us/dotnet/csharp/async)\n- 💪 Strongly typed models\n- 🛂 Covered with tests\n- 🔐 Supports two-factor authentication\n\n## 📦 Getting Started\n\n```csharp\nusing KrakenCore;\n```\n\n```csharp\nvar client = new KrakenClient(apiKey, privateKey);\n\nvar response = await client.GetAccountBalance();\nforeach (var currency in response.Result)\n    Console.WriteLine($\"{currency.Key} : {currency.Value}\");\n\n// ZEUR : 1000\n// XXBT : 1\n// XETH : 3\n```\n\n## 🔧 Extending Client\n\nThe client supports two extensibility points: one right before a request to Kraken is dispatched and one right after a response is received. These points provide additional context specific information (for example, the cost of a particular call) and can be used to implement features such as rate limiting or logging.\n\nSample extensions implemented in [the test suite](https://github.com/discosultan/KrakenCore/blob/6147afa9f7c6ba6ca38c2dee65102594cacb6fe6/tests/KrakenClient.Tests.cs#L46-L67):\n\n```csharp\nvar client = new KrakenClient(ApiKey, PrivateKey)\n{\n    InterceptRequest = async req =\u003e\n    {\n        // Log request.\n        output.WriteLine(req.HttpRequest.ToString());\n        string content = await req.HttpRequest.Content.ReadAsStringAsync();\n        if (!string.IsNullOrWhiteSpace(content)) output.WriteLine(content);\n\n        // Wait if we have hit the API rate limit.\n        RateLimiter limiter = req.HttpRequest.RequestUri.OriginalString.Contains(\"/private/\")\n            ? privateApiRateLimiter\n            : publicApiRateLimiter;\n        await limiter.WaitAccess(req.ApiCallCost);\n    }\n};\n```\n\n## 🙏 Related Work\n\n- [C# Kraken API](https://bitbucket.org/arrivets/krakenapi)\n- [C# Library to access the Kraken REST API](https://github.com/trenki2/KrakenApi)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdiscosultan%2Fkrakencore","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdiscosultan%2Fkrakencore","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdiscosultan%2Fkrakencore/lists"}