Skip to content
HALOWERK

Ortwerk

departures planned

Departure board from the planned national timetable: all platforms of the station (GTFS parent_station) are combined, trips are filtered by their service calendar for the requested date (including trips of the previous service day after midnight), stops without boarding (pickup_type 1) and the terminus of a trip are excluded. Planned timetable from the gtfs.de Germany feed (free edition, CC BY 4.0, based on DELFI e.V. national timetable data; stop positions partly © OpenStreetMap.

POST https://ort.halowerk.com/v1/departures-planned

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
stopobjectYesStop or station: give exactly one of id (GTFS stop_id from this feed), name (e.g. "Köln Hbf") or lat+lon (nearest served stop within 1 km).
datestringNoService date YYYY-MM-DD (Europe/Berlin). Default: today. Must lie inside the feed validity (see data_basis).
timestringNoLocal time HH:MM (Europe/Berlin). Default: now.
duration_minintegerNoLength of the time window in minutes.
limitintegerNoMaximum number of departures returned.
modesarrayNoOnly these modes (GTFS route_type groups).
linestringNoLine name as shown on vehicles, e.g. "S11", "RE 5", "ICE 10", "106". Spaces and case are ignored.
Show full input schema
{
  "type": "object",
  "additionalProperties": false,
  "required": [
    "stop"
  ],
  "properties": {
    "stop": {
      "type": "object",
      "additionalProperties": false,
      "minProperties": 1,
      "description": "Stop or station: give exactly one of id (GTFS stop_id from this feed), name (e.g. \"Köln Hbf\") or lat+lon (nearest served stop within 1 km).",
      "properties": {
        "id": {
          "type": "string",
          "minLength": 1,
          "maxLength": 40,
          "description": "GTFS stop_id from this feed (e.g. from stops-nearby)."
        },
        "name": {
          "type": "string",
          "minLength": 2,
          "maxLength": 100,
          "description": "Stop name; best match by name, exact matches first, then by number of departures."
        },
        "lat": {
          "type": "number",
          "minimum": 47,
          "maximum": 55.2,
          "description": "Latitude (WGS84)."
        },
        "lon": {
          "type": "number",
          "minimum": 5.5,
          "maximum": 15.5,
          "description": "Longitude (WGS84)."
        }
      }
    },
    "date": {
      "type": "string",
      "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
      "description": "Service date YYYY-MM-DD (Europe/Berlin). Default: today. Must lie inside the feed validity (see data_basis)."
    },
    "time": {
      "type": "string",
      "pattern": "^\\d{1,2}:\\d{2}$",
      "description": "Local time HH:MM (Europe/Berlin). Default: now."
    },
    "duration_min": {
      "type": "integer",
      "minimum": 1,
      "maximum": 240,
      "default": 60,
      "description": "Length of the time window in minutes."
    },
    "limit": {
      "type": "integer",
      "minimum": 1,
      "maximum": 100,
      "default": 30,
      "description": "Maximum number of departures returned."
    },
    "modes": {
      "type": "array",
      "maxItems": 12,
      "uniqueItems": true,
      "items": {
        "enum": [
          "tram",
          "subway",
          "rail",
          "bus",
          "coach",
          "ferry",
          "cable_tram",
          "aerial_lift",
          "funicular",
          "trolleybus",
          "monorail",
          "other"
        ]
      },
      "description": "Only these modes (GTFS route_type groups)."
    },
    "line": {
      "type": "string",
      "minLength": 1,
      "maxLength": 30,
      "description": "Line name as shown on vehicles, e.g. \"S11\", \"RE 5\", \"ICE 10\", \"106\". Spaces and case are ignored."
    }
  }
}

Open original schema

Published input example

{
  "stop": {
    "name": "Köln Hbf"
  },
  "time": "08:00",
  "duration_min": 15,
  "limit": 10
}

Result & documentation

Machine-readable documentation of this hub

Source of this page: the published HALOWERK catalog. Updated: 2026-11-17 UTC.

More endpoints in this hub

All endpoints in this hub →