Skip to content
HALOWERK

Mobility, Warnings and Local Data

station transfer first option slack

Station transfer slack returns the median and largest surplus above the requested minimum for each earliest option. Use it when an agent needs a buffer distribution.

POST https://ort.halowerk.com/v1/station-transfer-first-option-slack

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
querystringYes
datestringNo
timestringNo
minutesintegerNo
minimum_minutesintegerNo
Show full input schema
{
  "type": "object",
  "properties": {
    "query": {
      "type": "string",
      "maxLength": 100,
      "minLength": 1
    },
    "date": {
      "type": "string",
      "pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}$"
    },
    "time": {
      "type": "string",
      "pattern": "^(?:[01]?[0-9]|2[0-3]):[0-5][0-9]$"
    },
    "minutes": {
      "type": "integer",
      "minimum": 1,
      "maximum": 60
    },
    "minimum_minutes": {
      "type": "integer",
      "minimum": 0,
      "maximum": 30
    }
  },
  "required": [
    "query"
  ],
  "additionalProperties": false
}

Open original schema

Published input example

{
  "query": "Köln Hbf",
  "date": "2026-11-17"
}

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"
        },
        "date": {
          "type": "string"
        },
        "median_seconds": {
          "type": [
            "number",
            "null"
          ]
        },
        "maximum_seconds": {
          "type": [
            "integer",
            "null"
          ]
        }
      },
      "required": [
        "station",
        "date",
        "median_seconds",
        "maximum_seconds"
      ]
    },
    "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 →