Skip to content
HALOWERK

Ortwerk

deutschlandticket fit

Runs the own RAPTOR router twice over the national planned timetable: once with all services and once restricted to services covered by the Deutschlandticket. Classification by the Deutschlandticket tariff rules (deutschlandticket.de, 2026): local and regional transport inside Germany is included; DB long-distance (ICE/IC/EC), FlixTrain/FlixBus, night and other long-distance trains and coaches are excluded; ferries, cable cars, funiculars, heritage/tourist railways and unclear foreign train.

POST https://ort.halowerk.com/v1/deutschlandticket-fit

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
fromobjectYesOrigin: 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).
toobjectYesDestination: 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).
timestringNoEarliest departure HH:MM (Europe/Berlin). Default: now.
max_transfersintegerNoMaximum number of transfers.
Show full input schema
{
  "type": "object",
  "additionalProperties": false,
  "required": [
    "from",
    "to"
  ],
  "properties": {
    "from": {
      "type": "object",
      "additionalProperties": false,
      "minProperties": 1,
      "description": "Origin: 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": "Destination: 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": "Earliest departure HH:MM (Europe/Berlin). Default: now."
    },
    "max_transfers": {
      "type": "integer",
      "minimum": 0,
      "maximum": 4,
      "default": 4,
      "description": "Maximum number of transfers."
    }
  }
}

Open original schema

Published input example

{
  "from": {
    "name": "Köln Hbf"
  },
  "to": {
    "name": "Bonn Hbf"
  },
  "time": "08:00",
  "max_transfers": 1
}

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 →