Skip to main content
In a nutshell
Blockradar’s IP whitelisting lets you restrict API requests to specific IPs, adding an additional layer of protection to your integration.

How It Works

In Live mode, API requests are rejected until at least one IP address is whitelisted. In Test mode, any IP address is accepted while the list is empty. Once IPs are whitelisted, Blockradar rejects any API request that doesn’t originate from one of your approved IPs. This helps prevent unauthorized use of your API key, even if it’s accidentally exposed.

Setting Up IP Whitelisting

1

Go to Developers

Log in to the Blockradar Dashboard and navigate to the Developers page from the sidebar.Developers page in the dashboard navigation
2

Open IP Whitelisting

Find the Secure your API key with IP whitelisting section.
3

Add an IP Address

Click Add IP address, enter the IP address you want to approve, and click Save.Add IP address screen
Make sure to add all IP addresses that your application uses to call the Blockradar API, including any staging or CI/CD servers. Requests from non-whitelisted IPs will be rejected.
If you’re unsure which IP your server uses, you can check by running curl ifconfig.me from your server’s terminal.