{"id":19010780,"url":"https://github.com/th-blitz/binance-api","last_synced_at":"2026-05-02T22:40:04.061Z","repository":{"id":126504193,"uuid":"243930906","full_name":"th-blitz/Binance-API","owner":"th-blitz","description":"My first custom API in python. Binance API used for my Crypto-Trading-Bot project.","archived":false,"fork":false,"pushed_at":"2020-08-26T10:07:58.000Z","size":32,"stargazers_count":0,"open_issues_count":1,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-11T07:23:11.629Z","etag":null,"topics":["binance-api","binance-exchange","bitcoin","crypto","crypto-trading-bot","ethereum"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/th-blitz.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":"2020-02-29T08:20:11.000Z","updated_at":"2022-06-14T16:39:27.000Z","dependencies_parsed_at":null,"dependency_job_id":"754788c1-f5e8-4d8c-a781-f2dccea85b05","html_url":"https://github.com/th-blitz/Binance-API","commit_stats":null,"previous_names":["th-blitz/binance-api"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/th-blitz/Binance-API","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/th-blitz%2FBinance-API","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/th-blitz%2FBinance-API/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/th-blitz%2FBinance-API/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/th-blitz%2FBinance-API/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/th-blitz","download_url":"https://codeload.github.com/th-blitz/Binance-API/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/th-blitz%2FBinance-API/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267023222,"owners_count":24022915,"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-25T02:00:09.625Z","response_time":70,"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":["binance-api","binance-exchange","bitcoin","crypto","crypto-trading-bot","ethereum"],"created_at":"2024-11-08T19:12:29.229Z","updated_at":"2025-10-09T00:20:33.812Z","avatar_url":"https://github.com/th-blitz.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Binance API \n\nMain file -\u003e HeyBinance.py\n\nHow to use HeyBinance.py? \n\n* HeyBinance.GetServerStatus() \n\n      will get you the server status if active or under maintainence.\n\n* HeyBinance.GetPriceTicker( ListOfCoins ) \n       \n      must be passed as a list eg: ListOfCoins=['BTCUSDT','ETHUSDT',....] OR ['BNBBTC'] and so on.\n      \n* HeyBinance.GetCandleStickData( ListOfCoins, ListOfIntervals, fromwhen, tillwhen ) \n       \n      will get you candlestick data in raw form , \n      listofcoin must be passed as a list eg: ListOfCoins=['BTCUSDT','ETHUSDT',....]. \n      listofintervals must be passed as a list eg:['1h'] Or ['1h','1m','4h',..] etc.\n      fromwhen and tillwhen are starttime and endtime which must be passed as strings in the following format \n      eg: 'June 4, 2020' OR \"11 hours ago UTC\" OR 'now utc' etc\n    \n* HeyBinance.GetAccountSnapshot( AccountType, ApiKey, SecretKey ) \n\n      accounttype='SPOT' OR 'MARGIN' etc\n    \n      apikey='0xhfkasl***************************lakfsajh'\n    \n      secretkey='kslhafkja*************************jhalsghas'\n    \n* HeyBinance.PlaceNewMarketOrder( BTCUSDT_or_BNBUSDT_or_BTCBNB_etc, BUY_or_SELL,quantity_Of_BTC_or_BNB_or_ETH_etc, Set_Any_Unique_Order_ID_in_string_format, ApiKey, SecretKey)\n\n      eg: (LTCBNB , BUY, 32.456 ,'34th_order',apikey,sceretkey)\n    \n* HeyBinance.PlaceNewLimitOrder( BTCUSDT_or_BNBUSDT_or_BTCBNB_etc, BUY_or_SELL, quantity_Of_BTC_or_BNB_or_ETH_etc, Price, timeinforce_GTC_or_IOK_or_FOK,\n                                    Set_Any_Unique_Order_ID_in_string_format, ApiKey, SecretKey )\n                                    \n      eg: (LTCBNB , BUY, 32.456 ,41.75,'IOK','89th_order',apikey,sceretkey\n    \n* HeyBinance.CancelaOrder( BTCUSDT_or_BNBUSDT_or_BTCBNB_etc, Your_Unique_Order_ID, ApiKey, SecretKey )\n\n      canceling a order by previously assigned unique ID\n    \n* HeyBinance.CancelAllOrders( BTCUSDT_or_BNBUSDT_or_BTCBNB_etc, ApiKey, SecretKey )\n    \n      cancels all active order for a specified symbol like BTCUSDT OR XRPBNB etc\n    \n* HeyBinance.CheckOrderStatus( BTCUSDT_or_BNBUSDT_or_BTCBNB_etc, Your_Unique_Order_ID, ApiKey, SecretKey )\n    \n      checks for order status of assigned unique id for a perticular symbol.\n    \n* HeyBinance.CheckForCurrentOpenOrders( ALL_BTCUSDT_or_BNBUSDT_or_BTCBNB_etc, ApiKey, SecretKey )\n    \n      checks for all open orders for a perticular symbol\n    \n* HeyBinance.GetAccountInfo( ApiKey, SecretKey )\n    \n      returns a short description of your account\n    \n* HeyBinance.GetCandleStickDataOHLCV( ListOfCoins, ListOfIntervals, fromwhen, tillwhen )\n    \n      same as the above function for candlestick data but returns pandas data base with TIME,OPEN,HIGH,LOW,CLOSE,VOLUME columns for all the coins and its intervals present in the    list.\n\n---\u003e\u003e\u003e I MAY BE UPDATING THIS REPOSITORY WITH MORE EXCHANGES (BOTH CRYPTO AND STOCK) AND ALSO WITH MORE FEATURES IN THE FUTURE \u003c\u003c\u003c--- \n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fth-blitz%2Fbinance-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fth-blitz%2Fbinance-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fth-blitz%2Fbinance-api/lists"}