APIs / Trainline / Journeys Ticket Options
Trainline: Journeys Ticket Options
Journeys Ticket Options from Trainline as JSON. 1 credit per successful call.
GET /v1/trainline/journeys-ticket-options
Parameters
Send parameters in the query string.
| Parameter | Type | Required | Allowed values |
|---|---|---|---|
search_id | string | Required | Any |
outward_journey_id | string | Required | Any |
inward_journey_id | string | Optional | Any |
currency | string | Optional | GBP, EUR |
Example request
Trainline
GET/v1/trainline/journeys-ticket-options?search_id=f54816d3-560c-467b-a320-a1c6f4ac7e80&outward_journey_id=c7ffaa12-7489-4d22-9fac-cc2edb0fbaed
{
"success": true,
"data": {
"search_id": "f54816d3-560c-467b-a320-a1c6f4ac7e80",
"currency": "GBP",
"ticket_options": [
{
"id": "S98MvknIMQc=",
"name": "Advance Single",
"type": "NonFlexible",
"description": "Travel on specified train only",
"total_price": {
"amount": 52.5,
"currency": "GBP"
},
"full_amount": 52.5,
"difference_to_cheapest_in_class": {
"amount": 0,
"currency": "GBP"
},
"is_cheapest": true,
"refunds": "No refunds",
"restrictions": [
"Avanti West Coast only"
],
"conditions": [
{
"title": "DESCRIPTION",
"text": "Non-refundable ticket, only valid for the date, time and trains specified."
},
{
"title": "VALIDITY",
"text": "You must travel on the date, time and trains specified. You may not start, break and resume, or end your journey at any intermediate station except to change to/from connecting trains as shown on the ticket(s) or other valid travel itinerar…"
},
{
"title": "BOOKING",
"text": "Tickets must be purchased in advance of travel, subject to availability."
}
],
"alternatives": [
{
"alternative_id": "184e1eae-1f5a-4d6f-9ba8-c52ae4741d0a",
"journey_id": "c7ffaa12-7489-4d22-9fac-cc2edb0fbaed",
"total_price": "…"
}
]
},
{
"id": "uOiHkEJvCrA=",
"name": "Off-Peak Single",
"type": "Flexible",
"description": "Travel on any off-peak train",
"total_price": {
"amount": 79.8,
"currency": "GBP"
},
"full_amount": 79.8,
"difference_to_cheapest_in_class": {
"amount": 27.3,
"currency": "GBP"
},
"is_cheapest": false,
"refunds": "Refundable with a fee",
"restrictions": [
"Travel is allowed via any permitted route."
],
"conditions": [
{
"title": "DESCRIPTION",
"text": "Flexible ticket only valid at specific off-peak times of the day."
},
{
"title": "VALIDITY",
"text": "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."
},
{
"title": "BOOKING",
"text": "Can be booked in advance or purchased on the day of travel."
}
],
"alternatives": [
{
"alternative_id": "c581b7f5-0d49-4cb6-bd57-3595060483fc",
"journey_id": "c7ffaa12-7489-4d22-9fac-cc2edb0fbaed",
"total_price": "…"
}
]
},
{
"id": "+marCKBJbaU=",
"name": "Advance Single Standard Premium",
"type": "NonFlexible",
"description": "Travel on specified train only",
"total_price": {
"amount": 95,
"currency": "GBP"
},
"full_amount": 95,
"difference_to_cheapest_in_class": {
"amount": 0,
"currency": "GBP"
},
"is_cheapest": false,
"refunds": "No refunds",
"restrictions": [
"Avanti West Coast Only"
],
"conditions": [
{
"title": "TICKET TYPE",
"text": "ADVANCE PREMIUM"
},
{
"title": "DESCRIPTION",
"text": "Non-refundable ticket, only valid for the date, time and trains specified. Gets standard premium seat."
},
{
"title": "VALIDITY",
"text": "You must travel on the date, time and trains specified. You may not start, break and resume, or end your journey at any intermediate station except to change to/from connecting trains as shown on the ticket(s) or other valid travel itinerar…"
}
],
"alternatives": [
{
"alternative_id": "2933488c-ee15-44a1-a3d2-4787578a516f",
"journey_id": "c7ffaa12-7489-4d22-9fac-cc2edb0fbaed",
"total_price": "…"
}
]
}
],
"ticket_classes": [
{
"code": "urn:trainline:atoc:class:Standard",
"name": "Standard",
"cheapest_price": {
"amount": 52.5,
"currency": "GBP"
},
"services": [
{
"name": "Allocated seating",
"group": "seatSelection"
},
{
"name": "1 suitcase (max 30x70x90cm), 1 small carry-on bag, 1 handbag",
"group": "luggage"
},
{
"name": "Power socket",
"group": "electricSocket"
}
],
"ticket_option_ids": [
"S98MvknIMQc=",
"uOiHkEJvCrA=",
"E/Ubiw8SrJU="
]
},
{
"code": "urn:trainline:atoc:class:premium",
"name": "Premium",
"cheapest_price": {
"amount": 95,
"currency": "GBP"
},
"services": [
{
"name": "Table seat",
"group": "firstClassComfort"
},
{
"name": "Comfier seats",
"group": "extraLegroom"
},
{
"name": "Allocated seating",
"group": "seatSelection"
}
],
"ticket_option_ids": [
"+marCKBJbaU="
]
},
{
"code": "urn:trainline:atoc:class:First",
"name": "First",
"cheapest_price": {
"amount": 169,
"currency": "GBP"
},
"services": [
{
"name": "1st class lounge",
"group": "departureLounge"
},
{
"name": "Complimentary food and drink",
"group": "drinksAndSnacks"
},
{
"name": "At seat service",
"group": "meal"
}
],
"ticket_option_ids": [
"5ymvUT4Am4c=",
"E4w8z+oevOU=",
"MUbzl51HcKY="
]
}
]
},
"meta": {
"endpoint_family": "journeys_ticket_options"
}
}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 4 fields, read from a recorded call. The recording leaves out fields that were empty, so a live call can return more.
| Field | Type |
|---|---|
search_id | string |
currency | string |
ticket_options | object[] |
ticket_classes | object[] |