Skip to content
HALOWERK

Mobility, Warnings and Local Data

rail change missed train cost

Transit fallback timing finds the additional wait if a selected onward train is missed after a feeder arrival. Use it when an agent needs planning a backup connection for a specific service time.

POST https://ort.halowerk.com/v1/rail-change-missed-train-cost

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
stationstringYes
datestringYes
from_linestringYes
to_linestringYes
walk_minintegerNo
afterstringYes
Show full input schema
{
  "type": "object",
  "properties": {
    "station": {
      "type": "string",
      "maxLength": 70,
      "minLength": 1
    },
    "date": {
      "type": "string",
      "maxLength": 10,
      "minLength": 1
    },
    "from_line": {
      "type": "string",
      "maxLength": 20,
      "minLength": 1
    },
    "to_line": {
      "type": "string",
      "maxLength": 20,
      "minLength": 1
    },
    "walk_min": {
      "type": "integer",
      "minimum": 0,
      "maximum": 60
    },
    "after": {
      "type": "string",
      "maxLength": 5,
      "minLength": 1
    }
  },
  "required": [
    "station",
    "date",
    "from_line",
    "to_line",
    "after"
  ],
  "additionalProperties": false
}

Open original schema

Published input example

{
  "station": "MCAR",
  "date": "2026-11-20",
  "from_line": "Yellow-S",
  "to_line": "Orange-S",
  "after": "09:30"
}

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": {
        "arrival": {
          "type": "string"
        },
        "planned": {
          "type": "string"
        },
        "backup": {
          "type": "string"
        },
        "additional_minutes": {
          "type": "number"
        }
      },
      "required": [
        "arrival",
        "planned",
        "backup",
        "additional_minutes"
      ]
    },
    "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 โ†’