Q: What hostnames and ports do PurpleAir sensors use?

PurpleAir sensors will only communicate with the following fully qualified domain (FQDN) hostnames:

  • http://www.purpleair.com
  • http://api.purpleair.com
  • update.purpleair.com
  • sensors-ingest.wunderground.com
  • pool.ntp.org
  • www.googleapis.com

Outgoing ports used by PurpleAir sensors:

  • HTTP: 80
  • HTTPS: 443
  • DNS: 53
  • NTP: 123

 

Learn More

Sensor WiFi and Registration
WiFi Troubleshooting
WiFi Status Indicators

Do you have the IP address range available for folks with firewall concerns? I want to allow my api.purpleair.com calls through my firewall, but the IP address keeps changing.

Hi Brian,

We’ve addressed your inquiry internally for more extensive troubleshooting, but we’ll respond here as well with some information in case anyone else could benefit.

Our applications, including the API, can have dynamically changing IP addresses. We don’t have an IP range to provide that we believe would sufficiently address your concern. I’ll include this Google Cloud documentation that contains a list of IP ranges that our API may use. However, they update this list frequently, so we don’t know how useful it’ll be for your situation.

For anyone reading this, note that the api.purpleair.com hostname is currently unused by sensors.

1 Like