Skip to content
HALOWERK

Live World Data

epa county aqi paired county days

US county AQI comparison aligns two county series by date and counts which was higher. Use it when an agent needs a like-for-like regional comparison.

POST https://welt.halowerk.com/v1/epa-county-aqi-paired-county-days

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
countystringYes
startstringNo
endstringNo
peerstringYes
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
    },
    "peer": {
      "type": "string",
      "maxLength": 85,
      "minLength": 1
    }
  },
  "required": [
    "county",
    "peer"
  ],
  "additionalProperties": false
}

Open original schema

Published input example

{
  "county": "06037",
  "start": "2024-01-01",
  "end": "2024-01-14",
  "peer": "04013"
}

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"
        },
        "paired": {
          "type": "integer"
        },
        "higher": {
          "type": "integer"
        },
        "tied": {
          "type": "integer"
        },
        "lower": {
          "type": "integer"
        },
        "mean_difference": {
          "type": [
            "number",
            "null"
          ]
        }
      },
      "required": [
        "fips",
        "paired",
        "higher",
        "tied",
        "lower",
        "mean_difference"
      ]
    },
    "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 →