Skip to content
HALOWERK

Calculators and Rule Checks

atlas trip domestic leg balance

City itinerary distances separate travel legs joining cities in the same country from legs joining different countries. Use it when an agent needs trip comparisons between named settlement centers.

POST https://rechen.halowerk.com/v1/atlas-trip-domestic-leg-balance

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
placesarrayYes
snapshotSee schemaNo
Show full input schema
{
  "type": "object",
  "properties": {
    "places": {
      "type": "array",
      "minItems": 2,
      "maxItems": 16,
      "items": {
        "type": "string",
        "minLength": 1,
        "maxLength": 160
      }
    },
    "snapshot": {
      "enum": [
        "5.1.2"
      ]
    }
  },
  "required": [
    "places"
  ],
  "additionalProperties": false
}

Open original schema

Published input example

{
  "places": [
    "Berlin|DEU",
    "Prague|CZE",
    "Vienna|AUT"
  ],
  "snapshot": "5.1.2"
}

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": {
        "domestic_km": {
          "type": "number"
        },
        "international_km": {
          "type": "number"
        },
        "international_legs": {
          "type": "integer"
        }
      },
      "required": [
        "domestic_km",
        "international_km",
        "international_legs"
      ]
    },
    "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 →