All data sources

AirNow Air Quality

API keyairnow

AirNow real-time and forecast air quality data (AQI). Provides current conditions, forecasts, and historical AQI data. CRITICAL USAGE RULES: 1. Requires a free AirNow API key (get one at https://docs.airnowapi.org/account/request/) 2. Use getCurrentConditions() for real-time AQI at a location 3. Use getForecast() for AQI forecast 4. AQI categories: Good (0-50), Moderate (51-100), Unhealthy for Sensitive Groups (101-150), Unhealthy (151-200)

Provenance

PublisherAirNow Air Quality

Freshness & coverage

FreshnessFreshness not declared
GeographicNot declared
TemporalNot declared
AuthenticationCredentials required (API key)

Methods (4)

  • getCurrentConditions

    read

    Retrieve current air quality conditions near coordinates or a ZIP code.

    Input schema
    {
      "type": "object",
      "properties": {
        "latitude": {
          "type": "number"
        },
        "longitude": {
          "type": "number"
        },
        "zipCode": {
          "type": "string"
        },
        "distance": {
          "type": "number"
        }
      },
      "additionalProperties": false
    }
  • getForecast

    read

    Retrieve air quality forecasts for a location, date, or nearby reporting distance.

    Input schema
    {
      "type": "object",
      "properties": {
        "latitude": {
          "type": "number"
        },
        "longitude": {
          "type": "number"
        },
        "date": {
          "type": "string"
        },
        "distance": {
          "type": "number"
        }
      },
      "additionalProperties": false,
      "required": [
        "latitude",
        "longitude"
      ]
    }
  • getHistoricalObservation

    read

    Retrieve historical air quality observations for a location, date, or nearby reporting distance.

    Input schema
    {
      "type": "object",
      "properties": {
        "latitude": {
          "type": "number"
        },
        "longitude": {
          "type": "number"
        },
        "date": {
          "type": "string"
        },
        "distance": {
          "type": "number"
        }
      },
      "additionalProperties": false,
      "required": [
        "latitude",
        "longitude",
        "date"
      ]
    }
  • getReportingArea

    read

    Retrieve air quality reporting area data by ZIP code and date.

    Input schema
    {
      "type": "object",
      "properties": {
        "zipCode": {
          "type": "string"
        },
        "date": {
          "type": "string"
        }
      },
      "additionalProperties": false,
      "required": [
        "zipCode"
      ]
    }