{"id":42357231,"url":"https://github.com/xenking/binance-api","last_synced_at":"2026-01-27T16:36:15.047Z","repository":{"id":46194160,"uuid":"317109758","full_name":"xenking/binance-api","owner":"xenking","description":"Binance-API is a fast and lightweight Golang implementation for Binance API, providing complete API coverage, and supports both REST API, WebSockets API, Event Streams API","archived":false,"fork":false,"pushed_at":"2023-08-29T02:15:11.000Z","size":231,"stargazers_count":8,"open_issues_count":4,"forks_count":8,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-06-19T11:21:57.820Z","etag":null,"topics":["api","binance","binance-api","binance-exchange","bitcoin","btc","exchange","go","goland","sdk"],"latest_commit_sha":null,"homepage":"","language":"Go","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/xenking.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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-11-30T04:22:47.000Z","updated_at":"2024-05-28T02:21:40.000Z","dependencies_parsed_at":"2024-06-19T11:28:23.308Z","dependency_job_id":null,"html_url":"https://github.com/xenking/binance-api","commit_stats":null,"previous_names":[],"tags_count":22,"template":false,"template_full_name":null,"purl":"pkg:github/xenking/binance-api","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xenking%2Fbinance-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xenking%2Fbinance-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xenking%2Fbinance-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xenking%2Fbinance-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/xenking","download_url":"https://codeload.github.com/xenking/binance-api/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xenking%2Fbinance-api/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28816563,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-27T12:25:15.069Z","status":"ssl_error","status_checked_at":"2026-01-27T12:25:05.297Z","response_time":168,"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":["api","binance","binance-api","binance-exchange","bitcoin","btc","exchange","go","goland","sdk"],"created_at":"2026-01-27T16:36:14.976Z","updated_at":"2026-01-27T16:36:15.037Z","avatar_url":"https://github.com/xenking.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Golang Binance API\n\n[![PkgGoDev](https://pkg.go.dev/badge/github.com/xenking/binance-api)](https://pkg.go.dev/github.com/xenking/binance-api)\n[![Go Report Card](https://goreportcard.com/badge/github.com/xenking/binance-api)](https://goreportcard.com/report/github.com/xenking/binance-api)\n![Build Status](https://github.com/xenking/binance-api/actions/workflows/build.yml/badge.svg)\n[![codecov](https://codecov.io/gh/xenking/binance-api/branch/master/graph/badge.svg)](https://codecov.io/gh/xenking/binance-api)\n\nbinance-api is a fast and lightweight Golang implementation for [Binance API](https://github.com/binance/binance-spot-api-docs), providing complete API coverage, and supports both REST API and websockets API\n\nThis library created to help you interact with the Binance API, streaming candlestick charts data, market depth, or use other advanced features binance exposes via API. \n\n## Quickstart\n```golang\npackage main\n\nimport (\n    \"log\"\n\n    \"github.com/xenking/binance-api\"\n)\n\nfunc main() {\n    client := binance.NewClient(\"API-KEY\", \"SECRET\")\n\n    err := client.Ping()\n    if err != nil {\n        panic(err)\n    }\n\n    prices, err := client.Prices()\n    if err != nil {\n        panic(err)\n    }\n\n    for _, p := range prices {\n        log.Printf(\"symbol: %s, price: %s\", p.Symbol, p.Price)\n    }\n}\n```\n\n\n## Installation\n```\ngo get -u github.com/xenking/binance-api\n```\n\n## Getting started\n```golang\n// Create default client\nclient := binance.NewClient(\"API-KEY\", \"SECRET\")\n\n// Send ping request\nerr := client.Ping()\n\n// Create client with custom request window size\nclient := binance.NewClient(\"API-KEY\", \"SECRET\").ReqWindow(5000)\n\n// Create websocket client\nwsClient := ws.NewClient()\n\n// Connect to Klines websocket\nws, err := wsClient.Klines(\"ETHBTC\", binance.KlineInterval1m)\n\n// Read ws\nmsg, err := ws.Read()\n```\n\nFull documentation on [pkg.go.dev](https://pkg.go.dev/github.com/xenking/binance-api)\n\n## License\nThis library is under the [MIT License](https://opensource.org/licenses/MIT). See the [LICENSE](LICENSE.md) file for more info.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxenking%2Fbinance-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fxenking%2Fbinance-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxenking%2Fbinance-api/lists"}