Air Quality Index API

Air Quality Index API

This API will retrieve the current, historical, and forecasted Air Quality Index of any location in the world.

API description

About the API:

An air quality index (AQI) is used by government agencies to communicate to the public how polluted the air currently is or how polluted it is forecast to become.[2][3] AQI information is obtained by averaging readings from an air quality sensor, which can increase due to vehicle traffic, forest fires, or anything that can increase air pollution. Pollutants tested include ozone, nitrogen dioxide, and sulfur dioxide, among others.

Public health risks increase as the AQI rises, especially affecting children, the elderly, and individuals with respiratory or cardiovascular issues. During these times, governmental bodies generally encourage people to reduce physical activity outdoors, or even avoid going out altogether.

This API will provide you with the AQI of any place in the world.

 

What your API receives and what your API provides (input/output)?

Just pass the  Coordinates of the location that you want to get its AQI from. 

Receive data like:

  • AQI.
  • O3 Concentration of Surface
  • SO2 Concentration of Surface
  • The concentration of particulate matter < 2.5 microns
  • More...

 

What are the most common uses cases of this API?

The key benefit of using an AQI is the ability to communicate data with the public, both easily and conveniently. AQI can demystify data – you don’t need to be an expert to understand AQI values – they’re easily scaled and color-coded – there is no need to understand units and concentrations. Often data are communicated in relation to a standard – but this approach assumes that people understand that there are no safe limits for concentrations and that just because concentrations are below a guideline doesn't mean that there are no health impacts.

Transforming your data into something the public can understand is really valuable – you retain your traditional dataset, and for minimal effort and calculation you can present it in an understandable and recognizable form for everyone.

AQI calculations are very straightforward – often they are as simple as assessing what range of values a concentration falls in. Accordingly, they’re very easy to display on websites or in real-time on a screen. Since many AQI is calculated on the highest pollutant concentration, you can calculate an AQI using a single pollutant – so if your network of sites has a bit of variation is not a problem – you can still create a useful AQI from the data you have.

 

Are there any limitations to your plans?

Besides the number of API calls per month, there is a limitation of 25 calls per day on FREE, BASIC, and PRO plans. 

API Documentation

Endpoints


Retrieves current air quality conditions for any location in the world, given a lat/long.

Current Air Quality Response fields

lat: Latitude (Degrees).
lon: Longitude (Degrees).
timezone: Local IANA Timezone.
city_name: Nearest city name.
country_code: Country abbreviation.
state_code: State abbreviation/code.
data: [
{

  • aqi: Air Quality Index [US - EPA standard 0 - +500]
  • o3: Concentration of surface O3 (µg/m³)
  • so2: Concentration of surface SO2 (µg/m³)
  • no2: Concentration of surface NO2 (µg/m³)
  • co: Concentration of carbon monoxide (µg/m³)
  • pm25: Concentration of particulate matter < 2.5 microns (µg/m³)
  • pm10: Concentration of particulate matter < 10 microns (µg/m³)
  • pollen_level_tree: Tree pollen level (0 = None, 1 = Low, 2 = Moderate, 3 = High, 4 = Very High)
  • pollen_level_grass: Grass pollen level (0 = None, 1 = Low, 2 = Moderate, 3 = High, 4 = Very High)
  • pollen_level_weed: Weed pollen level (0 = None, 1 = Low, 2 = Moderate, 3 = High, 4 = Very High)
  • mold_level: Mold pollen level (0 = None, 1 = Low, 2 = Moderate, 3 = High, 4 = Very High)
    -predominant_pollen_type: Predominant pollen type (Trees/Weeds/Molds/Grasses)
    }, … ]



                                                                            
GET https://zylalabs.com/api/761/air+quality+index+api/484/current+air+quality
                                                                            
                                                                        

RESPONSE:



                                                                                                                                                                                                                                
                                                                                                        
                                                                                                                                                                                                                            {"city_name":"Daly City","country_code":"US","data":[{"aqi":13,"co":534.3333,"mold_level":1,"no2":19.722223,"o3":28.5,"pm10":1.722358,"pm25":1.2917686,"pollen_level_grass":0,"pollen_level_tree":1,"pollen_level_weed":1,"predominant_pollen_type":"Molds","so2":0.75}],"lat":37.7547,"lon":-122.4846,"state_code":"CA","timezone":"America/Los_Angeles"}
                                                                                                                                                                                                                    
                                                                                                    

Current Air Quality - Endpoint Features
Object Description
lon [Required] Longitude
lat [Required] Latitude


Returns a 3-day (72-hour) air quality forecast for any point in the world given a lat/long.

 

Example Response:

lat: Latitude (Degrees).
lon: Longitude (Degrees).
timezone: Local IANA Timezone.
city_name: Nearest city name.
country_code: Country abbreviation.
state_code: State abbreviation/code.
[
{

  • timestamp_local: Timestamp at local time.
  • timestamp_utc: Timestamp at UTC time.
  • ts: Unix Timestamp at UTC time.
  • aqi: Air Quality Index [US - EPA standard 0 - +500]
  • o3: Concentration of surface O3 (µg/m³)
  • so2: Concentration of surface SO2 (µg/m³)
  • no2: Concentration of surface NO2 (µg/m³)
  • co: Concentration of carbon monoxide (µg/m³)
  • pm25: Concentration of particulate matter < 2.5 microns (µg/m³)
  • pm10: Concentration of particulate matter < 10 microns (µg/m³)

}, … ]

 



                                                                            
GET https://zylalabs.com/api/761/air+quality+index+api/485/air+quality+forecast
                                                                            
                                                                        

RESPONSE:



                                                                                                                                                                                                                                
                                                                                                        
                                                                                                                                                                                                                            {"city_name":"Daly City","country_code":"US","data":[{"aqi":13,"co":396.70322,"datetime":"2022-12-05:18","no2":11.837619,"o3":28.401041,"pm10":1.722358,"pm25":0.9956905,"so2":0.010477379,"timestamp_local":"2022-12-05T10:00:00","timestamp_utc":"2022-12-05T18:00:00","ts":1670263200},{"aqi":13,"co":328.8895,"datetime":"2022-12-05:19","no2":7.895717,"o3":28.566137,"pm10":1.6387925,"pm25":0.82655746,"so2":0.009662472,"timestamp_local":"2022-12-05T11:00:00","timestamp_utc":"2022-12-05T19:00:00","ts":1670266800},{"aqi":13.8,"co":260.40823,"datetime":"2022-12-05:20","no2":3.9535484,"o3":29.160389,"pm10":1.5385246,"pm25":0.65835375,"so2":0.00896398,"timestamp_local":"2022-12-05T12:00:00","timestamp_utc":"2022-12-05T20:00:00","ts":1670270400},{"aqi":14,"co":191.92696,"datetime":"2022-12-05:21","no2":0.011546945,"o3":29.683113,"pm10":1.425729,"pm25":0.5,"so2":0.008381903,"timestamp_local":"2022-12-05T13:00:00","timestamp_utc":"2022-12-05T21:00:00","ts":1670274000},{"aqi":14,"co":191.92696,"datetime":"2022-12-05:22","no2":0.012048986,"o3":29.683113,"pm10":1.3663933,"pm25":0.5,"so2":0.007916242,"timestamp_local":"2022-12-05T14:00:00","timestamp_utc":"2022-12-05T22:00:00","ts":1670277600},{"aqi":14,"co":191.92696,"datetime":"2022-12-05:23","no2":0.012885721,"o3":30.040741,"pm10":1.3145452,"pm25":0.5,"so2":0.007566996,"timestamp_local":"2022-12-05T15:00:00","timestamp_utc":"2022-12-05T23:00:00","ts":1670281200},{"aqi":14,"co":193.59589,"datetime":"2022-12-06:00","no2":0.014224498,"o3":30.398369,"pm10":1.2626967,"pm25":0.5,"so2":0.0073341653,"timestamp_local":"2022-12-05T16:00:00","timestamp_utc":"2022-12-06T00:00:00","ts":1670284800},{"aqi":14,"co":193.59589,"datetime":"2022-12-06:01","no2":0.015228579,"o3":30.398369,"pm10":1.2106085,"pm25":0.5,"so2":0.0071595423,"timestamp_local":"2022-12-05T17:00:00","timestamp_utc":"2022-12-06T01:00:00","ts":1670288400},{"aqi":14,"co":193.59589,"datetime":"2022-12-06:02","no2":0.016734703,"o3":30.755997,"pm10":1.1501168,"pm25":0.5,"so2":0.0069849193,"timestamp_local":"2022-12-05T18:00:00","timestamp_utc":"2022-12-06T02:00:00","ts":1670292000},{"aqi":14,"co":193.59589,"datetime":"2022-12-06:03","no2":0.019244907,"o3":30.755997,"pm10":1.1255465,"pm25":0.5,"so2":0.0068102963,"timestamp_local":"2022-12-05T19:00:00","timestamp_utc":"2022-12-06T03:00:00","ts":1670295600},{"aqi":14,"co":193.59589,"datetime":"2022-12-06:04","no2":0.02024899,"o3":30.755997,"pm10":1.145584,"pm25":0.5,"so2":0.0069849193,"timestamp_local":"2022-12-05T20:00:00","timestamp_utc":"2022-12-06T04:00:00","ts":1670299200},{"aqi":14,"co":193.59589,"datetime":"2022-12-06:05","no2":0.020751031,"o3":30.755997,"pm10":1.1813651,"pm25":0.5,"so2":0.007392373,"timestamp_local":"2022-12-05T21:00:00","timestamp_utc":"2022-12-06T05:00:00","ts":1670302800},{"aqi":15,"co":195.26482,"datetime":"2022-12-06:06","no2":0.021085724,"o3":31.82888,"pm10":1.2185497,"pm25":0.5,"so2":0.0077998266,"timestamp_local":"2022-12-05T22:00:00","timestamp_utc":"2022-12-06T06:00:00","ts":1670306400},{"aqi":15,"co":196.93375,"datetime":"2022-12-06:07","no2":0.021253072,"o3":32.901764,"pm10":1.2270675,"pm25":0.5,"so2":0.008032657,"timestamp_local":"2022-12-05T23:00:00","timestamp_utc":"2022-12-06T07:00:00","ts":1670310000},{"aqi":15,"co":198.60268,"datetime":"2022-12-06:08","no2":0.021755114,"o3":33.25939,"pm10":1.221188,"pm25":0.5,"so2":0.0084983185,"timestamp_local":"2022-12-06T00:00:00","timestamp_utc":"2022-12-06T08:00:00","ts":1670313600},{"aqi":15,"co":200.2716,"datetime":"2022-12-06:09","no2":0.021755114,"o3":33.25939,"pm10":1.2161964,"pm25":0.5,"so2":0.008731149,"timestamp_local":"2022-12-06T01:00:00","timestamp_utc":"2022-12-06T09:00:00","ts":1670317200},{"aqi":15,"co":198.60268,"datetime":"2022-12-06:10","no2":0.020918379,"o3":32.901764,"pm10":1.2339209,"pm25":0.5,"so2":0.008847564,"timestamp_local":"2022-12-06T02:00:00","timestamp_utc":"2022-12-06T10:00:00","ts":1670320800},{"aqi":15,"co":196.93375,"datetime":"2022-12-06:11","no2":0.019412255,"o3":31.471252,"pm10":1.2955129,"pm25":0.5,"so2":0.009080395,"timestamp_local":"2022-12-06T03:00:00","timestamp_utc":"2022-12-06T11:00:00","ts":1670324400},{"aqi":14,"co":195.26482,"datetime":"2022-12-06:12","no2":0.017738786,"o3":29.325485,"pm10":1.4218973,"pm25":0.5,"so2":0.009778887,"timestamp_local":"2022-12-06T04:00:00","timestamp_utc":"2022-12-06T12:00:00","ts":1670328000},{"aqi":12,"co":193.59589,"datetime":"2022-12-06:13","no2":0.01640001,"o3":26.82209,"pm10":1.6274004,"pm25":0.5,"so2":0.011059456,"timestamp_local":"2022-12-06T05:00:00","timestamp_utc":"2022-12-06T13:00:00","ts":1670331600},{"aqi":12,"co":193.59589,"datetime":"2022-12-06:14","no2":0.016734703,"o3":25.391579,"pm10":1.8900657,"pm25":0.55901,"so2":0.012572855,"timestamp_local":"2022-12-06T06:00:00","timestamp_utc":"2022-12-06T14:00:00","ts":1670335200},{"aqi":12,"co":196.93375,"datetime":"2022-12-06:15","no2":0.016232662,"o3":25.391579,"pm10":2.1060703,"pm25":0.6154387,"so2":0.014086254,"timestamp_local":"2022-12-06T07:00:00","timestamp_utc":"2022-12-06T15:00:00","ts":1670338800},{"aqi":12,"co":200.2716,"datetime":"2022-12-06:16","no2":0.014559191,"o3":25.391579,"pm10":2.1925764,"pm25":0.64558524,"so2":0.015133992,"timestamp_local":"2022-12-06T08:00:00","timestamp_utc":"2022-12-06T16:00:00","ts":1670342400},{"aqi":12,"co":205.2784,"datetime":"2022-12-06:17","no2":0.011881638,"o3":25.391579,"pm10":2.173132,"pm25":0.64299154,"so2":0.015133992,"timestamp_local":"2022-12-06T09:00:00","timestamp_utc":"2022-12-06T17:00:00","ts":1670346000},{"aqi":11,"co":206.94733,"datetime":"2022-12-06:18","no2":0.009455107,"o3":24.676323,"pm10":2.1096346,"pm25":0.6254485,"so2":0.014784746,"timestamp_local":"2022-12-06T10:00:00","timestamp_utc":"2022-12-06T18:00:00","ts":1670349600},{"aqi":11,"co":208.61626,"datetime":"2022-12-06:19","no2":0.00786531,"o3":23.60344,"pm10":2.0845199,"pm25":0.61652184,"so2":0.014551915,"timestamp_local":"2022-12-06T11:00:00","timestamp_utc":"2022-12-06T19:00:00","ts":1670353200},{"aqi":10,"co":210.28519,"datetime":"2022-12-06:20","no2":0.0069449013,"o3":22.351742,"pm10":2.1125846,"pm25":0.6164491,"so2":0.014668331,"timestamp_local":"2022-12-06T12:00:00","timestamp_utc":"2022-12-06T20:00:00","ts":1670356800},{"aqi":10,"co":210.28519,"datetime":"2022-12-06:21","no2":0.006526534,"o3":20.742416,"pm10":2.2154396,"pm25":0.63252914,"so2":0.015832484,"timestamp_local":"2022-12-06T13:00:00","timestamp_utc":"2022-12-06T21:00:00","ts":1670360400},{"aqi":9,"co":208.61626,"datetime":"2022-12-06:22","no2":0.006526534,"o3":19.133091,"pm10":2.4364655,"pm25":0.663584,"so2":0.018859282,"timestamp_local":"2022-12-06T14:00:00","timestamp_utc":"2022-12-06T22:00:00","ts":1670364000},{"aqi":8,"co":205.2784,"datetime":"2022-12-06:23","no2":0.0069449013,"o3":17.881393,"pm10":2.8038397,"pm25":0.7088708,"so2":0.024912879,"timestamp_local":"2022-12-06T15:00:00","timestamp_utc":"2022-12-06T23:00:00","ts":1670367600},{"aqi":8,"co":201.94054,"datetime":"2022-12-07:00","no2":0.0076142894,"o3":17.523766,"pm10":3.1683123,"pm25":0.75145304,"so2":0.033527613,"timestamp_local":"2022-12-06T16:00:00","timestamp_utc":"2022-12-07T00:00:00","ts":1670371200},{"aqi":8,"co":200.2716,"datetime":"2022-12-07:01","no2":0.008869393,"o3":17.344952,"pm10":3.6645446,"pm25":0.83843374,"so2":0.044237822,"timestamp_local":"2022-12-06T17:00:00","timestamp_utc":"2022-12-07T01:00:00","ts":1670374800},{"aqi":8,"co":200.2716,"datetime":"2022-12-07:02","no2":0.01071021,"o3":17.523766,"pm10":4.2250576,"pm25":0.959195,"so2":0.052619725,"timestamp_local":"2022-12-06T18:00:00","timestamp_utc":"2022-12-07T02:00:00","ts":1670378400},{"aqi":8,"co":201.94054,"datetime":"2022-12-07:03","no2":0.012885721,"o3":17.523766,"pm10":4.5773454,"pm25":1.0486393,"so2":0.056810677,"timestamp_local":"2022-12-06T19:00:00","timestamp_utc":"2022-12-07T03:00:00","ts":1670382000},{"aqi":8,"co":201.94054,"datetime":"2022-12-07:04","no2":0.013387762,"o3":17.70258,"pm10":4.5984817,"pm25":1.0702552,"so2":0.05727634,"timestamp_local":"2022-12-06T20:00:00","timestamp_utc":"2022-12-07T04:00:00","ts":1670385600},{"aqi":8,"co":203.60947,"datetime":"2022-12-07:05","no2":0.0132204145,"o3":17.70258,"pm10":4.516341,"pm25":1.0477047,"so2":0.053551048,"timestamp_local":"2022-12-06T21:00:00","timestamp_utc":"2022-12-07T05:00:00","ts":1670389200},{"aqi":8,"co":203.60947,"datetime":"2022-12-07:06","no2":0.013053068,"o3":17.881393,"pm10":4.418773,"pm25":1.0392885,"so2":0.049360096,"timestamp_local":"2022-12-06T22:00:00","timestamp_utc":"2022-12-07T06:00:00","ts":1670392800},{"aqi":8,"co":203.60947,"datetime":"2022-12-07:07","no2":0.0132204145,"o3":17.881393,"pm10":4.272094,"pm25":1.0699816,"so2":0.04749745,"timestamp_local":"2022-12-06T23:00:00","timestamp_utc":"2022-12-07T07:00:00","ts":1670396400},{"aqi":8,"co":203.60947,"datetime":"2022-12-07:08","no2":0.013387762,"o3":17.881393,"pm10":4.278772,"pm25":1.1951408,"so2":0.048894435,"timestamp_local":"2022-12-07T00:00:00","timestamp_utc":"2022-12-07T08:00:00","ts":1670400000},{"aqi":8,"co":203.60947,"datetime":"2022-12-07:09","no2":0.0135551095,"o3":17.881393,"pm10":4.616996,"pm25":1.4171747,"so2":0.053085387,"timestamp_local":"2022-12-07T01:00:00","timestamp_utc":"2022-12-07T09:00:00","ts":1670403600},{"aqi":8,"co":201.94054,"datetime":"2022-12-07:10","no2":0.013722456,"o3":17.881393,"pm10":5.169052,"pm25":1.7054498,"so2":0.059138983,"timestamp_local":"2022-12-07T02:00:00","timestamp_utc":"2022-12-07T10:00:00","ts":1670407200},{"aqi":8,"co":201.94054,"datetime":"2022-12-07:11","no2":0.013889803,"o3":17.881393,"pm10":5.841985,"pm25":2.026359,"so2":0.06798655,"timestamp_local":"2022-12-07T03:00:00","timestamp_utc":"2022-12-07T11:00:00","ts":1670410800},{"aqi":10,"co":200.2716,"datetime":"2022-12-07:12","no2":0.013889803,"o3":18.060207,"pm10":6.5897126,"pm25":2.3643124,"so2":0.07729977,"timestamp_local":"2022-12-07T04:00:00","timestamp_utc":"2022-12-07T12:00:00","ts":1670414400},{"aqi":11,"co":200.2716,"datetime":"2022-12-07:13","no2":0.0135551095,"o3":18.060207,"pm10":6.817134,"pm25":2.65...
                                                                                                                                                                                                                    
                                                                                                    

Air Quality Forecast - Endpoint Features
Object Description
lat [Required] Latitude.
lon [Required] Longitude.


Returns the past 24 hours of air quality observations for any point in the world given a lat/long.

 

Response details:

lat: Latitude (Degrees).
lon: Longitude (Degrees).
timezone: Local IANA Timezone.
city_name: Nearest city name.
country_code: Country abbreviation.
state_code: State abbreviation/code.
[
{

  • timestamp_local: Timestamp at local time.
  • timestamp_utc: Timestamp at UTC time.
  • ts: Unix Timestamp at UTC time.
  • aqi: Air Quality Index [US - EPA standard 0 - +500]
  • o3: Concentration of surface O3 (µg/m³)
  • so2: Concentration of surface SO2 (µg/m³)
  • no2: Concentration of surface NO2 (µg/m³)
  • co: Concentration of carbon monoxide (µg/m³)
  • pm25: Concentration of particulate matter < 2.5 microns (µg/m³)
  • pm10: Concentration of particulate matter < 10 microns (µg/m³)

}, … ]



                                                                            
GET https://zylalabs.com/api/761/air+quality+index+api/486/air+quality+history
                                                                            
                                                                        

RESPONSE:



                                                                                                                                                                                                                                
                                                                                                        
                                                                                                                                                                                                                            {"city_name":"Daly City","country_code":"US","data":[{"aqi":19,"co":342.21,"datetime":"2022-12-05:17","no2":13.75,"o3":41.59,"pm10":4.3,"pm25":3.63,"so2":1.78,"timestamp_local":"2022-12-05T09:00:00","timestamp_utc":"2022-12-05T17:00:00","ts":1670259600},{"aqi":20,"co":438.27,"datetime":"2022-12-05:16","no2":16.74,"o3":35.05,"pm10":4.33,"pm25":3.25,"so2":1.27,"timestamp_local":"2022-12-05T08:00:00","timestamp_utc":"2022-12-05T16:00:00","ts":1670256000},{"aqi":25,"co":534.33,"datetime":"2022-12-05:15","no2":19.72,"o3":28.5,"pm10":4.37,"pm25":3.27,"so2":0.75,"timestamp_local":"2022-12-05T07:00:00","timestamp_utc":"2022-12-05T15:00:00","ts":1670252400},{"aqi":42,"co":458,"datetime":"2022-12-05:14","no2":14.56,"o3":39,"pm10":4.99,"pm25":3.75,"so2":0.77,"timestamp_local":"2022-12-05T06:00:00","timestamp_utc":"2022-12-05T14:00:00","ts":1670248800},{"aqi":52,"co":368.94,"datetime":"2022-12-05:13","no2":9.44,"o3":48,"pm10":5.62,"pm25":4.22,"so2":0.87,"timestamp_local":"2022-12-05T05:00:00","timestamp_utc":"2022-12-05T13:00:00","ts":1670245200},{"aqi":29,"co":356.22,"datetime":"2022-12-05:12","no2":8.01,"o3":49.5,"pm10":6.25,"pm25":4.69,"so2":0.91,"timestamp_local":"2022-12-05T04:00:00","timestamp_utc":"2022-12-05T12:00:00","ts":1670241600},{"aqi":29,"co":320.6,"datetime":"2022-12-05:11","no2":4.52,"o3":54.8,"pm10":7.72,"pm25":7,"so2":1.12,"timestamp_local":"2022-12-05T03:00:00","timestamp_utc":"2022-12-05T11:00:00","ts":1670238000},{"aqi":29,"co":381.67,"datetime":"2022-12-05:10","no2":12.83,"o3":43,"pm10":9.19,"pm25":7,"so2":0.25,"timestamp_local":"2022-12-05T02:00:00","timestamp_utc":"2022-12-05T10:00:00","ts":1670234400},{"aqi":33,"co":408.93,"datetime":"2022-12-05:09","no2":12.43,"o3":40.67,"pm10":10.67,"pm25":8,"so2":0.12,"timestamp_local":"2022-12-05T01:00:00","timestamp_utc":"2022-12-05T09:00:00","ts":1670230800},{"aqi":37,"co":470.72,"datetime":"2022-12-05:08","no2":14,"o3":32.5,"pm10":11.61,"pm25":9,"so2":0.73,"timestamp_local":"2022-12-05T00:00:00","timestamp_utc":"2022-12-05T08:00:00","ts":1670227200},{"aqi":33,"co":521.61,"datetime":"2022-12-05:07","no2":15.19,"o3":30,"pm10":12.54,"pm25":8,"so2":0.75,"timestamp_local":"2022-12-04T23:00:00","timestamp_utc":"2022-12-05T07:00:00","ts":1670223600},{"aqi":52,"co":547.06,"datetime":"2022-12-05:06","no2":18.01,"o3":25,"pm10":13.48,"pm25":13,"so2":0.75,"timestamp_local":"2022-12-04T22:00:00","timestamp_utc":"2022-12-05T06:00:00","ts":1670220000},{"aqi":52,"co":547.06,"datetime":"2022-12-05:05","no2":17.31,"o3":28.25,"pm10":13.19,"pm25":13,"so2":0.72,"timestamp_local":"2022-12-04T21:00:00","timestamp_utc":"2022-12-05T05:00:00","ts":1670216400},{"aqi":37,"co":496.17,"datetime":"2022-12-05:04","no2":14.81,"o3":36.75,"pm10":12.91,"pm25":9,"so2":0.73,"timestamp_local":"2022-12-04T20:00:00","timestamp_utc":"2022-12-05T04:00:00","ts":1670212800},{"aqi":33,"co":432.56,"datetime":"2022-12-05:03","no2":10.46,"o3":48,"pm10":12.62,"pm25":8,"so2":0.73,"timestamp_local":"2022-12-04T19:00:00","timestamp_utc":"2022-12-05T03:00:00","ts":1670209200},{"aqi":42,"co":445.28,"datetime":"2022-12-05:02","no2":12.04,"o3":46.5,"pm10":11.73,"pm25":10,"so2":0.82,"timestamp_local":"2022-12-04T18:00:00","timestamp_utc":"2022-12-05T02:00:00","ts":1670205600},{"aqi":54,"co":515.25,"datetime":"2022-12-05:01","no2":13.98,"o3":47.14,"pm10":10.85,"pm25":8.14,"so2":0.84,"timestamp_local":"2022-12-04T17:00:00","timestamp_utc":"2022-12-05T01:00:00","ts":1670202000},{"aqi":104,"co":432.56,"datetime":"2022-12-05:00","no2":8.5,"o3":56.75,"pm10":9.97,"pm25":7.48,"so2":0.95,"timestamp_local":"2022-12-04T16:00:00","timestamp_utc":"2022-12-05T00:00:00","ts":1670198400},{"aqi":61,"co":381.67,"datetime":"2022-12-04:23","no2":5.99,"o3":62.75,"pm10":9.28,"pm25":6.96,"so2":1.2,"timestamp_local":"2022-12-04T15:00:00","timestamp_utc":"2022-12-04T23:00:00","ts":1670194800},{"aqi":52,"co":343.5,"datetime":"2022-12-04:22","no2":4.69,"o3":65.5,"pm10":8.6,"pm25":6.45,"so2":1.17,"timestamp_local":"2022-12-04T14:00:00","timestamp_utc":"2022-12-04T22:00:00","ts":1670191200},{"aqi":56,"co":356.22,"datetime":"2022-12-04:21","no2":3.86,"o3":67.5,"pm10":7.92,"pm25":5.94,"so2":1.15,"timestamp_local":"2022-12-04T13:00:00","timestamp_utc":"2022-12-04T21:00:00","ts":1670187600},{"aqi":78,"co":368.94,"datetime":"2022-12-04:20","no2":4.4,"o3":66.75,"pm10":7.11,"pm25":5.33,"so2":1.17,"timestamp_local":"2022-12-04T12:00:00","timestamp_utc":"2022-12-04T20:00:00","ts":1670184000},{"aqi":52,"co":356.22,"datetime":"2022-12-04:19","no2":4.85,"o3":64.25,"pm10":6.3,"pm25":4.72,"so2":0.95,"timestamp_local":"2022-12-04T11:00:00","timestamp_utc":"2022-12-04T19:00:00","ts":1670180400},{"aqi":50,"co":407.11,"datetime":"2022-12-04:18","no2":7.69,"o3":54.75,"pm10":5.49,"pm25":4.11,"so2":1.05,"timestamp_local":"2022-12-04T10:00:00","timestamp_utc":"2022-12-04T18:00:00","ts":1670176800},{"aqi":23,"co":407.11,"datetime":"2022-12-04:17","no2":8.01,"o3":50,"pm10":4.55,"pm25":4,"so2":1.18,"timestamp_local":"2022-12-04T09:00:00","timestamp_utc":"2022-12-04T17:00:00","ts":1670173200},{"aqi":21,"co":445.28,"datetime":"2022-12-04:16","no2":11.39,"o3":40,"pm10":3.61,"pm25":2.71,"so2":1.05,"timestamp_local":"2022-12-04T08:00:00","timestamp_utc":"2022-12-04T16:00:00","ts":1670169600},{"aqi":29,"co":458,"datetime":"2022-12-04:15","no2":13.54,"o3":32.25,"pm10":2.67,"pm25":2.01,"so2":0.95,"timestamp_local":"2022-12-04T07:00:00","timestamp_utc":"2022-12-04T15:00:00","ts":1670166000},{"aqi":29,"co":419.83,"datetime":"2022-12-04:14","no2":11.74,"o3":35.25,"pm10":2.58,"pm25":1.93,"so2":1,"timestamp_local":"2022-12-04T06:00:00","timestamp_utc":"2022-12-04T14:00:00","ts":1670162400},{"aqi":33,"co":432.56,"datetime":"2022-12-04:13","no2":11.99,"o3":33.25,"pm10":2.48,"pm25":1.86,"so2":1.25,"timestamp_local":"2022-12-04T05:00:00","timestamp_utc":"2022-12-04T13:00:00","ts":1670158800},{"aqi":42,"co":415.06,"datetime":"2022-12-04:12","no2":10.27,"o3":37.14,"pm10":2.38,"pm25":1.78,"so2":2.04,"timestamp_local":"2022-12-04T04:00:00","timestamp_utc":"2022-12-04T12:00:00","ts":1670155200},{"aqi":46,"co":515.25,"datetime":"2022-12-04:11","no2":11.19,"o3":24,"pm10":5.52,"pm25":4.14,"so2":5.5,"timestamp_local":"2022-12-04T03:00:00","timestamp_utc":"2022-12-04T11:00:00","ts":1670151600},{"aqi":42,"co":474.36,"datetime":"2022-12-04:10","no2":15.93,"o3":20.33,"pm10":8.66,"pm25":6.5,"so2":0.12,"timestamp_local":"2022-12-04T02:00:00","timestamp_utc":"2022-12-04T10:00:00","ts":1670148000},{"aqi":42,"co":508.89,"datetime":"2022-12-04:09","no2":17.51,"o3":17.75,"pm10":11.8,"pm25":10,"so2":0.78,"timestamp_local":"2022-12-04T01:00:00","timestamp_utc":"2022-12-04T09:00:00","ts":1670144400},{"aqi":42,"co":547.06,"datetime":"2022-12-04:08","no2":20.97,"o3":12,"pm10":13.54,"pm25":10,"so2":0.83,"timestamp_local":"2022-12-04T00:00:00","timestamp_utc":"2022-12-04T08:00:00","ts":1670140800},{"aqi":67,"co":572.5,"datetime":"2022-12-04:07","no2":20.64,"o3":10.5,"pm10":15.27,"pm25":11.45,"so2":0.85,"timestamp_local":"2022-12-03T23:00:00","timestamp_utc":"2022-12-04T07:00:00","ts":1670137200},{"aqi":46,"co":572.5,"datetime":"2022-12-04:06","no2":19.18,"o3":13.75,"pm10":17,"pm25":11,"so2":0.83,"timestamp_local":"2022-12-03T22:00:00","timestamp_utc":"2022-12-04T06:00:00","ts":1670133600},{"aqi":54,"co":559.78,"datetime":"2022-12-04:05","no2":18.19,"o3":15.5,"pm10":14.52,"pm25":14,"so2":0.8,"timestamp_local":"2022-12-03T21:00:00","timestamp_utc":"2022-12-04T05:00:00","ts":1670130000},{"aqi":50,"co":547.06,"datetime":"2022-12-04:04","no2":18.44,"o3":15,"pm10":12.05,"pm25":12,"so2":0.8,"timestamp_local":"2022-12-03T20:00:00","timestamp_utc":"2022-12-04T04:00:00","ts":1670126400},{"aqi":37,"co":547.06,"datetime":"2022-12-04:03","no2":17.64,"o3":15,"pm10":9.57,"pm25":9,"so2":0.75,"timestamp_local":"2022-12-03T19:00:00","timestamp_utc":"2022-12-04T03:00:00","ts":1670122800},{"aqi":33,"co":559.78,"datetime":"2022-12-04:02","no2":18.54,"o3":12,"pm10":8.54,"pm25":8,"so2":0.75,"timestamp_local":"2022-12-03T18:00:00","timestamp_utc":"2022-12-04T02:00:00","ts":1670119200},{"aqi":46,"co":559.78,"datetime":"2022-12-04:01","no2":19.17,"o3":11.75,"pm10":7.52,"pm25":5.64,"so2":0.78,"timestamp_local":"2022-12-03T17:00:00","timestamp_utc":"2022-12-04T01:00:00","ts":1670115600},{"aqi":37,"co":547.06,"datetime":"2022-12-04:00","no2":17.88,"o3":13.5,"pm10":6.49,"pm25":4.87,"so2":0.83,"timestamp_local":"2022-12-03T16:00:00","timestamp_utc":"2022-12-04T00:00:00","ts":1670112000},{"aqi":50,"co":547.06,"datetime":"2022-12-03:23","no2":16.47,"o3":15.5,"pm10":7.32,"pm25":5.49,"so2":0.83,"timestamp_local":"2022-12-03T15:00:00","timestamp_utc":"2022-12-03T23:00:00","ts":1670108400},{"aqi":59,"co":559.78,"datetime":"2022-12-03:22","no2":15.79,"o3":17,"pm10":8.14,"pm25":6.1,"so2":0.85,"timestamp_local":"2022-12-03T14:00:00","timestamp_utc":"2022-12-03T22:00:00","ts":1670104800},{"aqi":50,"co":547.06,"datetime":"2022-12-03:21","no2":13.99,"o3":17.5,"pm10":8.96,"pm25":6.72,"so2":0.83,"timestamp_local":"2022-12-03T13:00:00","timestamp_utc":"2022-12-03T21:00:00","ts":1670101200},{"aqi":50,"co":534.33,"datetime":"2022-12-03:20","no2":14.26,"o3":19.25,"pm10":10.79,"pm25":8.09,"so2":0.85,"timestamp_local":"2022-12-03T12:00:00","timestamp_utc":"2022-12-03T20:00:00","ts":1670097600},{"aqi":59,"co":521.61,"datetime":"2022-12-03:19","no2":13.71,"o3":19.5,"pm10":12.62,"pm25":9.47,"so2":0.85,"timestamp_local":"2022-12-03T11:00:00","timestamp_utc":"2022-12-03T19:00:00","ts":1670094000},{"aqi":65,"co":483.44,"datetime":"2022-12-03:18","no2":14.62,"o3":17.5,"pm10":14.46,"pm25":10.84,"so2":0.87,"timestamp_local":"2022-12-03T10:00:00","timestamp_utc":"2022-12-03T18:00:00","ts":1670090400},{"aqi":56,"co":508.89,"datetime":"2022-12-03:17","no2":13.85,"o3":19.5,"pm10":14.92,"pm25":11.19,"so2":0.82,"timestamp_local":"2022-12-03T09:00:00","timestamp_utc":"2022-12-03T17:00:00","ts":1670086800},{"aqi":59,"co":483.44,"datetime":"2022-12-03:16","no2":15.24,"o3":19.25,"pm10":15.38,"pm25":11.54,"so2":0.77,"timestamp_local":"2022-12-03T08:00:00","timestamp_utc":"2022-...
                                                                                                                                                                                                                    
                                                                                                    

Air Quality History - Endpoint Features
Object Description
lon [Required] Longitude.
lat [Required] Latitude


API Access Key & Authentication

After signing up, every developer is assigned a personal API access key, a unique combination of letters and digits provided to access to our API endpoint. To authenticate with the Air Quality Index API REST API, simply include your bearer token in the Authorization header.

Headers

Header Description
Authorization [Required] Should be Bearer access_key. See "Your API Access Key" above when you are subscribed.


Simple Transparent Pricing

No long term commitments. One click upgrade/downgrade or cancellation. No questions asked.

🚀 Enterprise
Starts at $10,000/Year

Need more? We offer unlimited API calls, Request Quote


Zyla API Hub is, in other words, an API MarketPlace. An all-in-one solution for your developing needs. You will be accessing our extended list of APIs with only your user. Also, you won't need to worry about storing API keys, only one API key for all our products is needed.

Prices are listed in USD. We accept all major debit and credit cards. Our payment system uses the latest security technology and is powered by Stripe, one of the world’s most reliable payment companies. If you have any trouble with paying by card, just contact us at [email protected]

Sometimes depending on the bank's fraud protection settings, a bank will decline the validation charge we make when we attempt to be sure a card is valid. We recommend first contacting your bank to see if they are blocking our charges. If more help is needed, please contact [email protected] and our team will investigate further

Prices are based on a recurring monthly subscription depending on the plan selected — plus overage fees applied when a developer exceeds a plan’s quota limits. In this example, you'll see the base plan amount as well as a quota limit of API requests. Be sure to notice the overage fee because you will be charged for each additional request.

Zyla API Hub works on a recurring monthly subscription system. Your billing cycle will start the day you purchase one of the paid plans, and it will renew the same day of the next month. So be aware to cancel your subscription beforehand if you want to avoid future charges.

Just go to the pricing page of that API and select the plan that you want to upgrade to. You will only be charged the full amount of that plan, but you will be enjoying the features that the plan offers right away.

Yes, absolutely. If you want to cancel your plan, simply go to your account and cancel on the Billing page. Upgrades, downgrades, and cancellations are immediate.

You can contact us through our chat channel to receive immediate assistance. We are always online from 9 am to 6 pm (GMT+1). If you reach us after that time, we will be in contact when we are back. Also you can contact us via email to [email protected]

 Service Level
80%
 Response Time
145ms

Useful links:


Category:


Tags:


Related APIs