APIs / Trainline / Journeys Page

Trainline: Journeys Page

Journeys Page from Trainline as JSON. 1 credit per successful call.

GET /v1/trainline/journeys-page

Parameters

Send parameters in the query string.

ParameterTypeRequiredAllowed values
search_idstringRequiredAny
directionstringOptionaloutward, inward
pagestringOptionalnext, previous
transport_modestringOptionalall, train, coach
currencystringOptionalGBP, EUR

Example request

Trainline
GET/v1/trainline/journeys-page?search_id=f54816d3-560c-467b-a320-a1c6f4ac7e80
{
  "success": true,
  "data": {
    "previous_search_id": "f54816d3-560c-467b-a320-a1c6f4ac7e80",
    "direction": "outward",
    "page": "next",
    "currency": "GBP",
    "transport_mode": "all",
    "search_id": "bbd99f72-1115-4221-a2c8-aa15100bc6ff",
    "expires_at": "2026-11-12T17:02:01+00:00",
    "requires_inward_call": false,
    "journey_count": 12,
    "journeys": [
      {
        "id": "c57bb6af-1e8b-4829-af0a-49ad192517a8",
        "departure_time": "2026-12-12T13:13:00+00:00",
        "arrival_time": "2026-12-12T15:19:00+00:00",
        "duration_minutes": 126,
        "distance_km": 280,
        "changes": 0,
        "carriers": [
          {
            "code": "urn:trainline:atoc:carrier:VT",
            "name": "Avanti West Coast"
          }
        ],
        "legs": [
          {
            "origin": "…",
            "destination": "…",
            "departure_time": "2026-12-12T13:13:00+00:00",
            "arrival_time": "2026-12-12T15:19:00+00:00",
            "departure_platform": "2",
            "arrival_platform": "5",
            "carrier": "…",
            "transport_mode": "train",
            "duration_minutes": 126,
            "distance_km": 280,
            "timetable_id": "W33697",
            "train_number": "VT721700",
            "reservable": true,
            "reservation_mandatory": true,
            "cancelled": false,
            "replacement_service": false,
            "bike_restriction": "ALLOWEDWITHRESERVATION"
          }
        ],
        "cheapest_total_price": {
          "amount": 49.5,
          "currency": "GBP"
        },
        "sellable": true,
        "bike_restriction": "ALLOWEDWITHRESERVATION",
        "co2_grams": 9828,
        "offers": [
          {
            "id": "b6687e74-0eb7-4699-87a7-cb27137a4ae9",
            "section_id": "a1d4110c-e61c-452a-9c95-c984b0b4ad18",
            "total_price": "…",
            "full_price": "…",
            "fare_name": "Off-Peak Single",
            "fare_code": "urn:trainline:atoc:fare:SVS",
            "description": "Any off-peak train.",
            "travel_classes": [
              "Standard"
            ],
            "fare_change_conditions": [
              "Flexible ticket only valid at specific off-peak times of the day.",
              "Your  journey must be on off-peak trains on the date specified. Off-peak times vary by route - our journey planner only shows off-peak tickets on trains for which they are valid.",
              "Can be booked in advance or purchased on the day of travel."
            ],
            "fares": [
              "…"
            ],
            "included_extras": [
              "…",
              "…",
              "…"
            ],
            "available_extras": [
              "…",
              "…",
              "…"
            ],
            "requires_travel_together": false
          },
          {
            "id": "334b39de-9d7f-4e52-a157-e2436e68ed07",
            "section_id": "a1d4110c-e61c-452a-9c95-c984b0b4ad18",
            "total_price": "…",
            "full_price": "…",
            "fare_name": "Anytime Single",
            "fare_code": "urn:trainline:atoc:fare:SOS",
            "description": "Travel any time of day.",
            "travel_classes": [
              "Standard"
            ],
            "fare_change_conditions": [
              "Flexible ticket with no time restrictions on when you can travel.",
              "Your journey must be on the date, or the day after the date, specified on the ticket.",
              "Can be booked in advance or purchased on the day of travel."
            ],
            "fares": [
              "…"
            ],
            "included_extras": [
              "…",
              "…",
              "…"
            ],
            "available_extras": [
              "…",
              "…",
              "…"
            ],
            "requires_travel_together": false
          },
          {
            "id": "a9dc012b-067c-417e-84ff-ffc9e4c32758",
            "section_id": "a1d4110c-e61c-452a-9c95-c984b0b4ad18",
            "total_price": "…",
            "full_price": "…",
            "fare_name": "Off-Peak Single (1st Class)",
            "fare_code": "urn:trainline:atoc:fare:FSS",
            "description": "Any off-peak train.",
            "travel_classes": [
              "First"
            ],
            "fare_change_conditions": [
              "Flexible ticket only valid at specific off-peak times of the day.",
              "Your  journey must be on off-peak trains on the date specified. Off-peak times vary by route - our journey planner only shows off-peak tickets on trains for which they are valid.",
              "Can be booked in advance or purchased on the day of travel."
            ],
            "fares": [
              "…"
            ],
            "included_extras": [
              "…",
              "…",
              "…"
            ],
            "available_extras": [
              "…",
              "…",
              "…"
            ],
            "requires_travel_together": false
          }
        ]
      },
      {
        "id": "fd7a0e1b-529a-4144-9f62-5606599fad9e",
        "departure_time": "2026-12-12T13:33:00+00:00",
        "arrival_time": "2026-12-12T15:44:00+00:00",
        "duration_minutes": 131,
        "distance_km": 290,
        "changes": 0,
        "carriers": [
          {
            "code": "urn:trainline:atoc:carrier:VT",
            "name": "Avanti West Coast"
          }
        ],
        "legs": [
          {
            "origin": "…",
            "destination": "…",
            "departure_time": "2026-12-12T13:33:00+00:00",
            "arrival_time": "2026-12-12T15:44:00+00:00",
            "departure_platform": "7",
            "arrival_platform": "6",
            "carrier": "…",
            "transport_mode": "train",
            "duration_minutes": 131,
            "distance_km": 290,
            "timetable_id": "W33761",
            "train_number": "VT722700",
            "reservable": true,
            "reservation_mandatory": true,
            "cancelled": false,
            "replacement_service": false,
            "bike_restriction": "ALLOWEDWITHRESERVATION"
          }
        ],
        "cheapest_total_price": {
          "amount": 49.5,
          "currency": "GBP"
        },
        "sellable": true,
        "bike_restriction": "ALLOWEDWITHRESERVATION",
        "co2_grams": 10179,
        "offers": [
          {
            "id": "29bbacfa-49d8-43b6-abff-87221482da04",
            "section_id": "cd81eb13-73ec-420e-8e89-34213c9ac7dd",
            "total_price": "…",
            "full_price": "…",
            "fare_name": "Off-Peak Single",
            "fare_code": "urn:trainline:atoc:fare:SVS",
            "description": "Any off-peak train.",
            "travel_classes": [
              "Standard"
            ],
            "fare_change_conditions": [
              "Flexible ticket only valid at specific off-peak times of the day.",
              "Your  journey must be on off-peak trains on the date specified. Off-peak times vary by route - our journey planner only shows off-peak tickets on trains for which they are valid.",
              "Can be booked in advance or purchased on the day of travel."
            ],
            "fares": [
              "…"
            ],
            "included_extras": [
              "…",
              "…",
              "…"
            ],
            "available_extras": [
              "…",
              "…",
              "…"
            ],
            "requires_travel_together": false
          },
          {
            "id": "15ebcdbf-be8e-40be-a948-6fe0d6ebf24e",
            "section_id": "cd81eb13-73ec-420e-8e89-34213c9ac7dd",
            "total_price": "…",
            "full_price": "…",
            "fare_name": "Anytime Single",
            "fare_code": "urn:trainline:atoc:fare:SOS",
            "description": "Travel any time of day.",
            "travel_classes": [
              "Standard"
            ],
            "fare_change_conditions": [
              "Flexible ticket with no time restrictions on when you can travel.",
              "Your journey must be on the date, or the day after the date, specified on the ticket.",
              "Can be booked in advance or purchased on the day of travel."
            ],
            "fares": [
              "…"
            ],
            "included_extras": [
              "…",
              "…",
              "…"
            ],
            "available_extras": [
              "…",
              "…",
              "…"
            ],
            "requires_travel_together": false
          },
          {
            "id": "f5815ac7-c633-4419-bf4f-32a3c01f69c3",
            "section_id": "cd81eb13-73ec-420e-8e89-34213c9ac7dd",
            "total_price": "…",
            "full_price": "…",
            "fare_name": "Off-Peak Single (1st Class)",
            "fare_code": "urn:trainline:atoc:fare:FSS",
            "description": "Any off-peak train.",
            "travel_classes": [
              "First"
            ],
            "fare_change_conditions": [
              "Flexible ticket only valid at specific off-peak times of the day.",
              "Your  journey must be on off-peak trains on the date specified. Off-peak times vary by route - our journey planner only shows off-peak tickets on trains for which they are valid.",
              "Can be booked in advance or purchased on the day of travel."
            ],
            "fares": [
              "…"
            ],
            "included_extras": [
              "…",
              "…",
              "…"
            ],
            "available_extras": [
              "…",
              "…",
              "…"
            ],
            "requires_travel_together": false
          }
        ]
      },
      {
        "id": "a4ec8a95-7cb6-459d-8fb4-a5dde6fc8468",
        "departure_time": "2026-12-12T13:53:00+00:00",
        "arrival_time": "2026-12-12T16:05:00+00:00",
        "duration_minutes": 132,
        "distance_km": 280,
        "changes": 0,
        "carriers": [
          {
            "code": "urn:trainline:atoc:carrier:VT",
            "name": "Avanti West Coast"
          }
        ],
        "legs": [
          {
            "origin": "…",
            "destination": "…",
            "departure_time": "2026-12-12T13:53:00+00:00",
            "arrival_time": "2026-12-12T16:05:00+00:00",
            "departure_platform": "2",
            "arrival_platform": "5",
            "carrier": "…",
            "transport_mode": "train",
            "duration_minutes": 132,
            "distance_km": 280,
            "timetable_id": "W33675",
            "train_number": "VT723700",
            "reservable": true,
            "reservation_mandatory": true,
            "cancelled": false,
            "replacement_service": false,
            "bike_restriction": "ALLOWEDWITHRESERVATION"
          }
        ],
        "cheapest_total_price": {
          "amount": 45.5,
          "currency": "GBP"
        },
        "sellable": true,
        "bike_restriction": "ALLOWEDWITHRESERVATION",
        "co2_grams": 9828,
        "offers": [
          {
            "id": "60a3f96f-d719-471b-a8f6-94749d876968",
            "section_id": "f2c16057-fc33-45d1-a724-2e6340b4af29",
            "total_price": "…",
            "full_price": "…",
            "fare_name": "Off-Peak Single",
            "fare_code": "urn:trainline:atoc:fare:SVS",
            "description": "Any off-peak train.",
            "travel_classes": [
              "Standard"
            ],
            "fare_change_conditions": [
              "Flexible ticket only valid at specific off-peak times of the day.",
              "Your  journey must be on off-peak trains on the date specified. Off-peak times vary by route - our journey planner only shows off-peak tickets on trains for which they are valid.",
              "Can be booked in advance or purchased on the day of travel."
            ],
            "fares": [
              "…"
            ],
            "included_extras": [
              "…",
              "…",
              "…"
            ],
            "available_extras": [
              "…",
              "…",
              "…"
            ],
            "requires_travel_together": false
          },
          {
            "id": "861437df-b1fb-4003-a24d-890adf39ba92",
            "section_id": "f2c16057-fc33-45d1-a724-2e6340b4af29",
            "total_price": "…",
            "full_price": "…",
            "fare_name": "Anytime Single",
            "fare_code": "urn:trainline:atoc:fare:SOS",
            "description": "Travel any time of day.",
            "travel_classes": [
              "Standard"
            ],
            "fare_change_conditions": [
              "Flexible ticket with no time restrictions on when you can travel.",
              "Your journey must be on the date, or the day after the date, specified on the ticket.",
              "Can be booked in advance or purchased on the day of travel."
            ],
            "fares": [
              "…"
            ],
            "included_extras": [
              "…",
              "…",
              "…"
            ],
            "available_extras": [
              "…",
              "…",
              "…"
            ],
            "requires_travel_together": false
          },
          {
            "id": "4896cd69-6750-4cff-84b8-f20231208ff2",
            "section_id": "f2c16057-fc33-45d1-a724-2e6340b4af29",
            "total_price": "…",
            "full_price": "…",
            "fare_name": "Off-Peak Single (1st Class)",
            "fare_code": "urn:trainline:atoc:fare:FSS",
            "description": "Any off-peak train.",
            "travel_classes": [
              "First"
            ],
            "fare_change_conditions": [
              "Flexible ticket only valid at specific off-peak times of the day.",
              "Your  journey must be on off-peak trains on the date specified. Off-peak times vary by route - our journey planner only shows off-peak tickets on trains for which they are valid.",
              "Can be booked in advance or purchased on the day of travel."
            ],
            "fares": [
              "…"
            ],
            "included_extras": [
              "…",
              "…",
              "…"
            ],
            "available_extras": [
              "…",
              "…",
              "…"
            ],
            "requires_travel_together": false
          }
        ]
      }
    ]
  },
  "meta": {
    "endpoint_family": "journeys_page"
  }
}
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 9 fields, read from a recorded call. The recording leaves out fields that were empty, so a live call can return more.

FieldType
previous_search_idstring
directionstring
currencystring
transport_modestring
search_idstring
expires_atstring
requires_inward_callboolean
journey_countinteger
journeysobject[]