Skip to content
HALOWERK

Mobility, Warnings and Local Data

climate stay comfort count

Travel comfort counts days in a stay whose normal highs and lows satisfy a supplied temperature envelope. Use it when an agent needs the normal temperature curve at a US destination.

POST https://ort.halowerk.com/v1/climate-stay-comfort-count

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
placestringYesNOAA station ID or unique city name in the 52-site US selection.
start_daystringYes
lengthintegerYes
min_low_cnumberYes
max_high_cnumberYes
snapshotSee schemaNo
Show full input schema
{
  "type": "object",
  "properties": {
    "place": {
      "type": "string",
      "minLength": 1,
      "maxLength": 150,
      "description": "NOAA station ID or unique city name in the 52-site US selection."
    },
    "start_day": {
      "type": "string",
      "minLength": 1,
      "maxLength": 150
    },
    "length": {
      "type": "integer",
      "minimum": 1,
      "maximum": 120
    },
    "min_low_c": {
      "type": "number",
      "minimum": -90,
      "maximum": 60
    },
    "max_high_c": {
      "type": "number",
      "minimum": -80,
      "maximum": 70
    },
    "snapshot": {
      "enum": [
        "1991-2020"
      ]
    }
  },
  "required": [
    "place",
    "start_day",
    "length",
    "min_low_c",
    "max_high_c"
  ],
  "additionalProperties": false
}

Open original schema

Published input example

{
  "place": "New York",
  "start_day": "05-01",
  "length": 30,
  "min_low_c": 8,
  "max_high_c": 27,
  "snapshot": "1991-2020"
}

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": {
        "suitable_days": {
          "type": "integer"
        },
        "first_suitable": {
          "type": "string"
        },
        "longest_run": {
          "type": "integer"
        }
      },
      "required": [
        "suitable_days",
        "first_suitable",
        "longest_run"
      ]
    },
    "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 โ†’