{"id":465,"date":"2024-01-26T14:22:51","date_gmt":"2024-01-26T05:22:51","guid":{"rendered":"https:\/\/hotnspicytaste.com\/?p=465"},"modified":"2025-12-07T17:42:40","modified_gmt":"2025-12-07T08:42:40","slug":"2024-%eb%b0%94%ec%9d%b4%eb%82%b8%ec%8a%a4-api-%ec%82%ac%ec%9a%a9%eb%b2%95-%ec%b4%9d%ec%a0%95%eb%a6%ac-%eb%b0%9c%ea%b8%89%eb%b6%80%ed%84%b0-%ec%9e%90%eb%8f%99%eb%a7%a4%eb%a7%a4%ea%b9%8c%ec%a7%80","status":"publish","type":"post","link":"https:\/\/hotnspicytaste.com\/en\/2024-%eb%b0%94%ec%9d%b4%eb%82%b8%ec%8a%a4-api-%ec%82%ac%ec%9a%a9%eb%b2%95-%ec%b4%9d%ec%a0%95%eb%a6%ac-%eb%b0%9c%ea%b8%89%eb%b6%80%ed%84%b0-%ec%9e%90%eb%8f%99%eb%a7%a4%eb%a7%a4%ea%b9%8c%ec%a7%80\/","title":{"rendered":"Binance API Usage Guide: Everything from Issuance to Auto Trading!"},"content":{"rendered":"<p>Many people are curious about how to use the Binance API. In this article, we will find out how to use the Binance API, including how to issue the Binance API key and how to withdraw funds using the Binance API.<\/p>\n\n\n\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_83 counter-hierarchy ez-toc-counter ez-toc-grey ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">Table of Contents<\/p>\n<span class=\"ez-toc-title-toggle\"><a href=\"#\" class=\"ez-toc-pull-right ez-toc-btn ez-toc-btn-xs ez-toc-btn-default ez-toc-toggle\" aria-label=\"Toggle Table of Content\"><span class=\"ez-toc-js-icon-con\"><span class=\"\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #999;color:#999\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewbox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #999;color:#999\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewbox=\"0 0 24 24\" version=\"1.2\" baseprofile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/span><\/a><\/span><\/div>\n<nav><ul class='ez-toc-list ez-toc-list-level-1' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/hotnspicytaste.com\/en\/2024-%eb%b0%94%ec%9d%b4%eb%82%b8%ec%8a%a4-api-%ec%82%ac%ec%9a%a9%eb%b2%95-%ec%b4%9d%ec%a0%95%eb%a6%ac-%eb%b0%9c%ea%b8%89%eb%b6%80%ed%84%b0-%ec%9e%90%eb%8f%99%eb%a7%a4%eb%a7%a4%ea%b9%8c%ec%a7%80\/#%EB%B0%94%EC%9D%B4%EB%82%B8%EC%8A%A4_api%EB%9E%80\" >What is the Binance API?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/hotnspicytaste.com\/en\/2024-%eb%b0%94%ec%9d%b4%eb%82%b8%ec%8a%a4-api-%ec%82%ac%ec%9a%a9%eb%b2%95-%ec%b4%9d%ec%a0%95%eb%a6%ac-%eb%b0%9c%ea%b8%89%eb%b6%80%ed%84%b0-%ec%9e%90%eb%8f%99%eb%a7%a4%eb%a7%a4%ea%b9%8c%ec%a7%80\/#%EB%B0%94%EC%9D%B4%EB%82%B8%EC%8A%A4_api_%EC%82%AC%EC%9A%A9%EB%B2%95\" >How to Use Binance API<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/hotnspicytaste.com\/en\/2024-%eb%b0%94%ec%9d%b4%eb%82%b8%ec%8a%a4-api-%ec%82%ac%ec%9a%a9%eb%b2%95-%ec%b4%9d%ec%a0%95%eb%a6%ac-%eb%b0%9c%ea%b8%89%eb%b6%80%ed%84%b0-%ec%9e%90%eb%8f%99%eb%a7%a4%eb%a7%a4%ea%b9%8c%ec%a7%80\/#%EB%B0%94%EC%9D%B4%EB%82%B8%EC%8A%A4_api_%EB%B0%9C%EA%B8%89_%EB%B0%A9%EB%B2%95\" >How to Issue Binance API Key<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/hotnspicytaste.com\/en\/2024-%eb%b0%94%ec%9d%b4%eb%82%b8%ec%8a%a4-api-%ec%82%ac%ec%9a%a9%eb%b2%95-%ec%b4%9d%ec%a0%95%eb%a6%ac-%eb%b0%9c%ea%b8%89%eb%b6%80%ed%84%b0-%ec%9e%90%eb%8f%99%eb%a7%a4%eb%a7%a4%ea%b9%8c%ec%a7%80\/#API_%ED%82%A4_%EC%A0%95%EB%B3%B4\" >API Key Information<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/hotnspicytaste.com\/en\/2024-%eb%b0%94%ec%9d%b4%eb%82%b8%ec%8a%a4-api-%ec%82%ac%ec%9a%a9%eb%b2%95-%ec%b4%9d%ec%a0%95%eb%a6%ac-%eb%b0%9c%ea%b8%89%eb%b6%80%ed%84%b0-%ec%9e%90%eb%8f%99%eb%a7%a4%eb%a7%a4%ea%b9%8c%ec%a7%80\/#API_%EA%B6%8C%ED%95%9C_%EC%84%A4%EC%A0%95_API_Restrictions\" >API Restrictions<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/hotnspicytaste.com\/en\/2024-%eb%b0%94%ec%9d%b4%eb%82%b8%ec%8a%a4-api-%ec%82%ac%ec%9a%a9%eb%b2%95-%ec%b4%9d%ec%a0%95%eb%a6%ac-%eb%b0%9c%ea%b8%89%eb%b6%80%ed%84%b0-%ec%9e%90%eb%8f%99%eb%a7%a4%eb%a7%a4%ea%b9%8c%ec%a7%80\/#IP_%EC%A0%91%EA%B7%BC_%EC%A0%9C%ED%95%9C_IP_Access_Restrictions\" >IP Access Restrictions<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-7\" href=\"https:\/\/hotnspicytaste.com\/en\/2024-%eb%b0%94%ec%9d%b4%eb%82%b8%ec%8a%a4-api-%ec%82%ac%ec%9a%a9%eb%b2%95-%ec%b4%9d%ec%a0%95%eb%a6%ac-%eb%b0%9c%ea%b8%89%eb%b6%80%ed%84%b0-%ec%9e%90%eb%8f%99%eb%a7%a4%eb%a7%a4%ea%b9%8c%ec%a7%80\/#%EB%B0%94%EC%9D%B4%EB%82%B8%EC%8A%A4_API_%EC%9E%90%EB%8F%99%EB%A7%A4%EB%A7%A4_%EB%B0%A9%EB%B2%95\" >Binance API Auto Trading Method<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-8\" href=\"https:\/\/hotnspicytaste.com\/en\/2024-%eb%b0%94%ec%9d%b4%eb%82%b8%ec%8a%a4-api-%ec%82%ac%ec%9a%a9%eb%b2%95-%ec%b4%9d%ec%a0%95%eb%a6%ac-%eb%b0%9c%ea%b8%89%eb%b6%80%ed%84%b0-%ec%9e%90%eb%8f%99%eb%a7%a4%eb%a7%a4%ea%b9%8c%ec%a7%80\/#%EC%84%A0%EB%AC%BC_%EA%B3%BC%EA%B1%B0_%EC%9E%90%EB%A3%8C_%EC%BD%94%EB%93%9C\" >Futures Historical Data Code<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-9\" href=\"https:\/\/hotnspicytaste.com\/en\/2024-%eb%b0%94%ec%9d%b4%eb%82%b8%ec%8a%a4-api-%ec%82%ac%ec%9a%a9%eb%b2%95-%ec%b4%9d%ec%a0%95%eb%a6%ac-%eb%b0%9c%ea%b8%89%eb%b6%80%ed%84%b0-%ec%9e%90%eb%8f%99%eb%a7%a4%eb%a7%a4%ea%b9%8c%ec%a7%80\/#%EC%84%A0%EB%AC%BC_%ED%98%84%EC%9E%AC_%EA%B0%80%EA%B2%A9_%EC%BD%94%EB%93%9C\" >Futures Current Price Code<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-10\" href=\"https:\/\/hotnspicytaste.com\/en\/2024-%eb%b0%94%ec%9d%b4%eb%82%b8%ec%8a%a4-api-%ec%82%ac%ec%9a%a9%eb%b2%95-%ec%b4%9d%ec%a0%95%eb%a6%ac-%eb%b0%9c%ea%b8%89%eb%b6%80%ed%84%b0-%ec%9e%90%eb%8f%99%eb%a7%a4%eb%a7%a4%ea%b9%8c%ec%a7%80\/#%EC%84%A0%EB%AC%BC_%EC%98%A4%EB%8D%94%EB%B6%81_%EC%BD%94%EB%93%9C\" >Futures Order Book Code<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-11\" href=\"https:\/\/hotnspicytaste.com\/en\/2024-%eb%b0%94%ec%9d%b4%eb%82%b8%ec%8a%a4-api-%ec%82%ac%ec%9a%a9%eb%b2%95-%ec%b4%9d%ec%a0%95%eb%a6%ac-%eb%b0%9c%ea%b8%89%eb%b6%80%ed%84%b0-%ec%9e%90%eb%8f%99%eb%a7%a4%eb%a7%a4%ea%b9%8c%ec%a7%80\/#%EC%84%A0%EB%AC%BC_%EC%A3%BC%EB%AC%B8_%EC%BD%94%EB%93%9C\" >Futures Order Code<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-12\" href=\"https:\/\/hotnspicytaste.com\/en\/2024-%eb%b0%94%ec%9d%b4%eb%82%b8%ec%8a%a4-api-%ec%82%ac%ec%9a%a9%eb%b2%95-%ec%b4%9d%ec%a0%95%eb%a6%ac-%eb%b0%9c%ea%b8%89%eb%b6%80%ed%84%b0-%ec%9e%90%eb%8f%99%eb%a7%a4%eb%a7%a4%ea%b9%8c%ec%a7%80\/#%EB%B0%94%EC%9D%B4%EB%82%B8%EC%8A%A4_API_%EC%B6%9C%EA%B8%88_%EB%B0%A9%EB%B2%95\" >How to Withdraw Funds Using Binance API<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-13\" href=\"https:\/\/hotnspicytaste.com\/en\/2024-%eb%b0%94%ec%9d%b4%eb%82%b8%ec%8a%a4-api-%ec%82%ac%ec%9a%a9%eb%b2%95-%ec%b4%9d%ec%a0%95%eb%a6%ac-%eb%b0%9c%ea%b8%89%eb%b6%80%ed%84%b0-%ec%9e%90%eb%8f%99%eb%a7%a4%eb%a7%a4%ea%b9%8c%ec%a7%80\/#%EB%B0%94%EC%9D%B4%EB%82%B8%EC%8A%A4_api_%EC%B6%9C%EA%B8%88_%EC%BD%94%EB%93%9C\" >Binance API Withdrawal Code<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-14\" href=\"https:\/\/hotnspicytaste.com\/en\/2024-%eb%b0%94%ec%9d%b4%eb%82%b8%ec%8a%a4-api-%ec%82%ac%ec%9a%a9%eb%b2%95-%ec%b4%9d%ec%a0%95%eb%a6%ac-%eb%b0%9c%ea%b8%89%eb%b6%80%ed%84%b0-%ec%9e%90%eb%8f%99%eb%a7%a4%eb%a7%a4%ea%b9%8c%ec%a7%80\/#API_%EC%98%88%EC%A0%9C24%EB%85%84_%EB%B2%84%EC%A0%84\" >API Examples (2024 Version)<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-15\" href=\"https:\/\/hotnspicytaste.com\/en\/2024-%eb%b0%94%ec%9d%b4%eb%82%b8%ec%8a%a4-api-%ec%82%ac%ec%9a%a9%eb%b2%95-%ec%b4%9d%ec%a0%95%eb%a6%ac-%eb%b0%9c%ea%b8%89%eb%b6%80%ed%84%b0-%ec%9e%90%eb%8f%99%eb%a7%a4%eb%a7%a4%ea%b9%8c%ec%a7%80\/#%ED%98%84%EC%9E%AC_%EC%9B%90%ED%99%94_%EC%9E%94%EA%B3%A0_%EC%B6%9C%EB%A0%A5_%EC%BD%94%EB%93%9C\" >Code to Output Current KRW Balance<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-16\" href=\"https:\/\/hotnspicytaste.com\/en\/2024-%eb%b0%94%ec%9d%b4%eb%82%b8%ec%8a%a4-api-%ec%82%ac%ec%9a%a9%eb%b2%95-%ec%b4%9d%ec%a0%95%eb%a6%ac-%eb%b0%9c%ea%b8%89%eb%b6%80%ed%84%b0-%ec%9e%90%eb%8f%99%eb%a7%a4%eb%a7%a4%ea%b9%8c%ec%a7%80\/#%EB%B0%94%EC%9D%B4%EB%82%B8%EC%8A%A4_api_key_%E2%80%93_%EA%B3%84%EC%A2%8C_%EC%A0%91%EC%86%8D_%EC%BD%94%EB%93%9C\" >Binance API Key \u2013 Account Access Code<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-17\" href=\"https:\/\/hotnspicytaste.com\/en\/2024-%eb%b0%94%ec%9d%b4%eb%82%b8%ec%8a%a4-api-%ec%82%ac%ec%9a%a9%eb%b2%95-%ec%b4%9d%ec%a0%95%eb%a6%ac-%eb%b0%9c%ea%b8%89%eb%b6%80%ed%84%b0-%ec%9e%90%eb%8f%99%eb%a7%a4%eb%a7%a4%ea%b9%8c%ec%a7%80\/#%EB%B0%94%EC%9D%B4%EB%82%B8%EC%8A%A4_%EC%84%A0%EB%AC%BC_%EB%A7%A4%EC%88%98_%EB%B0%8F_%EB%A7%A4%EB%8F%84_%EC%98%88%EC%A0%9C_%EC%BD%94%EB%93%9C\" >Binance Futures Buy and Sell Example Code<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-18\" href=\"https:\/\/hotnspicytaste.com\/en\/2024-%eb%b0%94%ec%9d%b4%eb%82%b8%ec%8a%a4-api-%ec%82%ac%ec%9a%a9%eb%b2%95-%ec%b4%9d%ec%a0%95%eb%a6%ac-%eb%b0%9c%ea%b8%89%eb%b6%80%ed%84%b0-%ec%9e%90%eb%8f%99%eb%a7%a4%eb%a7%a4%ea%b9%8c%ec%a7%80\/#%EB%B0%94%EC%9D%B4%EB%82%B8%EC%8A%A4_%EC%9E%90%EB%8F%99%EB%A7%A4%EB%A7%A4_%ED%9B%84%EA%B8%B0\" >Binance Auto Trading Review<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-19\" href=\"https:\/\/hotnspicytaste.com\/en\/2024-%eb%b0%94%ec%9d%b4%eb%82%b8%ec%8a%a4-api-%ec%82%ac%ec%9a%a9%eb%b2%95-%ec%b4%9d%ec%a0%95%eb%a6%ac-%eb%b0%9c%ea%b8%89%eb%b6%80%ed%84%b0-%ec%9e%90%eb%8f%99%eb%a7%a4%eb%a7%a4%ea%b9%8c%ec%a7%80\/#%EB%B0%94%EC%9D%B4%EB%82%B8%EC%8A%A4_%EC%82%AC%EC%9A%A9%EB%B2%95\" >Binance Usage Guide<\/a><\/li><\/ul><\/nav><\/div>\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"%EB%B0%94%EC%9D%B4%EB%82%B8%EC%8A%A4_api%EB%9E%80\"><\/span>What is the Binance API?<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>API stands for Application Programming Interface, and it is a programming interface provided by Binance.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"1024\" height=\"298\" data-src=\"https:\/\/hotnspicytaste.com\/wp-content\/uploads\/2024\/01\/image-150-1024x298.png\" alt=\"\" class=\"wp-image-466 lazyload\" title=\"\" data-srcset=\"https:\/\/hotnspicytaste.com\/wp-content\/uploads\/2024\/01\/image-150-1024x298.png 1024w, https:\/\/hotnspicytaste.com\/wp-content\/uploads\/2024\/01\/image-150-300x87.png 300w, https:\/\/hotnspicytaste.com\/wp-content\/uploads\/2024\/01\/image-150-768x223.png 768w, https:\/\/hotnspicytaste.com\/wp-content\/uploads\/2024\/01\/image-150.png 1073w\" data-sizes=\"(max-width: 1024px) 100vw, 1024px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 1024px; --smush-placeholder-aspect-ratio: 1024\/298;\" \/><\/figure>\n\n\n\n<p>By writing programming code using Binance Python, you can implement features such as real-time auto trading, deposits, and withdrawals. <\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"%EB%B0%94%EC%9D%B4%EB%82%B8%EC%8A%A4_api_%EC%82%AC%EC%9A%A9%EB%B2%95\"><\/span>How to Use Binance API<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>First, sign up for Binance. If you sign up using the link below, we will show you how to trade with free limit orders and a 60% discount on market orders.<\/p>\n\n\n\n<a class=\"gb-text gb-text-4d04a662\" href=\"https:\/\/hotnspicytaste.com\/en\/%eb%b0%94%ec%9d%b4%eb%82%b8%ec%8a%a4-%ea%b0%80%ec%9e%85%eb%b0%a9%eb%b2%95%eb%aa%a8%eb%b0%94%ec%9d%bc-pc-1%eb%b6%84-%ec%a0%95%eb%a6%ac\/\" target=\"_blank\" rel=\"noopener\">\ud83d\udcb0 Binance Taker Fee Free, 60% Market Fee Discount Method<\/a>\n\n\n\n<p><\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"%EB%B0%94%EC%9D%B4%EB%82%B8%EC%8A%A4_api_%EB%B0%9C%EA%B8%89_%EB%B0%A9%EB%B2%95\"><\/span>How to Issue Binance API Key<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>1. Access the Binance site and log in.<\/p>\n\n\n\n<p>2. Click the person icon on the top right, then click Account in the bottom menu.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large is-resized\"><img decoding=\"async\" width=\"531\" height=\"1024\" data-src=\"https:\/\/hotnspicytaste.com\/wp-content\/uploads\/2024\/01\/image-196-531x1024.png\" alt=\"How to Issue Binance API Key\" class=\"wp-image-2829 lazyload\" style=\"--smush-placeholder-width: 531px; --smush-placeholder-aspect-ratio: 531\/1024;width:356px;height:auto\" title=\"\" data-srcset=\"https:\/\/hotnspicytaste.com\/wp-content\/uploads\/2024\/01\/image-196-531x1024.png 531w, https:\/\/hotnspicytaste.com\/wp-content\/uploads\/2024\/01\/image-196-155x300.png 155w, https:\/\/hotnspicytaste.com\/wp-content\/uploads\/2024\/01\/image-196.png 602w\" data-sizes=\"(max-width: 531px) 100vw, 531px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" \/><\/figure>\n<\/div>\n\n\n<p>3. Once inside, you will see API Management below Account in the left menu. Click it.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full is-resized\"><img decoding=\"async\" width=\"482\" height=\"682\" data-src=\"https:\/\/hotnspicytaste.com\/wp-content\/uploads\/2024\/01\/image-198.png\" alt=\"How to Issue Binance API Key\" class=\"wp-image-2831 lazyload\" style=\"--smush-placeholder-width: 482px; --smush-placeholder-aspect-ratio: 482\/682;width:264px;height:auto\" title=\"\" data-srcset=\"https:\/\/hotnspicytaste.com\/wp-content\/uploads\/2024\/01\/image-198.png 482w, https:\/\/hotnspicytaste.com\/wp-content\/uploads\/2024\/01\/image-198-212x300.png 212w\" data-sizes=\"(max-width: 482px) 100vw, 482px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" \/><\/figure>\n<\/div>\n\n\n<p>4. A warning window will pop up with information about the Binance API. Click on API key Terms of Use to read it once. Click I agree.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full is-resized\"><img decoding=\"async\" width=\"710\" height=\"542\" data-src=\"https:\/\/hotnspicytaste.com\/wp-content\/uploads\/2024\/01\/image-197.png\" alt=\"How to Issue Binance API Key\" class=\"wp-image-2830 lazyload\" style=\"--smush-placeholder-width: 710px; --smush-placeholder-aspect-ratio: 710\/542;width:318px;height:auto\" title=\"\" data-srcset=\"https:\/\/hotnspicytaste.com\/wp-content\/uploads\/2024\/01\/image-197.png 710w, https:\/\/hotnspicytaste.com\/wp-content\/uploads\/2024\/01\/image-197-300x229.png 300w\" data-sizes=\"(max-width: 710px) 100vw, 710px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" \/><\/figure>\n<\/div>\n\n\n<p>5. Click Create API on the top right.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"1024\" height=\"440\" data-src=\"https:\/\/hotnspicytaste.com\/wp-content\/uploads\/2024\/01\/image-199-1024x440.png\" alt=\"How to Issue Binance API Key\" class=\"wp-image-2832 lazyload\" title=\"\" data-srcset=\"https:\/\/hotnspicytaste.com\/wp-content\/uploads\/2024\/01\/image-199-1024x440.png 1024w, https:\/\/hotnspicytaste.com\/wp-content\/uploads\/2024\/01\/image-199-300x129.png 300w, https:\/\/hotnspicytaste.com\/wp-content\/uploads\/2024\/01\/image-199-768x330.png 768w, https:\/\/hotnspicytaste.com\/wp-content\/uploads\/2024\/01\/image-199-1536x659.png 1536w, https:\/\/hotnspicytaste.com\/wp-content\/uploads\/2024\/01\/image-199-2048x879.png 2048w\" data-sizes=\"(max-width: 1024px) 100vw, 1024px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 1024px; --smush-placeholder-aspect-ratio: 1024\/440;\" \/><\/figure>\n\n\n\n<p>The text in the image above translates as follows:<\/p>\n\n\n\n<p><strong>API Management<\/strong><\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Each account can create a maximum of 30 API keys. <strong>30\uac1c\uc758 API \ud0a4<\/strong>\ub97c \uc0dd\uc131\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.<\/li>\n\n\n\n<li><strong>API Key, Secret Key (HMAC), Private Key (Ed25519, RSA) should never be shared with others.<\/strong> It may lead to asset loss.<\/li>\n\n\n\n<li><strong>It is recommended to restrict access only to trusted IP addresses.<\/strong>\uc744 \uad8c\uc7a5\ud569\ub2c8\ub2e4.<\/li>\n\n\n\n<li><strong>You cannot create an API Key without completing KYC (Identity Verification).<\/strong> \uc744 \uc644\ub8cc\ud558\uc9c0 \uc54a\uc73c\uba74 API Key\ub97c \uc0dd\uc131\ud560 \uc218 \uc5c6\uc2b5\ub2c8\ub2e4.<\/li>\n<\/ol>\n\n\n\n<p><strong>Checkbox text:<\/strong> If you select this box, all existing API Keys of the master account and sub-accounts will be subject to Default Security Controls.<\/p>\n\n\n\n<p>6. You need to choose the API key type. For first-time users, select the System generated method.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full is-resized\"><img decoding=\"async\" width=\"950\" height=\"984\" data-src=\"https:\/\/hotnspicytaste.com\/wp-content\/uploads\/2024\/01\/image-200.png\" alt=\"How to Issue Binance API Key\" class=\"wp-image-2833 lazyload\" style=\"--smush-placeholder-width: 950px; --smush-placeholder-aspect-ratio: 950\/984;width:554px;height:auto\" title=\"\" data-srcset=\"https:\/\/hotnspicytaste.com\/wp-content\/uploads\/2024\/01\/image-200.png 950w, https:\/\/hotnspicytaste.com\/wp-content\/uploads\/2024\/01\/image-200-290x300.png 290w, https:\/\/hotnspicytaste.com\/wp-content\/uploads\/2024\/01\/image-200-768x795.png 768w\" data-sizes=\"(max-width: 950px) 100vw, 950px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" \/><\/figure>\n<\/div>\n\n\n<p>7. Enter the desired API name.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full is-resized\"><img decoding=\"async\" width=\"692\" height=\"498\" data-src=\"https:\/\/hotnspicytaste.com\/wp-content\/uploads\/2024\/01\/image-201.png\" alt=\"How to Issue Binance API Key\" class=\"wp-image-2834 lazyload\" style=\"--smush-placeholder-width: 692px; --smush-placeholder-aspect-ratio: 692\/498;width:314px;height:auto\" title=\"\" data-srcset=\"https:\/\/hotnspicytaste.com\/wp-content\/uploads\/2024\/01\/image-201.png 692w, https:\/\/hotnspicytaste.com\/wp-content\/uploads\/2024\/01\/image-201-300x216.png 300w\" data-sizes=\"(max-width: 692px) 100vw, 692px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" \/><\/figure>\n<\/div>\n\n\n<p>8. Proceed with the Security Verification process. You must complete Passkey and facial verification.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large is-resized\"><img decoding=\"async\" width=\"723\" height=\"1024\" data-src=\"https:\/\/hotnspicytaste.com\/wp-content\/uploads\/2024\/01\/image-202-723x1024.png\" alt=\"How to Issue Binance API Key\" class=\"wp-image-2835 lazyload\" style=\"--smush-placeholder-width: 723px; --smush-placeholder-aspect-ratio: 723\/1024;width:469px;height:auto\" title=\"\" data-srcset=\"https:\/\/hotnspicytaste.com\/wp-content\/uploads\/2024\/01\/image-202-723x1024.png 723w, https:\/\/hotnspicytaste.com\/wp-content\/uploads\/2024\/01\/image-202-212x300.png 212w, https:\/\/hotnspicytaste.com\/wp-content\/uploads\/2024\/01\/image-202-768x1088.png 768w, https:\/\/hotnspicytaste.com\/wp-content\/uploads\/2024\/01\/image-202.png 822w\" data-sizes=\"(max-width: 723px) 100vw, 723px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" \/><\/figure>\n<\/div>\n\n\n<p><\/p>\n\n\n\n<p>9. Copy and paste the API key and Secret Key. Be especially careful to save the Secret Key, as it will not be displayed after your initial access.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"1024\" height=\"429\" data-src=\"https:\/\/hotnspicytaste.com\/wp-content\/uploads\/2024\/01\/image-204-1024x429.png\" alt=\"How to Issue Binance API Key\" class=\"wp-image-2837 lazyload\" title=\"\" data-srcset=\"https:\/\/hotnspicytaste.com\/wp-content\/uploads\/2024\/01\/image-204-1024x429.png 1024w, https:\/\/hotnspicytaste.com\/wp-content\/uploads\/2024\/01\/image-204-300x126.png 300w, https:\/\/hotnspicytaste.com\/wp-content\/uploads\/2024\/01\/image-204-768x322.png 768w, https:\/\/hotnspicytaste.com\/wp-content\/uploads\/2024\/01\/image-204-1536x644.png 1536w, https:\/\/hotnspicytaste.com\/wp-content\/uploads\/2024\/01\/image-204-2048x858.png 2048w\" data-sizes=\"(max-width: 1024px) 100vw, 1024px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 1024px; --smush-placeholder-aspect-ratio: 1024\/429;\" \/><\/figure>\n\n\n\n<p>10 Set the API permissions. The details of the items marked in the image above are as follows:<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"API_%ED%82%A4_%EC%A0%95%EB%B3%B4\"><\/span><strong>API Key Information<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>HMAC lever1000<\/strong><br>This is an API key generated with the HMAC method, and its name (label) is 'lever1000'.<\/li>\n\n\n\n<li><strong>QR Code<\/strong><br>Used when connecting to this API key address by scanning it with an external app or bot.<\/li>\n\n\n\n<li><strong>API Key \/ Secret Key<\/strong><br>Authentication keys used by the trading program to access the exchange account.<br><strong>Must never be shared with others<\/strong> asset theft can occur if exposed.<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"API_%EA%B6%8C%ED%95%9C_%EC%84%A4%EC%A0%95_API_Restrictions\"><\/span><strong>API Restrictions<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>The functions currently allowed for this API key.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Enable Reading (Activated)<\/strong> : Can view (Read) account information or trading history. <strong>\uc870\ud68c(Read)<\/strong> \ud560 \uc218 \uc788\uc74c.<\/li>\n\n\n\n<li><strong>Enable Spot &amp; Margin Trading<\/strong> Can execute Spot and Margin trading functions via API.<\/li>\n\n\n\n<li><strong>Enable Futures<\/strong> Allows Futures trading.<\/li>\n\n\n\n<li><strong>Enable Margin Loan, Repay &amp; Transfer<\/strong> Allows Margin loans, repayment, and fund transfers.<\/li>\n\n\n\n<li><strong>Enable European Options<\/strong> Allows European Options trading.<\/li>\n\n\n\n<li><strong>Permits Universal Transfer<\/strong> Allows fund transfer between wallets.<\/li>\n\n\n\n<li><strong>Enable Withdrawals<\/strong> Allows the withdrawal function (Generally disabled as it is the most dangerous).<\/li>\n\n\n\n<li><strong>Enable Symbol Whitelist<\/strong> Sets a whitelist that only allows specific symbols.<\/li>\n<\/ul>\n\n\n\n<p>In the current screen, only <strong>Enable Reading<\/strong>is checked, <strong>meaning this API key is created as<\/strong> Read-only (the safest state).<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"IP_%EC%A0%91%EA%B7%BC_%EC%A0%9C%ED%95%9C_IP_Access_Restrictions\"><\/span><strong>IP Access Restrictions<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Unrestricted (Less Secure)<\/strong><br>Currently, this API key is accessible from all IP addresses. <strong>\ubaa8\ub4e0 IP \uc8fc\uc18c\uc5d0\uc11c \uc811\uadfc\uc774 \uac00\ub2a5<\/strong>\ud55c \uc0c1\ud0dc\uc785\ub2c8\ub2e4.<br>The security warning is displayed in red because this setting is <strong>not recommended.<\/strong>\uc785\ub2c8\ub2e4.<\/li>\n\n\n\n<li><strong>Restrict access to trusted IPs only (Recommended)<\/strong><br>An option to restrict access only to specific IP addresses.<br>It is generally recommended to enable this setting for security.<\/li>\n<\/ul>\n\n\n\n<p>Warning Message: \"This API key is accessible from any IP. This is not recommended. For the safety of your funds, if there are no IP restrictions and permissions other than Read are allowed, this API key may be deleted.\"<\/p>\n\n\n\n<p>The API issuance is now complete. You can now use it as you wish.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"%EB%B0%94%EC%9D%B4%EB%82%B8%EC%8A%A4_API_%EC%9E%90%EB%8F%99%EB%A7%A4%EB%A7%A4_%EB%B0%A9%EB%B2%95\"><\/span>Binance API Auto Trading Method<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>The necessary preparations for Binance auto trading are as follows:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Binance API<\/li>\n\n\n\n<li>Auto Trading Bot Program<\/li>\n<\/ul>\n\n\n\n<p>Preferred programs differ for each individual, but I recommend TradingHook.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>TradingView Pine Script<\/li>\n<\/ul>\n\n\n\n<p>This can be seen as the strategy that determines the criteria for implementing auto trading. Strategies with higher prices often had better returns. However, this is not always the case. But strategies with higher prices often have more capital invested or have been used by many people before.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Cloud (Linux)<\/li>\n<\/ul>\n\n\n\n<p><\/p>\n\n\n\n<p>you can refer to the following for Binance Futures auto trading code:<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"%EC%84%A0%EB%AC%BC_%EA%B3%BC%EA%B1%B0_%EC%9E%90%EB%A3%8C_%EC%BD%94%EB%93%9C\"><\/span>Futures Historical Data Code<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<pre class=\"wp-block-code\"><code>with open(\"..\/account.txt\") as f:\n    lines = f.readlines()\n    api_key = lines&#91;0].strip()\n    api_secret = lines&#91;1].strip()\n\n\nfrom binance.client import Client\nclient = Client(api_key=api_key, api_secret=api_secret)\ndata = client.futures_historical_klines(\n    symbol=\"BTCUSDT\",\n    interval='1d',\n    start_str='2021-01-01',\n    end_str=\"2021-11-26\"\n)\nprint(data)<\/code><\/pre>\n\n\n\n<p><\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"%EC%84%A0%EB%AC%BC_%ED%98%84%EC%9E%AC_%EA%B0%80%EA%B2%A9_%EC%BD%94%EB%93%9C\"><\/span>Futures Current Price Code<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<pre class=\"wp-block-code\"><code>with open(\"..\/account.txt\") as f:\n    lines = f.readlines()\n    api_key = lines&#91;0].strip()\n    api_secret = lines&#91;1].strip()\n\n\nfrom binance.client import Client\nclient = Client(api_key=api_key, api_secret=api_secret)\nprice = client.futures_symbol_ticker(symbol=\"BTCUSDT\")\nprint(price)<\/code><\/pre>\n\n\n\n<p><\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"%EC%84%A0%EB%AC%BC_%EC%98%A4%EB%8D%94%EB%B6%81_%EC%BD%94%EB%93%9C\"><\/span>Futures Order Book Code<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<pre class=\"wp-block-code\"><code>with open(\"..\/account.txt\") as f:\n    lines = f.readlines()\n    api_key = lines&#91;0].strip()\n    api_secret = lines&#91;1].strip()\n\n\nfrom binance.client import Client\nclient = Client(api_key=api_key, api_secret=api_secret)\norderbook = client.futures_order_book(symbol='BTCUSDT')\nprint(orderbook.keys())<\/code><\/pre>\n\n\n\n<p><\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"%EC%84%A0%EB%AC%BC_%EC%A3%BC%EB%AC%B8_%EC%BD%94%EB%93%9C\"><\/span>Futures Order Code<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<pre class=\"wp-block-code\"><code>with open(\"..\/account.txt\") as f:\n    lines = f.readlines()\n    api_key = lines&#91;0].strip()\n    api_secret = lines&#91;1].strip()\n\n\nfrom binance.client import Client\nclient = Client(api_key=api_key, api_secret=api_secret)\norder = client.futures_create_order(\n    symbol=\"XRPUSDT\",\n    type=\"LIMIT\",\n    timeInForce='GTC',\n    price=0.85,\n    side='BUY',\n    quantity=10\n)\nprint(order)<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"%EB%B0%94%EC%9D%B4%EB%82%B8%EC%8A%A4_API_%EC%B6%9C%EA%B8%88_%EB%B0%A9%EB%B2%95\"><\/span>How to Withdraw Funds Using Binance API<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"%EB%B0%94%EC%9D%B4%EB%82%B8%EC%8A%A4_api_%EC%B6%9C%EA%B8%88_%EC%BD%94%EB%93%9C\"><\/span>Binance API Withdrawal Code<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"733\" height=\"173\" data-src=\"https:\/\/hotnspicytaste.com\/wp-content\/uploads\/2024\/01\/image-159.png\" alt=\"\ubc14\uc774\ub0b8\uc2a4 api \ucd9c\uae08\" class=\"wp-image-478 lazyload\" title=\"\" data-srcset=\"https:\/\/hotnspicytaste.com\/wp-content\/uploads\/2024\/01\/image-159.png 733w, https:\/\/hotnspicytaste.com\/wp-content\/uploads\/2024\/01\/image-159-300x71.png 300w\" data-sizes=\"(max-width: 733px) 100vw, 733px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 733px; --smush-placeholder-aspect-ratio: 733\/173;\" \/><\/figure>\n\n\n\n<p>The Binance API withdrawal code is as follows:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>from binance.client import Client\nfrom binance.exceptions import BinanceAPIException\n\napi_key = \"\ubcf8\uc778\uc758 \ubc14\uc774\ub0b8\uc2a4 API\ud0a4\"\napi_secret = \"\ubcf8\uc778\uc758 \ubc14\uc774\ub0b8\uc2a4 \uc2dc\ud06c\ub9bf\ud0a4\"\n\nclient = Client(api_key=api_key, api_secret=api_secret)\n\nresult = client.withdraw(coin= '\ucf54\uc778', amount=\uc218\ub7c9, address=\"\ucd9c\uae08\uc8fc\uc18c\", network='\uccb4\uc778')\n\n#ex)result = client.withdraw(coin= 'USDT', amount=100, address=\"\ucd9c\uae08\uc8fc\uc18c\", network='BSC')<\/code><\/pre>\n\n\n\n<p><\/p>\n\n\n\n<p>First, download the Binance Python module in the terminal as shown below.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>pip install python-binance<\/code><\/pre>\n\n\n\n<p><\/p>\n\n\n\n<p>Looking at the code, it first imports the Binance module.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>from binance.client import Client\nfrom binance.exceptions import BinanceAPIException\n\napi_key = \"\ubcf8\uc778\uc758 \ubc14\uc774\ub0b8\uc2a4 API\ud0a4\"\napi_secret = \"\ubcf8\uc778\uc758 \ubc14\uc774\ub0b8\uc2a4 \uc2dc\ud06c\ub9bf\ud0a4\"<\/code><\/pre>\n\n\n\n<p>Then, it declares the api_key and api_secret variables to store your Binance API key and Secret Key.<\/p>\n\n\n\n<p><\/p>\n\n\n\n<p>Be careful, as the Secret Key cannot be retrieved after the initial issuance. Next, it configures the client function to link your API key and Secret Key.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>client = Client(api_key=api_key, api_secret=api_secret)\n\nresult = client.withdraw(coin= '\ucf54\uc778', amount=\uc218\ub7c9, address=\"\ucd9c\uae08\uc8fc\uc18c\", network='\uccb4\uc778')<\/code><\/pre>\n\n\n\n<p>The withdraw function, which handles withdrawals, includes information such as the type and quantity of the coin to be withdrawn, the withdrawal address, and the withdrawal chain.<\/p>\n\n\n\n<p>For the chain, you would input it in the format Ethereum - ETH, Arbitrum - ARB, Tron - TRX, which completes the withdrawal code.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"API_%EC%98%88%EC%A0%9C24%EB%85%84_%EB%B2%84%EC%A0%84\"><\/span>API Examples (2024 Version)<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"%ED%98%84%EC%9E%AC_%EC%9B%90%ED%99%94_%EC%9E%94%EA%B3%A0_%EC%B6%9C%EB%A0%A5_%EC%BD%94%EB%93%9C\"><\/span>Code to Output Current KRW Balance<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<pre class=\"wp-block-code\"><code>import ccxt\n\nwith open(\"key\/bithumb_key.txt\") as f:\n    lines = f.readlines()\n    connect_key = lines&#91;0].strip()\n    secret_key = lines&#91;1].strip()\n\nexchange = ccxt.bithumb(config={\n    'apiKey': connect_key,\n    'secret': secret_key,\n    'enableRateLimit': True\n    }\n)\n\n# balance\nbalance = exchange.fetch_balance()\nkrw_balance = balance&#91;'KRW']\nprint(krw_balance&#91;'total'])<\/code><\/pre>\n\n\n\n<p><\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"%EB%B0%94%EC%9D%B4%EB%82%B8%EC%8A%A4_api_key_%E2%80%93_%EA%B3%84%EC%A2%8C_%EC%A0%91%EC%86%8D_%EC%BD%94%EB%93%9C\"><\/span>Binance API Key \u2013 Account Access Code<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<pre class=\"wp-block-code\"><code>import os\nfrom binance.client import Client\n\napi_key = os.getenv('Binan_API_KEY')\napi_secret = os.getenv('Binan_SECRET_KEY')\n\nclient = Client(api_key, api_secret)\n\n# Get asset balance\nbalance = client.get_asset_balance(asset='XRP')\nprint('XRP balance :', balance)<\/code><\/pre>\n\n\n\n<p><\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"%EB%B0%94%EC%9D%B4%EB%82%B8%EC%8A%A4_%EC%84%A0%EB%AC%BC_%EB%A7%A4%EC%88%98_%EB%B0%8F_%EB%A7%A4%EB%8F%84_%EC%98%88%EC%A0%9C_%EC%BD%94%EB%93%9C\"><\/span>Binance Futures Buy and Sell Example Code<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<pre class=\"wp-block-code\"><code>def order(symbol, side, quantity)-&gt; int:\n    now = rq.get('https:\/\/api.binance.com\/api\/v3\/time').json()&#91;'serverTime']  # \ud604\uc7ac \uc2dc\uc810\n    if quantity &gt;= 10:\n        quantity = str(int(quantity))\n    else:\n        quantity = str(quantity)\n        quantity = quantity&#91;:5]\n        if quantity.endswith('.'):\n            quantity = quantity&#91;:-1]\n    if side == 1:\n        side = 'BUY'\n    else:\n        side = 'SELL'\n    message = f'symbol={symbol}&amp;side={side}&amp;type=MARKET&amp;quantity={quantity}&amp;timestamp={now}'\n    signature = hmac.new(key=SECRET_KEY.encode('utf-8'), msg=message.encode('utf-8'),\n                 digestmod=hashlib.sha256).hexdigest()\n    url = f'{URL}\/fapi\/v1\/order?{message}&amp;signature={signature}'\n    result = rq.post(url, headers = headers)\n    return result.status_code\n\t\t\nsymbol = 'IOTAUSDT'\nside = 'SELL'  # or BUY\nquantity = 20\nstatus_code = order(symbol, side, quantity)\nprint(status_code)<\/code><\/pre>\n\n\n\n<p><\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"%EB%B0%94%EC%9D%B4%EB%82%B8%EC%8A%A4_%EC%9E%90%EB%8F%99%EB%A7%A4%EB%A7%A4_%ED%9B%84%EA%B8%B0\"><\/span>Binance Auto Trading Review<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>If you are curious about trading reviews, please refer to the article below.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/hotnspicytaste.com\/en\/%eb%b0%94%ec%9d%b4%eb%82%b8%ec%8a%a4-%ec%9e%90%eb%8f%99%eb%a7%a4%eb%a7%a4-%ed%9b%84%ea%b8%b0-2024\/\" title=\"Binance Auto Trading Review (2025)\">Binance Auto Trading Review<\/a><\/li>\n<\/ul>\n\n\n\n<p>Binance Auto Trading Review Recently, many people have been making decent profits by trading with bots created using the built-in features on Binance, without such complex processes. I will post about this later.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"%EB%B0%94%EC%9D%B4%EB%82%B8%EC%8A%A4_%EC%82%AC%EC%9A%A9%EB%B2%95\"><\/span>Binance Usage Guide<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>We have gathered all the previously compiled exchange usage guides and Q&amp;A into a roadmap for easy viewing. Please bookmark and use it.<\/p>\n\n\n\n<a class=\"gb-text gb-text-7daed3e6\" href=\"https:\/\/comfortable-pair-fa9.notion.site\/28b1bcd527b381d0adaff5f9329b2ade?source=copy_link\" target=\"_blank\" rel=\"noopener\">[Check Crypto Exchange Usage Guide]<\/a>","protected":false},"excerpt":{"rendered":"<p>Many people are curious about how to use the Binance API. In this article, we will find out how to use the Binance API, including how to issue the Binance API key and how to withdraw funds using the Binance API... <a title=\"Binance API Usage Guide: Everything from Issuance to Auto Trading!\" class=\"read-more\" href=\"https:\/\/hotnspicytaste.com\/en\/2024-%eb%b0%94%ec%9d%b4%eb%82%b8%ec%8a%a4-api-%ec%82%ac%ec%9a%a9%eb%b2%95-%ec%b4%9d%ec%a0%95%eb%a6%ac-%eb%b0%9c%ea%b8%89%eb%b6%80%ed%84%b0-%ec%9e%90%eb%8f%99%eb%a7%a4%eb%a7%a4%ea%b9%8c%ec%a7%80\/\" aria-label=\"Read more about 2025 \ubc14\uc774\ub0b8\uc2a4 api \uc0ac\uc6a9\ubc95 \ucd1d\uc815\ub9ac! (\ubc1c\uae09\ubd80\ud130 \uc790\ub3d9\ub9e4\ub9e4\uae4c\uc9c0)\">Read more<\/a><\/p>","protected":false},"author":2,"featured_media":2840,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[],"class_list":["post-465","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-binance-exchange-usage-guide"],"_links":{"self":[{"href":"https:\/\/hotnspicytaste.com\/en\/wp-json\/wp\/v2\/posts\/465","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/hotnspicytaste.com\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/hotnspicytaste.com\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/hotnspicytaste.com\/en\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/hotnspicytaste.com\/en\/wp-json\/wp\/v2\/comments?post=465"}],"version-history":[{"count":12,"href":"https:\/\/hotnspicytaste.com\/en\/wp-json\/wp\/v2\/posts\/465\/revisions"}],"predecessor-version":[{"id":3582,"href":"https:\/\/hotnspicytaste.com\/en\/wp-json\/wp\/v2\/posts\/465\/revisions\/3582"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/hotnspicytaste.com\/en\/wp-json\/wp\/v2\/media\/2840"}],"wp:attachment":[{"href":"https:\/\/hotnspicytaste.com\/en\/wp-json\/wp\/v2\/media?parent=465"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/hotnspicytaste.com\/en\/wp-json\/wp\/v2\/categories?post=465"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/hotnspicytaste.com\/en\/wp-json\/wp\/v2\/tags?post=465"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}