Explore Tomorrow.io’s Air Quality API for Accurate, Reliable Data

Tomorrow.io’s Air Quality API offers EPA index parameters and numerous data points in order to predict and take action based on air quality data.

To start, you first need to know which event you want to monitor. You could use custom queries that pull air quality data, but Tomorrow.io Air Pollution API users can ultimately approach this challenge in several different ways, most of which leverage the Insights collection.
The quickest way to get insights on severe weather events is to use the Events endpoint. This endpoint pulls data based on pre-made severe weather events. Let’s say that you want to get information about fires to determine if air quality will be low for a specific area. You could make a Python call like the one below.

Notice in the GET request that the insights parameter is set to fires. The insights parameter is used to define the event that you want to retrieve based on the location value defined in the location parameter.