APIs / FlixBus / Trip

FlixBus: Trip

Trip from FlixBus as JSON. 1 credit per successful call.

GET /v1/flixbus/trip

Parameters

Send parameters in the query string.

ParameterTypeRequiredAllowed values
trip_idstringRequiredUp to 700 characters

Example request

FlixBus
GET/v1/flixbus/trip?trip_id=direct%3A78e70bcf-351d-4589-8271-9d339a9ede21%3Adcbc32c3-9603-11e6-9066-549f350fcb0c%3Adcbada9a-9603-11e6-9066-549f350fcb0c
{
  "success": true,
  "data": {
    "trip": {
      "trip_id": "direct:78e70bcf-351d-4589-8271-9d339a9ede21:dcbc32c3-9603-11e6-9066-549f350fcb0c:dcbada9a-9603-11e6-9066-549f350fcb0c",
      "transfers": 0,
      "departure": {
        "station_name": "Berlin Alexanderplatz",
        "address": "Alexanderstraße 3",
        "zip_code": "10178",
        "city_name": "Berlin",
        "country_code": "DE",
        "location": {
          "lat": 52.523198,
          "lon": 13.414529
        }
      },
      "arrival": {
        "station_name": "Hamburg ZOB",
        "address": "Adenauerallee 78",
        "zip_code": "20097",
        "city_name": "Hamburg",
        "country_code": "DE",
        "description": "Gate information available here: https://www.zob-hamburg.de/abfahrt.php",
        "location": {
          "lat": 53.551767,
          "lon": 10.011657
        }
      },
      "line_origin": {
        "name": "Berlin Alexanderplatz",
        "time": "2026-11-03T00:10:00+01:00"
      },
      "line_destination": {
        "name": "Amsterdam Sloterdijk",
        "time": "2026-11-03T11:35:00+01:00"
      },
      "rides": [
        {
          "type": "ride",
          "line": {
            "code": "N44",
            "destination": "Amsterdam Sloterdijk",
            "line_id": 9418,
            "line_variation_id": 633653
          },
          "brand": {
            "id": "a18f138c-68fa-4b45-a42f-adb0378e10d3",
            "name": "FlixBus",
            "type": "core",
            "color": "#97D700"
          },
          "stops": [
            "…",
            "…",
            "…"
          ],
          "operators": [
            "FlixBus DACH GmbH"
          ],
          "messages": {}
        }
      ]
    }
  },
  "meta": {
    "endpoint_family": "trip_detail"
  }
}
200 OKJSONX-Credits-Used: 1
Recorded 12 Nov 2026 and shortened.

Run this endpoint in the playground with your own parameters. 1 credit per successful call; failed calls are free.

Response fields

data has these 1 fields, read from a recorded call. The recording leaves out fields that were empty, so a live call can return more.

FieldType
tripobject