Articles on: Exchanges

How to add an IP whitelist to your API keys

In V4.0 Altrady introduced IP binding, for even greater security of your API keys.

Each of your API keys has been allocated a set of 20 Altrady IP addresses.
Altrady will only use those 20 IP addresses when sending API requests to the exchange for the specific API key.
This means that no third party can use your API key to trade on the exchange, since Altrady owns the IP addresses.

You can find the IP addresses allocated to each of your API keys by Editing your Trading account on the page: Settings>Exchange API Keys

Edit your Trading Account (API key) in Altrady to locate the set of IP addresses for the API key

Here you can see the list of allocated IP addresses for this API key.
If you can't see IP addresses on your API keys, you can upgrade to the latest version of the app here or under Settings>Check for Updates.
This will download the latest major version using a browser, ready for installation.

These IP addresses are linked to the key in Altrady. This list of IP addresses will not work with any of your other API keys.

The following instructions apply to most exchanges, with the exceptions of Bybit, Bittrex and Kraken.

See below to Add IP addresses for Bittrex and Kraken
See below to Add IP addresses for Bybit including Futures

The list of IP addresses is attached to a specific API key

Log into your Exchange account and navigate to the API keys page.
If you have more than one API key for this exchange, find the correct one. You can check the API key in Altrady and make sure you have the correct one.

Click Edit.

Enable IP whitelisting
On your exchange, it might be called Trusted IPs, IP binding, IP addresses, or IP Whitelist.

If Binance has turned off your trading permission, you might need to add the IP addresses before you can turn on trading permission again.

Copy the list of 20 IP addresses from Altrady, then click Update.

Click Update before leaving the API key dialog

Paste the IP addresses into the relevant field for your exchange.
On some exchanges you must then click Confirm.

On some exchanges (e.g. Binance) click Confirm after you have pasted the IP addresses

Check that all 20 IP addresses have been added

Finally, click Save to save the added IP addresses.

IP whitelist for "Extra Keys"

Huobi, Kraken and Poloniex API keys in Altrady will usually have "extra keys" attached to the main API key. Add the same list of IP addresses to your Extra keys.

In Altrady, if your API key has "Extra Keys", those extra keys should all have the same IP addresses whitelisted in the exchange

Add IP addresses for Bittrex and Kraken

While other exchanges allow adding 20 IP addresses all at once, for Bittrex and Kraken they must be added one at a time.
All 20 should be added to avoid exchange rate limits and to allow for load balancing across IP addresses.

In Altrady, at Settings>Exchange API keys, locate the Trading Account/API key for your Bittrex or Kraken account.
Click Edit to open the data dialog.
Here you will see the API keys for Bittrex or Kraken.
For these two exchanges, each IP address has its own Copy button to facilitate adding the IP addresses to the exchange.

For BTRX and KRKN, each IP address has its own Copy button

Skip to Kraken

Add IP addresses to Bittrex

For Bittrex, log into the exchange and navigate to the IP Allow List page.
Bittrex allocates IP addresses to an account rather than an API key.
Bittrex also requires a fresh 2FA code for each addition, so it will take 10 minutes to add the 20 IP addresses to your Bittrex account.

Click Add New IP Address to add each one individually

You must have 2FA enabled to add IP addresses, and you will be prompted for a fresh 2FA code for each IP address.

In Altrady, click the Copy button to copy an IP address.
Once an address has been copied, the Copy icon is replaced by a tick.

To help you keep track of whish addresses have been copied, the copy icon is replaced by a tick

Check that all 20 have been added.
In Altrady, click Update .
All done.

In Altrady, click Update to finish

Add IP addresses to Kraken

Log into Kraken, navigate to the API key management page.

find the API key that matches your main Kraken API key in Altrady.
If you have API keys on Kraken that are used outside Altrady, it might not be possible to tell which is which, as Kraken does not display the API key, only the label you gave it.

You might also have more than one API key for Altrady, due to adding "Extra Keys" to your Altrady trading account, to avoid Kraken rate limits. That's fine: the IP whitelist will be the same for your main API key and extra keys associated with it, so it doesn't matter if you can't tell which Altrady API key is the main one and which is an extra key.

The IP whitelist will be the same for your main API key and any "Extra keys" associated with it

Edit the API key. Turn on IP whitelisting.

Click Add an IP address or range

Although they must be added to Kraken individually, all IP addresses can be added in a few minutes.

Copy an IP address from Altrady and paste (Windows: Ctrl + V; Mac: CMD + V) into Kraken

Click Add again, and repeat until all 20 IP addresses have been added.
Then click Save at the bottom of the page.

In Altrady, click Update .
All done.

In Altrady, click Update to finish

Repeat the process for any Extra keys that are attached to your main API key in Altrady.

The extra key/s will use the same list of IP addresses.

You can reset the Copy icons by Closing the trading account in Altrady and clicking Edit again.

Add IP addresses for Bybit including Futures

Bybit has a different process for connecting your API key to Altrady's IP addresses.
You will find there are no IP addresses listed on your Bybit API key in Altrady.
Instead Bybit shares a pool of IP addresses across all Altrady users.

Connect to Altrady's pool of IP addresses when you create or edit your Bybit API key in Bybit, by selecting Altrady as your Third Party Application.

For Bybit and Bybit Futures, select Altrady as the Third Party Application

Further Resources about adding API keys for your exchange.

If you have questions, please contact Customer Support, linked at the bottom of this page.

Updated on: 17/06/2024

Was this article helpful?

Share your feedback


Thank you!