Skip to content
HALOWERK

Mobility, Warnings and Local Data

airport visibility bad day count

Visibility history identifies local dates with at least two observed hours below one mile. Use it when an agent needs historical hourly observations at a covered US airport.

POST https://ort.halowerk.com/v1/airport-visibility-bad-day-count

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
locationstringYesUS airport code or city: LGA, BOS, ORD, DEN, SEA, LAX, PHX, MIA, ATL, DFW, SFO, MSP.
start_datestringYes2024 date in local standard time.
end_datestringNoInclusive; defaults to start_date. Up to 31 days.
snapshotSee schemaNo
Show full input schema
{
  "type": "object",
  "properties": {
    "location": {
      "type": "string",
      "minLength": 1,
      "maxLength": 150,
      "description": "US airport code or city: LGA, BOS, ORD, DEN, SEA, LAX, PHX, MIA, ATL, DFW, SFO, MSP."
    },
    "start_date": {
      "type": "string",
      "minLength": 1,
      "maxLength": 150,
      "description": "2024 date in local standard time."
    },
    "end_date": {
      "type": "string",
      "minLength": 1,
      "maxLength": 150,
      "description": "Inclusive; defaults to start_date. Up to 31 days."
    },
    "snapshot": {
      "enum": [
        "lcd-us-2024"
      ]
    }
  },
  "required": [
    "location",
    "start_date"
  ],
  "additionalProperties": false
}

Open original schema

Published input example

{
  "location": "LGA",
  "start_date": "2024-01-01",
  "end_date": "2024-01-15",
  "snapshot": "lcd-us-2024"
}

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": {
        "station": {
          "type": "string"
        },
        "reports": {
          "type": "integer"
        },
        "days_with_reports": {
          "type": "number"
        },
        "affected_days": {
          "type": "number"
        },
        "max_low_hours": {
          "type": "number"
        }
      },
      "required": [
        "station",
        "reports",
        "days_with_reports",
        "affected_days",
        "max_low_hours"
      ]
    },
    "limitations": {
      "type": "string"
    }
  }
}

Machine-readable documentation of this hub

Source of this page: the published HALOWERK catalog. Updated: 2026-12-05 UTC.

More endpoints in this hub

All endpoints in this hub โ†’