API Description


Air Quality Analytics

Ambee Air Quality API helps you to get most and less polluted and places calculated from among various countries.


It provides actionable insights on air quality index, particulate matter, nitrogen oxides, sulphur dioxide, carbon monoxide, ammonia and ozone. Air quality affects the planetary well-being, aggravates existing health conditions and leads to a myriad of health issues.


Headers

Content-typeapplication/json
x-api-keyUnique key obtained after sigunp


RESPONSE PARAMETERS

PM2.5Particulate matter < 2.5um (ug/m3)
PM10Particulate matter < 10um (ug/m3)
SO2Sulphur dioxide conc (ppb)
NO2Nitrogen dioxide conc (ppb)
OZONEOZONE conc (ppb)
COCarbon monoxide conc (ppm)
AQIAir quality index
updatedAtISO timestamp of event in UTC
aqiInfoBreif info about the effects of the AQI returned


Air quality - Most polluted places

GET

Ambee Air Quality API helps you to get most polluted places calculated from among various countries.

The API also provides location information about the postalcode passed like countryCode, division, latitude, longitude, placename, state, city, etc.

Endpoint

/latest/by-order/worst

Sample response

{
"message": "Success",
"data": [
{
"NO2": 8.049,
"PM10": 69.444,
"PM25": 36.102,
"CO": 0.332,
"SO2": 5.873,
"OZONE": 6.174,
"AQI": 102,
"lat": 17.2739,
"lng": 78.6938,
"createdAt": "2021-03-05T12:00:00.000Z",
"postalCode": "508213",
"majorPollutant": "PM2.5"
}
]
}


Air quality - Least polluted places

GET

Ambee Air Quality API helps you to get least polluted places calculated from among various countries.

The API also provides location information about the postalcode passed like countryCode, division, latitude, longitude, placename, state, city, etc.

Endpoint

/latest/by-order/best

Sample response

{
"message": "success",
"stations": [
{
"CO": 1.453,
"NO2": 25.291,
"OZONE": 8.032,
"PM10": 52.24,
"PM25": 21.943,
"SO2": 1.898,
"city": "Bangalore",
"countryCode": "IN",
"division": "Bangalore",
"lat": 11.98625,
"lng": 77.550478,
"placeName": "Race course road",
"postalCode": "560020",
"state": "Karnataka",
"updatedAt": "2021-05-29T13:00:00.000Z",
"AQI": 72,
"aqiInfo": {
"pollutant": "PM2.5",
"concentration": 21.943,
"category": "Moderate"
}
}
]
}