Air Quality

Daily

Daily air quality forecasts.

get/api/v1/air-quality/forecast/daily/{location}

Request

  • Base URL: https://weatherapi.foreca.net
  • URL: https://weatherapi.foreca.net/api/v1/air-quality/forecast/daily/{location}
  • Auth: HTTP bearer

Path parameters

locationstring required

"Longitude,latitude" or location identifier (id) from the location endpoint

Query parameters

periodsstring

Number of time steps (default 3, maximum 4)

langstring

Language (ISO 639-1 codes). Options: ar, bg, cs, da, de, el, en, et, es, fa, fi, fr, hi, hr, hu, id, is, it, ja, ko, lt, lv, nl, no, pl, pt, ro, ru, sk, sr, sv, ta, th, tr, uk, vi, zh (Simplified Chinese), zh_hk (Traditional Chinese). (default en)

Response

Success

Example response

{
  "forecast": [
    {
      "date": "2022-02-03",
      "AQI": 111,
      "pollutant": "Particulate matter <2.5um",
      "pollutantPhrase": "Particulate matter <2.5 µm",
      "AQI_CO": 7,
      "AQI_NO2": 48,
      "AQI_GO3": 71,
      "AQI_SO2": 59,
      "AQI_PM2P5": 111,
      "AQI_PM10": 66
    }
  ]
}

Changes

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