Ortwerk
last departure
Evaluates the service date from 12:00 on: all trips of that service day (GTFS times beyond 24:00 included) plus trips of the following service day leaving before 04:00. Per line and headsign the last departure, plus all departures after midnight (night service). With a destination, finds the last direct trips (no transfer) that call at the destination after the origin, with arrival time. Planned timetable from the gtfs.de Germany feed (free edition, CC BY 4.0, based on DELFI e.V. national.
POST https://ort.halowerk.com/v1/last-departureInputs
| Field | Type | Required | Description |
|---|---|---|---|
| stop | object | Yes | Origin 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). |
| to | object | No | Optional destination for last direct trips: 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). |
| date | string | No | Service date YYYY-MM-DD (Europe/Berlin). Default: today. Must lie inside the feed validity (see data_basis). |
| modes | array | No | Only these modes (GTFS route_type groups). |
| limit | integer | No | Maximum number of lines/night departures listed. |
Show full input schema
{
"type": "object",
"additionalProperties": false,
"required": [
"stop"
],
"properties": {
"stop": {
"type": "object",
"additionalProperties": false,
"minProperties": 1,
"description": "Origin 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)."
}
}
},
"to": {
"type": "object",
"additionalProperties": false,
"minProperties": 1,
"description": "Optional destination for last direct trips: 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)."
},
"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)."
},
"limit": {
"type": "integer",
"minimum": 1,
"maximum": 60,
"default": 30,
"description": "Maximum number of lines/night departures listed."
}
}
}Published input example
{
"stop": {
"name": "Bonn Hbf"
},
"to": {
"name": "Köln Hbf"
},
"modes": [
"rail"
],
"limit": 5
}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
- Ortwerk0.01 USDC
area coverage
POSThttps://ort.halowerk.com/v1/area-coverageRuns one multi-source Dijkstra from all origins (Routing runs on HALOWERK's own graph of the German road and path network built from OpenStreetMap (Geofabrik germany-latest.osm.pbf, data until 2026-11-12, ODbL 1.0; 25 million nodes, edges a
- Ortwerk0.004 USDC
autobahn roadworks
POSThttps://ort.halowerk.com/v1/autobahn-roadworksFetches live roadworks (long- and short-term) and closures per motorway from the public Autobahn App API of Die Autobahn GmbH des Bundes (no key; https://verkehr.autobahn.de/o/autobahn). The free-text periods are parsed into concrete interv
- Ortwerk0.004 USDC
avalanche bulletin
POSThttps://ort.halowerk.com/v1/avalanche-bulletinFresh official WSL SLF CAAMLv6 JSON for one Swiss warning region, in de/en/fr/it with explicit actual-language fallback. Includes the complete unmodified bulletin, all elevation/aspect/time distinctions, publication and validity times, sour