{
  "service": "airq",
  "description": "Air quality for a latitude and longitude, from the best available source for that location.",
  "usage": [
    "GET /?lat=48.43&lon=-123.37",
    "GET /48.43,-123.37",
    "GET /sources -- how each source did when the hourly cron last asked it directly"
  ],
  "sources": [
    "AirNow (US EPA) (United States, plus reporting agencies in Canada and Mexico, observation)",
    "Environment and Climate Change Canada (Canada, except Quebec, observation)",
    "UK DEFRA (United Kingdom, observation)",
    "OpenAQ (Global, wherever a monitor exists, observation)",
    "Open-Meteo / CAMS (Global, always answers, model)"
  ],
  "indices": [
    {
      "id": "us_aqi",
      "scale": "0-500",
      "used": "United States"
    },
    {
      "id": "aqhi",
      "scale": "1-10+",
      "used": "Canada"
    },
    {
      "id": "daqi",
      "scale": "1-10",
      "used": "United Kingdom"
    },
    {
      "id": "european_aqi",
      "scale": "0-100+",
      "used": "Europe"
    }
  ],
  "note": "Index scales are reported as published and are never converted between one another. Check index.id before comparing values.",
  "auth": "None. CORS is open, so a browser can call this directly.",
  "terms": "Free, unsupported, not for volume, and as is. Send a User-Agent that names your app. https://almanac.gshaw.ca/#use",
  "repository": "https://github.com/gshaw/almanac/tree/main/services/airq"
}
