API reference/Environment/Canada Air Quality Health Index

Canada Air Quality Health Index

Latest AQHI at about 120 Canadian locations with its health-risk band; pick one by id, name or nearest point to add the hourly forecast.

GET/api/v1/environment/canada/aqhi
Also included in Location 360 , which joins it with 20 other APIs in one call.

Data source

Query parameters

ParameterDescriptionTry value
location
string
5-character AQHI location id
q
string
Location name contains
lat
number
Latitude (nearest 5 locations)
lon
number
Longitude
apikey
string required
Your API key. Can also be sent as the X-API-Key header.demo key used here

Response envelope

Success: { data, meta: { sources, fetchedAt, cached } }. Errors: { error: { code, message } } with HTTP 400, 401, 404, 502, 503 or 504.