Air quality

Air quality across one municipality

The median reading across every station in a municipality, with kuntaProvenance naming the stations behind it instead of the single-station provenance. Same data-or-gap rule per pollutant as the area endpoint.

Free-tier limit, Pro-only — an Area Pass covers one postal code and cannot cover a municipality: every data.series is emptied, while the latest reading and benchmarks stay, and locked names pollutants[].data.series with requires: pro.

Example request: https://suomiatlas.com/api/v1/kunta/091/air-quality

get/api/v1/kunta/{kuntaCode}/air-quality

Request

  • Base URL: https://suomiatlas.com
  • URL: https://suomiatlas.com/api/v1/kunta/{kuntaCode}/air-quality
  • Auth: one of:
    • none
    • HTTP bearer

Path parameters

kuntaCodestring required

A 3-digit, zero-padded municipality code — Helsinki is 091. Resolve one with /api/v1/search?kind=municipality.

Response

Air quality, series possibly emptied.

areaCodestring nullable required

The postal code asked for; null on the municipality endpoint.

kuntaCodestring required
kuntaNamestring required

Example response

{
  "pollutants": [
    {
      "unit": "µg/m³"
    }
  ],
  "locked": [
    {
      "upgrade": "https://suomiatlas.com/hinnat"
    }
  ]
}

Changes

No recorded changes to this operation across all 1 revision of this API.