Skip to content
HALOWERK

Live World Data

epa county aqi threshold run

US air quality episodes return the longest consecutive observed run at or above an AQI threshold. Use it when an agent needs persistent high-index periods.

POST https://welt.halowerk.com/v1/epa-county-aqi-threshold-run

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
countystringYes
startstringNo
endstringNo
thresholdintegerNo
Show full input schema
{
  "type": "object",
  "properties": {
    "county": {
      "type": "string",
      "maxLength": 85,
      "minLength": 1
    },
    "start": {
      "type": "string",
      "maxLength": 15,
      "minLength": 1
    },
    "end": {
      "type": "string",
      "maxLength": 15,
      "minLength": 1
    },
    "threshold": {
      "type": "integer",
      "minimum": 0,
      "maximum": 1000
    }
  },
  "required": [
    "county"
  ],
  "additionalProperties": false
}

Open original schema

Published input example

{
  "county": "06037",
  "start": "2024-01-01",
  "end": "2024-01-14",
  "threshold": 55
}

Result & documentation

Show published result schema
{
  "type": "object",
  "required": [
    "measured_at",
    "source",
    "data",
    "limitations"
  ],
  "properties": {
    "measured_at": {
      "type": "string"
    },
    "source": {
      "type": "object",
      "required": [
        "reference",
        "retrieved_at"
      ],
      "properties": {
        "reference": {
          "type": "string"
        },
        "retrieved_at": {
          "type": "string"
        }
      }
    },
    "data": {
      "type": "object",
      "properties": {
        "fips": {
          "type": "string"
        },
        "days": {
          "type": "integer"
        },
        "start": {
          "type": [
            "string",
            "null"
          ]
        },
        "end": {
          "type": [
            "string",
            "null"
          ]
        }
      },
      "required": [
        "fips",
        "days",
        "start",
        "end"
      ]
    },
    "limitations": {
      "type": "string"
    }
  }
}

Machine-readable documentation of this hub

Source of this page: the published HALOWERK catalog. Updated: 2026-11-20 UTC.

More endpoints in this hub

All endpoints in this hub →