Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

IP address range of Google Analytics API

I am developing an application on Google Cloud Platform that uses the Google Analytics (v3) API. Due to security constraints, all traffic has to go through a firewall (in a VPC).

As a result, I need a comprehensive list of IP ranges used by the servers of Google Analytics API, which I could reliably use in firewall rules. Where can I find this list?

Many thanks!

like image 687
Nathan Avatar asked Dec 06 '25 07:12

Nathan


1 Answers

This should be ample: https://support.google.com/a/answer/10026322?hl=en

Google exposes the ranges here: https://www.gstatic.com/ipranges/goog.json

And here are google cloud ranges: https://www.gstatic.com/ipranges/cloud.json

Check if your endopint's IP is in there. I checked a few API endpoints IPs and they were in the first list for me.

like image 68
BNazaruk Avatar answered Dec 08 '25 22:12

BNazaruk



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!