---
id: document_item.getting-api-keys-on-binance
page_type: documentation_article
title: "Creation of API keys on the exchange Binance"
description: "How to create Binance HMAC or RSA API keys for Moonbot, enable spot and futures permissions, save the Secret Key and restrict access to trusted IP addresses."
section: documentation
category: "Key Points When Working with the Moonbot Terminal / Installing Moonbot on a Local Computer"
url: https://moonbot.eu/en/documentation/installing-moonbot-on-a-local-computer/getting-api-keys-on-binance?format=md
locale: en
alternate_ru: https://moonbot.eu/documentation/installing-moonbot-on-a-local-computer/getting-api-keys-on-binance?format=md
parent: https://moonbot.eu/en/documentation/installing-moonbot-on-a-local-computer?format=md
previous: https://moonbot.eu/en/documentation/installing-moonbot-on-a-local-computer/account-registration-on-the-binance?format=md
next: https://moonbot.eu/en/documentation/installing-moonbot-on-a-local-computer/funding-the-spot-wallet?format=md
status: published
updated_at: 2026-11-03T18:54:57+03:00
---

# Creation of API keys on the exchange Binance

After logging into your account and completing verification, open the futures trading chart in the [Binance](https://accounts.binance.com/register?ref=joinmoonbot) web interface. Follow the yellow on-screen prompts and pass the test required to access futures trading. You will also need to transfer a small amount of funds to the futures account in your [Binance](https://accounts.binance.com/register?ref=joinmoonbot) account.

Next, go to **Account** → **API Management**.

Click the **Create API** button.

In the **Choose API Key Type** window, click the top option — **System generated** to create **HMAC** keys, or **Self-generated** to create **RSA** keys. Then click **Next**.

In the **Create API** window, in the **Label API key to proceed** field, enter a name for the API key, for example: "**MoonBot***"*, and click **Next**.

In the **Security Verification Requirements** window, complete the required verification steps and enter the code from the **Authenticator App** and the code sent to your **Email**.

Once all steps are completed, the API keys will be successfully created.

⚠️ **Important!** Save the **API Key** and **Secret Key** in a text file on a USB drive or write them down on paper — you will need them to register the keys in the Moonbot terminal (**Settings** → **Login**).

Then click the **Edit restrictions** button.

![](https://moonbot.eu/storage/editor-images/EN01_01-1768137890.jpg)

If you're currently using only the **FREE version**, you will also be able to trade on both the **spot** and **futures** markets. Therefore, it is recommended to immediately create **universal API keys** for trading on the **spot** and **futures** markets. This will allow you to use the same keys in the **PRO version** of the Moonbot terminal in the future without reconfiguring.\
To create universal API keys, check the boxes for **Enable Futures** and **Enable Spot & Margin Trading.**

For security reasons, make sure the **checkbox** for **Enable Withdrawals** is not selected, as Moonbot does not support withdrawal functionality, and it should remain disabled in the API keys.

⚠️ **Important!** Also for security, it is recommended to choose the option **Restrict access to trusted IPs only (Recommended)** without an API key expiration date, and enter the IP address of your computer or server where the Moonbot terminal using these keys is installed. You can find your IP address using any online IP lookup service, such as 🔗[https://2ip.io/](https://2ip.io/)

If you leave the option **Unrestricted (Less Secure)** enabled, the API keys will expire after 90 days, and you will need to manually extend or recreate them. This setting also allows access from any IP address, which significantly reduces security.

If API keys not linked to IP address whitelists have been activated in the Moonbot terminal, information regarding the number of days remaining until the API keys expire will be recorded in the log when the terminal is launched. **Seven days before** this expiry date, a warning highlighted in red will appear in the main terminal window, **in the BNB balance section: "API: N days"**, which indicates the number of days remaining before the API keys expire; a notification to this effect will also be sent via Telegram (initially no more than once every 6 hours; if fewer than 4 days remain, messages will be sent once an hour). This mechanism for checking the expiry dates of API keys has been implemented for all types of exchange connections: **Binance Spot, Binance Futures (USDT-M) and Binance Quarterly (COIN-M)**.

After completing all API key settings, click **Save**.

The **Security Verification Requirements** window will appear again — enter the code from the **Authenticator App** and the code from your email. After this, the changes to your API keys will be saved successfully.

## Navigation

Path: [Main](https://moonbot.eu/en?format=md) / [Documentation](https://moonbot.eu/en/documentation?format=md) / [Key Points When Working with the Moonbot Terminal](https://moonbot.eu/en/documentation/basics?format=md) / [Installing Moonbot on a Local Computer](https://moonbot.eu/en/documentation/installing-moonbot-on-a-local-computer?format=md) / Creation of API keys on the exchange Binance

Parent section: [Installing Moonbot on a Local Computer](https://moonbot.eu/en/documentation/installing-moonbot-on-a-local-computer?format=md)

Previous: [Registering an Account on Binance](https://moonbot.eu/en/documentation/installing-moonbot-on-a-local-computer/account-registration-on-the-binance?format=md)

Next: [Depositing Funds into a Spot Wallet on the Exchange](https://moonbot.eu/en/documentation/installing-moonbot-on-a-local-computer/funding-the-spot-wallet?format=md)

## Related

- [Depositing Funds into a Spot Wallet on the Exchange](https://moonbot.eu/en/documentation/installing-moonbot-on-a-local-computer/funding-the-spot-wallet?format=md)
- [Downloading the Moonbot Terminal](https://moonbot.eu/en/documentation/installing-moonbot-on-a-local-computer/download-the-moonbot-terminal?format=md)
- [Creating a Folder for the Moonbot Terminal](https://moonbot.eu/en/documentation/installing-moonbot-on-a-local-computer/creating-a-folder-for-the-moonbot-terminal?format=md)
- [Launching the Moonbot Terminal](https://moonbot.eu/en/documentation/installing-moonbot-on-a-local-computer/launching-the-moonbot-terminal?format=md)
- [Adding API Keys to the Moonbot Terminal](https://moonbot.eu/en/documentation/installing-moonbot-on-a-local-computer/adding-api-keys-to-the-moonbot-terminal?format=md)
