Skip to content
HALOWERK

Mobility, Warnings and Local Data

gtfs departure half window shift

Station frequency shift compares scheduled departure counts before and after the window midpoint. Use it when an agent needs a near-term increase or drop in trip supply.

POST https://ort.halowerk.com/v1/gtfs-departure-half-window-shift

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
querystringYes
datestringNo
timestringNo
minutesintegerNo
modestringNo
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
    },
    "mode": {
      "type": "string",
      "maxLength": 32,
      "minLength": 1
    }
  },
  "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"
        },
        "first_half": {
          "type": "integer"
        },
        "second_half": {
          "type": "integer"
        },
        "change": {
          "type": "integer"
        }
      },
      "required": [
        "station",
        "first_half",
        "second_half",
        "change"
      ]
    },
    "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 →