Skip to content
HALOWERK

Mobility, Warnings and Local Data

scheduled airport journey leg distance

Scheduled airport journey measurement returns the cumulative great-circle distance and longest leg for ordered IATA stops. Use it when an agent needs a distance estimate for a multi-stop itinerary.

POST https://ort.halowerk.com/v1/scheduled-airport-journey-leg-distance

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
stopsarrayYes
Show full input schema
{
  "type": "object",
  "properties": {
    "stops": {
      "type": "array",
      "items": {
        "type": "string",
        "maxLength": 8,
        "minLength": 1
      },
      "minItems": 2,
      "maxItems": 15
    }
  },
  "required": [
    "stops"
  ],
  "additionalProperties": false
}

Open original schema

Published input example

{
  "stops": [
    "LHR",
    "JFK",
    "SFO"
  ]
}

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": {
        "total_km": {
          "type": "number"
        },
        "longest_leg": {
          "type": "integer"
        },
        "longest_km": {
          "type": "number"
        }
      },
      "required": [
        "total_km",
        "longest_leg",
        "longest_km"
      ]
    },
    "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 โ†’