Binance API keys with unrestricted IP access are only valid for 90 days. After the API key expires, the Enable Spot & Margin Trading permission gets automatically disabled. To continue using Bitsgap with your Binance account, it is necessary to update your Binance's key permissions.

Here is what you can do to re-activate your expired API key:

  1. Enable Spot & Margin Trading permission

  2. Add trusted Bitsgap's IP addresses

Enable Spot & Margin Trading permission

1. Open the API management page on Binance.

Open your account settings menu, and then continue to API Management

2. Click the [Edit restrictions] button next to your Bitsgap API key, as shown below.

3. Enable all the required permissions as follows and save them.

Check your API's key permissions and activate Enable Spot & Margin Trading option. When ready, click the [Save] button.

When the key is renewed, open Bitsgap and click [Reconnect].

Add trusted Bitsgap's IP addresses

If you want to permanently avoid the expiration of your API keys, follow the instructions below to whitelist Bitgap's IPs on Binance. We strongly recommend doing it as this provides extra security to your Binance account and discard the necessary API key renewal every 90 days.

1. Go to Bitsgap > My Exchanges page

Log in to your Bitsgap account, go to the My Exchanges page, then click the [Add new exchange] button to continue.

2. Select Binance from the list and choose Connect via API keys

Copy the list of trusted IP addresses (simply by clicking the 'Copy' icon) and save them somewhere for now (in a notepad, for example). We will need these IPs later when setting up your API permissions.

3. Open the API management page on Binance.

Open your account settings menu, and then continue to API Management

4. Click the [Edit restrictions] button next to your Bitsgap API key, as shown below.

5. Enable all the required permissions as follows and save them.

Check your API's key permissions and follow the following steps to re-activate your API key:

  1. Enable Reading on (active by default).

  2. Enable Spot & Margin Trading on.

  3. Enable Futures on (optional).

  4. IP Access restrictions: Restrict access to trusted IPs only (insert the IPs copied from the My exchanges tab).

  5. Click [Confirm] to save the pasted IP addresses.

  6. When ready, click [Save].

When the key is renewed, open Bitsgap and click [Reconnect].

Did this answer your question?