APIs / Trainline / Journeys Return

Trainline: Journeys Return

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

GET /v1/trainline/journeys-return

Parameters

Send parameters in the query string.

ParameterTypeRequiredAllowed values
search_idstringRequiredAny
journey_idstringRequiredAny
alternative_ids[]list of stringOptionalAny
transport_modestringOptionalall, train, coach
currencystringOptionalGBP, EUR

Example request

Trainline
GET/v1/trainline/journeys-return?search_id=fcbba243-56d7-4231-ae41-861a8f2b1a16&journey_id=journey-fe3cae6a-d5db-4b3b-8d62-df91c8c0cc18&alternative_ids[]=b12aa62d-7661-455f-845f-9e5a7336b04b%25alternative-de0d7264-60a5-45db-9f15-49df07108ba6
{
  "success": true,
  "data": {
    "outward_search_id": "fcbba243-56d7-4231-ae41-861a8f2b1a16",
    "outward_journey_id": "journey-fe3cae6a-d5db-4b3b-8d62-df91c8c0cc18",
    "currency": "GBP",
    "transport_mode": "all",
    "search_id": "c0be6419-c5c4-4c47-873a-64e327a1c3a6",
    "expires_at": "2026-11-12T17:21:58+00:00",
    "requires_inward_call": false,
    "journey_count": 5,
    "journeys": [
      {
        "id": "journey-24b81889-78b3-47d7-b086-19798ad0ea7b",
        "departure_time": "2026-12-15T09:02:00+01:00",
        "arrival_time": "2026-12-15T10:30:00+00:00",
        "duration_minutes": 148,
        "changes": 0,
        "carriers": [
          {
            "code": "urn:trainline:eurostardirect:carrier:eurostar",
            "name": "Eurostar"
          }
        ],
        "legs": [
          {
            "origin": "…",
            "destination": "…",
            "departure_time": "2026-12-15T09:02:00+01:00",
            "arrival_time": "2026-12-15T10:30:00+00:00",
            "carrier": "…",
            "transport_mode": "train",
            "duration_minutes": 148,
            "timetable_id": "9015",
            "train_number": "ES 9015",
            "cancelled": false,
            "replacement_service": false
          }
        ],
        "cheapest_total_price": {
          "amount": 55,
          "currency": "GBP"
        },
        "sellable": true,
        "offers": [
          {
            "id": "c53eaedd-45c3-4941-82a5-164bdce4da38%alternative-e2be445a-b65b-4872-8016-25d221418c5b|journey-24b81889-78b3-47d7-b086-19798ad0ea7b",
            "section_id": "section-9ec32a3b-f9cc-44e7-a815-2d8c9f17b6e6",
            "total_price": "…",
            "full_price": "…",
            "fare_name": "Eurostar Standard",
            "fare_code": "urn:trainline:eurostardirect:fare:807436929c8999194d9ceb499b47327b",
            "description": "Exchange without a fee 1 hour before original departure time. If new ticket is more expensive, you'll pay the difference. If new ticket is cheaper, the differen…",
            "travel_classes": [
              "Standard"
            ],
            "fare_change_conditions": [
              "Exchange without a fee 1 hour before original departure time. If new ticket is more expensive, you'll pay the difference. If new ticket is cheaper, the differen…"
            ],
            "fares": [
              "…"
            ],
            "included_extras": [
              "…",
              "…"
            ],
            "available_extras": [
              "…",
              "…"
            ],
            "requires_travel_together": false
          },
          {
            "id": "c53eaedd-45c3-4941-82a5-164bdce4da38%alternative-e1fa7ecc-3725-48e5-8e24-7daa0a36b2f6|journey-24b81889-78b3-47d7-b086-19798ad0ea7b",
            "section_id": "section-9ec32a3b-f9cc-44e7-a815-2d8c9f17b6e6",
            "total_price": "…",
            "full_price": "…",
            "fare_name": "Eurostar Plus",
            "fare_code": "urn:trainline:eurostardirect:fare:5f1c216157d6f952476a0ddfc2565585",
            "description": "Exchange without a fee 1 hour before original departure time. If new ticket is more expensive, you'll pay the difference. If new ticket is cheaper, the differen…",
            "travel_classes": [
              "First"
            ],
            "fare_change_conditions": [
              "Exchange without a fee 1 hour before original departure time. If new ticket is more expensive, you'll pay the difference. If new ticket is cheaper, the differen…"
            ],
            "fares": [
              "…"
            ],
            "included_extras": [
              "…",
              "…"
            ],
            "available_extras": [
              "…",
              "…"
            ],
            "requires_travel_together": false
          }
        ]
      },
      {
        "id": "journey-30adac08-ed32-42db-8969-37d3960d873e",
        "departure_time": "2026-12-15T10:02:00+01:00",
        "arrival_time": "2026-12-15T11:30:00+00:00",
        "duration_minutes": 148,
        "changes": 0,
        "carriers": [
          {
            "code": "urn:trainline:eurostardirect:carrier:eurostar",
            "name": "Eurostar"
          }
        ],
        "legs": [
          {
            "origin": "…",
            "destination": "…",
            "departure_time": "2026-12-15T10:02:00+01:00",
            "arrival_time": "2026-12-15T11:30:00+00:00",
            "carrier": "…",
            "transport_mode": "train",
            "duration_minutes": 148,
            "timetable_id": "9019",
            "train_number": "ES 9019",
            "cancelled": false,
            "replacement_service": false
          }
        ],
        "cheapest_total_price": {
          "amount": 49,
          "currency": "GBP"
        },
        "sellable": true,
        "offers": [
          {
            "id": "c53eaedd-45c3-4941-82a5-164bdce4da38%alternative-1f26e5b7-4e96-4f18-9bfc-c56733e35463|journey-30adac08-ed32-42db-8969-37d3960d873e",
            "section_id": "section-25b3cd08-fd1d-4044-9685-e0cdbf1f127f",
            "total_price": "…",
            "full_price": "…",
            "fare_name": "Eurostar Standard",
            "fare_code": "urn:trainline:eurostardirect:fare:807436929c8999194d9ceb499b47327b",
            "description": "Exchange without a fee 1 hour before original departure time. If new ticket is more expensive, you'll pay the difference. If new ticket is cheaper, the differen…",
            "travel_classes": [
              "Standard"
            ],
            "fare_change_conditions": [
              "Exchange without a fee 1 hour before original departure time. If new ticket is more expensive, you'll pay the difference. If new ticket is cheaper, the differen…"
            ],
            "fares": [
              "…"
            ],
            "included_extras": [
              "…",
              "…"
            ],
            "available_extras": [
              "…",
              "…"
            ],
            "requires_travel_together": false
          },
          {
            "id": "c53eaedd-45c3-4941-82a5-164bdce4da38%alternative-82ff9763-0b0c-412b-9737-860bf4c8011b|journey-30adac08-ed32-42db-8969-37d3960d873e",
            "section_id": "section-25b3cd08-fd1d-4044-9685-e0cdbf1f127f",
            "total_price": "…",
            "full_price": "…",
            "fare_name": "Eurostar Plus",
            "fare_code": "urn:trainline:eurostardirect:fare:5f1c216157d6f952476a0ddfc2565585",
            "description": "Exchange without a fee 1 hour before original departure time. If new ticket is more expensive, you'll pay the difference. If new ticket is cheaper, the differen…",
            "travel_classes": [
              "First"
            ],
            "fare_change_conditions": [
              "Exchange without a fee 1 hour before original departure time. If new ticket is more expensive, you'll pay the difference. If new ticket is cheaper, the differen…"
            ],
            "fares": [
              "…"
            ],
            "included_extras": [
              "…",
              "…"
            ],
            "available_extras": [
              "…",
              "…"
            ],
            "requires_travel_together": false
          }
        ]
      }
    ]
  },
  "meta": {
    "endpoint_family": "journeys_return"
  }
}
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
outward_search_idstring
outward_journey_idstring
currencystring
transport_modestring
search_idstring
expires_atstring
requires_inward_callboolean
journey_countinteger
journeysobject[]