HAFAS-WebAPI
    • LocMatch
      POST
    • StationBoard
      POST
    • JourneyDetails
      POST
    • test – 1.18 letzte mit getPasslist!
      POST
    • HimSearch – 1.19 erste funktionsfähige
      POST
    • Schemas
      • Responses
        • GenericResponseConstructor
        • LocMatchResponse
        • StationBoardResponse
        • JourneyDetailsResponse
      • Abstract Objects
        • ProductTypes
      • IconReference
      • Color
      • Line
      • LineProperties
      • UntimedLocation
      • Position2D
      • Position3D
      • GlobalId
      • Information
      • InformationPeriod
      • InformationCategory
      • DrawStyle
      • StopEvent
      • HintReference
      • LineReference
      • Operator
      • Hint
      • RequestedLocation
      • RealtimeSource
      • TimeStyle
      • TimedLocation
      • Platform
      • TimeTooltip
      • Destination
      • Polyline
      • PolylineLocationConnection
      • Journey
      • [StopListItem]

      LocMatch

      Developing
      POST

      Request

      Body Params application/jsonRequired

      Examples

      Responses

      🟢200Success
      application/json
      Body

      Request Request Example
      Shell
      JavaScript
      Java
      Swift
      curl --location --request POST 'https://fahrplaner.vbn.de/gate' \
      --header 'Content-Type: application/json' \
      --data-raw '{
          "ver": "1.18",
          "lang": "deu",
          "auth": {
              "type": "AID",
              "aid": "vbn89n98n908cv"
          },
          "client": {
              "type": "WEB"
          },
          "svcReqL": [
              {
                  "req": {
                      "input": {
                          "field": "S",
                          "loc": {
                              "type": "S",
                              "dist": 1000,
                              "name": "Hamburg Hbf"
                          },
                          "maxLoc": 7
                      }
                  },
                  "meth": "LocMatch"
              }
          ]
      }'
      Response Response Example
      {}
      Modified at 2026-03-29 15:39:04
      Next
      StationBoard
      Built with