Skip to main content
GET
/
environment
/
air-quality
Error
A valid request URL is required to generate request examples
{
  "result": {
    "score": 123,
    "description": "<string>"
  }
}

Authorizations

Authorization
string
header
required

Your access token or API key. Pass as Authorization: Bearer <token>.

Query Parameters

lat
number
required

The latitude of the location in decimal degrees (WGS 84). Must be between -90 and 90.

Required range: -90 <= x <= 90
lon
number
required

The longitude of the location in decimal degrees (WGS 84). Must be between -180 and 180.

Required range: -180 <= x <= 180

Response

Successful Response

API response for an Air Quality lookup.

result
AirQualityResult · object
required

The Air Quality result. A score of 0 means no OpenAQ monitoring data is available for the given coordinates.

Example:
{
"description": "Good: mostly clean air with rare elevated readings from seasonal wildfire smoke.",
"score": 192
}