How can I find out the IP addresses of the eBay API gateway, so that I can configure my firewall to allow traffic from those IPs?
Summary
You use the command line function nslookup with the server url, to find the IP addresses from which API requests are serviced. Here are some examples of how you can use this command:
Trading API:
nslookup api.ebay.com
Shopping API:
nslookup open.api.ebay.com
You can run these commands periodically to ensure that you have latest IP addresses.