Sometimes, when connecting to external resources such as APIs, the other party will need to whitelist the IP address your script is connecting from in order to allow this to access the server/service. Due to the nature of our network, the outbound connection is not necessarily going to be from the IP address of your hosting package.
Outbound connections for our shared hosting platform will come from 185.151.28.62, 185.151.28.63, 185.146.165.194, 185.146.165.195, 45.8.227.175 or 45.8.227.176
Additionally, if you have a scheduled task that makes such calls, this will be from 185.151.28.61, 185.146.165.196 or 45.8.227.174
The above addresses are subject to change though so we would recommend whitelisting the IP ranges 185.151.28.0/24, 185.146.165.0/24, 45.8.225.0/24 and 45.8.227.0/24.