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
- 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.
The following instructions apply to most exchanges, with the exceptions of Bybit and Kraken.
See below to Add IP addresses for Kraken
See below to Add IP addresses for Bybit including Futures
- 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.
- Copy the list of 20 IP addresses from Altrady, then click Update.
- Paste the IP addresses into the relevant field for your exchange.
On some exchanges you must then click Confirm.
- Check that all 20 IP addresses have been added
- Finally, click **Save **to save the added IP addresses.
IP whitelist for "Extra Keys"
Add IP addresses for Kraken
While other exchanges allow adding 20 IP addresses all at once, for Kraken they must be added one at a time.
All 20 should be added to allow for load balancing across IP addresses.
- In Altrady, at Settings>Exchange API keys, locate the Trading Account/API key for your Kraken account.
Click **Edit **to open the data dialog.
Here you will see the API keys for Kraken.
Each IP address has its own Copy button to facilitate adding the IP addresses to the exchange.
Continue in 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.
- Edit the API key. Turn on IP whitelisting.
- Click Add an IP address or range
- **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.
- Repeat **the process for any **Extra keys that are attached to your main API key in Altrady.
- 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.
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: 03/10/2024
Thank you!