{"id":30620989,"url":"https://github.com/aionoso/krakipy","last_synced_at":"2025-08-30T14:17:57.691Z","repository":{"id":58577444,"uuid":"304470769","full_name":"Aionoso/Krakipy","owner":"Aionoso","description":"Python Kraken API","archived":false,"fork":false,"pushed_at":"2025-06-20T07:37:00.000Z","size":6939,"stargazers_count":3,"open_issues_count":1,"forks_count":6,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-08-19T10:53:24.098Z","etag":null,"topics":["bitcoin","cryptocurrency","cryptocurrency-exchanges","kraken","kraken-exchange-api","rest-api"],"latest_commit_sha":null,"homepage":"","language":"Python","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/Aionoso.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.rst","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":"2020-10-15T23:29:17.000Z","updated_at":"2025-03-09T10:38:05.000Z","dependencies_parsed_at":"2024-06-19T04:51:21.263Z","dependency_job_id":"c6330f23-6870-4f73-8069-237645eb8a14","html_url":"https://github.com/Aionoso/Krakipy","commit_stats":{"total_commits":60,"total_committers":3,"mean_commits":20.0,"dds":0.09999999999999998,"last_synced_commit":"1ef2cd55d5181f227d63db4a9548d755abafee4d"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Aionoso/Krakipy","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Aionoso%2FKrakipy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Aionoso%2FKrakipy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Aionoso%2FKrakipy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Aionoso%2FKrakipy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Aionoso","download_url":"https://codeload.github.com/Aionoso/Krakipy/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Aionoso%2FKrakipy/sbom","scorecard":{"id":9625,"data":{"date":"2025-08-11","repo":{"name":"github.com/Aionoso/Krakipy","commit":"9d8699f2ad3765e9aaf6d1cd1f2fb765d0ec2069"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.3,"checks":[{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Code-Review","score":0,"reason":"Found 0/29 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Binary-Artifacts","score":8,"reason":"binaries present in source code","details":["Warn: binary detected: tests/__pycache__/__init__.cpython-36.pyc:1","Warn: binary detected: tests/__pycache__/test_krakipy.cpython-36-PYTEST.pyc:1"],"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":-1,"reason":"internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration","details":null,"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 2 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Vulnerabilities","score":4,"reason":"6 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: PYSEC-2020-73","Warn: Project is vulnerable to: PYSEC-2014-14 / GHSA-652x-xj99-gmcc","Warn: Project is vulnerable to: GHSA-9hjg-9r4m-mvj7","Warn: Project is vulnerable to: GHSA-9wx4-h78v-vm56","Warn: Project is vulnerable to: PYSEC-2014-13 / GHSA-cfj3-7x9c-4p3h","Warn: Project is vulnerable to: PYSEC-2018-28 / GHSA-x84v-xcm2-53pg"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-14T14:17:09.844Z","repository_id":58577444,"created_at":"2025-08-14T14:17:09.844Z","updated_at":"2025-08-14T14:17:09.844Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":272858648,"owners_count":25005115,"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-08-30T02:00:09.474Z","response_time":77,"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":["bitcoin","cryptocurrency","cryptocurrency-exchanges","kraken","kraken-exchange-api","rest-api"],"created_at":"2025-08-30T14:17:56.494Z","updated_at":"2025-08-30T14:17:57.683Z","avatar_url":"https://github.com/Aionoso.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Krakipy\r\n\r\n[![PyPI version](https://badge.fury.io/py/krakipy.svg)](https://badge.fury.io/py/krakipy)\r\n[![Documentation Status](https://readthedocs.org/projects/krakipy/badge/?version=latest)](https://krakipy.readthedocs.io/en/latest/?badge=latest)\r\n[![Downloads](https://pepy.tech/badge/krakipy)](https://pepy.tech/project/krakipy)\r\n[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://github.com/Aionoso/Krakipy/blob/master/LICENSE)\r\n\r\nKrakipy is an easy to use Kraken API.\r\n\r\nIt uses the [REST-API](https://docs.kraken.com/api/docs/rest-api/get-server-time) of the [Kraken.com](https://www.kraken.com) cryptocurrency exchange.\r\n\r\nFor more information please visit the [krakipy documentation](https://krakipy.readthedocs.io/en/latest/)\r\n\r\n08.03.2025 - Updated krakipy to include get_order_amends and get_withdrawal_methods and fixed bugs\r\n\r\n29.10.2023 - Updated krakipy to include new functions and fixed bugs\r\n\r\n31.07.2021 - Updated krakipy to support staking and unstaking\r\n\r\n\r\n### Features\r\n- All methods of the Kraken Rest API are included (Krakipy documentation also updated)\r\n- Easy and fast to use\r\n- Two factor authentification support (static and OTP)\r\n- Tor support\r\n\r\n## Installation\r\n\r\nUse the package manager [pip](https://pip.pypa.io/en/stable/) to install krakipy.\r\n\r\n```bash\r\npip install krakipy\r\n```\r\n\r\n## Usage Examples\r\n\r\n### Public Requests\r\n\r\nPublic requests dont need API keys.\r\n\r\n```python\r\nfrom krakipy import KrakenAPI\r\n\r\n# Create a session\r\nkr = KrakenAPI()\r\n\r\n# Get Ticker for Bitcoin/EUR\r\nkr.get_ticker_information(\"XXBTZEUR\")\r\n\r\n# Get OHLC for Doge/Tether\r\nkr.get_ohlc_data(\"XDGUSDT\")\r\n\r\n# Get Spreads for Ether/USD\r\nkr.get_recent_spreads(\"XETHZUSD\")\r\n\r\n# Check the Kraken API system status\r\nkr.get_system_status()\r\n```\r\n\r\n### Private Requests\r\n\r\nPrivate requests need a valid API key pair to your Kraken account for validation.\r\n\r\n```python\r\nfrom krakipy import KrakenAPI\r\n\r\napi_key = \"*************************************************\"\r\napi_key_secret = \"*************************************************\"\r\n\r\n# Create a validated session\r\nwith KrakenAPI(api_key, api_key_secret) as kr:\r\n\r\n\t# Create a limit order to buy 1.5 Bitcoin at 100,000.0 EUR/BTC\r\n\tkr.add_standard_order(\"XXBTZEUR\", \"buy\", \"limit\", volume = 1.5, price = 100000.0)\r\n\r\n\t# Check your account balance\r\n\tkr.get_account_balance()\r\n\r\n\t# Withdraw 1.0 Bitcoin to myBTCWallet\r\n\tkr.withdraw(\"XBT\", \"myBTCWallet\", 1.0)\r\n\r\n\t# Unstake 300.0 Solana\r\n\tkr.unstake_asset(\"SOL\", 300.0)\r\n\r\n\t# Download and save an export report to kraken_reports/\r\n\tkr.retrieve_export_report(report_id, dir=\"kraken_reports/\")\r\n```\r\n\r\n## License\r\n\r\nThe krakipy code is licensed under the MIT LICENSE.\r\nThis program comes with ABSOLUTELY NO WARRANTY\r\n\r\nKrakipy Copyright (C) 2020-2025  Hubertus Wilisch\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faionoso%2Fkrakipy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faionoso%2Fkrakipy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faionoso%2Fkrakipy/lists"}