{"id":26991565,"url":"https://github.com/openxapi/binance-py","last_synced_at":"2026-01-26T20:12:50.416Z","repository":{"id":286007577,"uuid":"960057367","full_name":"openxapi/binance-py","owner":"openxapi","description":"Python client for Binance API","archived":false,"fork":false,"pushed_at":"2025-05-07T02:04:51.000Z","size":3141,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-08-19T04:55:12.066Z","etag":null,"topics":["asyncapi","binance","cryptocurrency","openapi","python","sdk"],"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/openxapi.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":"2025-04-03T19:40:52.000Z","updated_at":"2025-05-07T02:04:13.000Z","dependencies_parsed_at":"2025-04-09T16:16:28.742Z","dependency_job_id":"9dbbcedd-aea9-4874-985e-fd702145bd1a","html_url":"https://github.com/openxapi/binance-py","commit_stats":null,"previous_names":["openxapi/binance-py"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/openxapi/binance-py","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openxapi%2Fbinance-py","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openxapi%2Fbinance-py/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openxapi%2Fbinance-py/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openxapi%2Fbinance-py/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/openxapi","download_url":"https://codeload.github.com/openxapi/binance-py/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openxapi%2Fbinance-py/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28787212,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-26T13:55:28.044Z","status":"ssl_error","status_checked_at":"2026-01-26T13:55:26.068Z","response_time":59,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["asyncapi","binance","cryptocurrency","openapi","python","sdk"],"created_at":"2025-04-03T22:16:13.431Z","updated_at":"2026-01-26T20:12:50.410Z","avatar_url":"https://github.com/openxapi.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Python client for Binance API\n\n[![PyPI - Version](https://img.shields.io/pypi/v/openxapi-binance)](https://pypi.org/project/openxapi-binance/)\n\nThis package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:\n\nPlease do not edit the generated code manually, but rather regenerate it from [OpenXAPI](https://github.com/openxapi/openxapi).\n\n## Supported APIs\n\n| Product | Module | Sub Products |\n|:---------:|-----------|--------|\n| [Spot API](binance/spot_README.md) | `binance.spot` | ✅ [Spot Trading](https://developers.binance.com/docs/binance-spot-api-docs/rest-api/general-api-information) \u003cbr\u003e ✅ [Margin Trading](https://developers.binance.com/docs/margin_trading/Introduction) \u003cbr\u003e ✅ [Algo Trading](https://developers.binance.com/docs/algo/Introduction) \u003cbr\u003e ✅ [Wallet](https://developers.binance.com/docs/wallet/Introduction) \u003cbr\u003e ✅ [Copy Trading](https://developers.binance.com/docs/copy_trading/Introduction) \u003cbr\u003e ✅ [Convert](https://developers.binance.com/docs/convert/Introduction) \u003cbr\u003e ✅ [Sub Account](https://developers.binance.com/docs/sub_account/Introduction) \u003cbr\u003e✅ [Binance Link](https://developers.binance.com/docs/binance_link/change-log) \u003cbr\u003e✅ [Futures Data](https://developers.binance.com/docs/derivatives/futures-data/general-info) \u003cbr\u003e ✅ [Portfolio Margin Pro](https://developers.binance.com/docs/derivatives/portfolio-margin-pro/general-info) \u003cbr\u003e✅ [Staking](https://developers.binance.com/docs/staking/Introduction) \u003cbr\u003e✅ [Dual Investment](https://developers.binance.com/docs/dual_investment/Introduction) \u003cbr\u003e✅ [Mining](https://developers.binance.com/docs/mining/Introduction) \u003cbr\u003e✅ [Crypto Loan](https://developers.binance.com/docs/crypto_loan/Introduction) \u003cbr\u003e✅ [VIP Loan](https://developers.binance.com/docs/vip_loan/Introduction) \u003cbr\u003e✅ [C2C](https://developers.binance.com/docs/c2c/Introduction) \u003cbr\u003e✅ [Fiat](https://developers.binance.com/docs/fiat/Introduction) \u003cbr\u003e✅ [NFT](https://developers.binance.com/docs/nft/Introduction) \u003cbr\u003e✅ [Gift Card](https://developers.binance.com/docs/gift_card/Introduction) \u003cbr\u003e✅ [Rebate](https://developers.binance.com/docs/rebate/Introduction) \u003cbr\u003e✅ [Simple Earn](https://developers.binance.com/docs/simple_earn/Introduction) \u003cbr\u003e✅ [Binance Pay History](https://developers.binance.com/docs/pay/Introduction) |\n| [USD-M Futures API](binance/umfutures_README.md) | `binance.umfutures` | ✅ [USDS Margined Futures](https://developers.binance.com/docs/derivatives/usds-margined-futures/general-info) \u003cbr\u003e ✅ [Binance Link](https://developers.binance.com/docs/binance_link/link-and-trade/futures) |\n| [COIN-M Futures API](binance/cmfutures_README.md) | `binance.cmfutures` | ✅ [COIN Margined Futures](https://developers.binance.com/docs/derivatives/coin-margined-futures/general-info) |\n| [Options API](binance/options_README.md) | `binance.options` | ✅ [Options](https://developers.binance.com/docs/derivatives/option/general-info) |\n| [Portfolio Margin API](binance/pmargin_README.md) | `binance.pmargin` | ✅ [Portfolio Margin](https://developers.binance.com/docs/derivatives/portfolio-margin/general-info) |\n\n## Requirements.\n\nPython 3.8+\n\n## Installation \u0026 Usage\n\n```bash\npip install openxapi-binance\n```\n\n## Getting Started\n\nIn your own code, to use this library to connect and interact with spot,\nyou can run the following:\n\n```python\nimport os\nimport time\nfrom pprint import pprint\n\nfrom binance import spot\nfrom binance.spot.rest import ApiException\nfrom binance.spot.auth import BinanceAuth\n\n# Defining the host is optional and defaults to https://api.binance.com\n# See configuration.py for a list of all supported configuration parameters.\nconfiguration = spot.Configuration(\n    host = \"https://api.binance.com\"\n)\n\n# The client must configure the authentication and authorization parameters\n# in accordance with the API server security policy.\n# Examples for each auth method are provided below, use the example that\n# satisfies your auth use case.\n\nconf = spot.Configuration(\n    auth=BinanceAuth(\n        api_key=os.getenv(\"BINANCE_API_KEY\"),\n        # secret_key=os.getenv(\"BINANCE_SECRET_KEY\"), # if you want to use HMAC auth\n        private_key_path=\"/path/to/private_key.pem\", # Automatically detects RSA/Ed25519 private keys\n    ),\n)\n\n# Enter a context with an instance of the API client\nwith spot.ApiClient(conf) as api_client:\n    # Create an instance of the API class\n    api_instance = spot.SpotTradingApi(api_client)\n    try:\n        # Query Commission Rates (USER_DATA)\n        api_response = api_instance.get_account_v3(\n            timestamp=int(time.time() * 1000)\n        )\n        print(\"The response of AccountApi-\u003eget_account_v3:\\n\")\n        pprint(api_response)\n    except ApiException as e:\n        print(\"Exception when calling AccountApi-\u003eget_account_v3: %s\\n\" % e)\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopenxapi%2Fbinance-py","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fopenxapi%2Fbinance-py","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopenxapi%2Fbinance-py/lists"}