Trainline: Fares Best
Fares Best from Trainline as JSON. 1 credit per successful call.
GET /v1/trainline/fares-best
Parameters
This endpoint takes no parameters.
Example request
Trainline
GET/v1/trainline/fares-best
{
"success": true,
"data": {
"fare_count": 6,
"fares": [
{
"origin": {
"name": "London"
},
"destination": {
"name": "Paris"
},
"price_from": {
"amount": 44,
"currency": "GBP"
},
"duration_minutes": 140,
"is_reverse": true,
"path": "/train-times/london-to-paris"
},
{
"origin": {
"name": "Paris"
},
"destination": {
"name": "Amsterdam"
},
"price_from": {
"amount": 25.45,
"currency": "GBP"
},
"duration_minutes": 206,
"is_reverse": true,
"path": "/train-times/paris-to-amsterdam"
},
{
"origin": {
"name": "Barcelona"
},
"destination": {
"name": "Madrid"
},
"price_from": {
"amount": 16.68,
"currency": "GBP"
},
"duration_minutes": 182,
"is_reverse": true,
"path": "/train-times/barcelona-to-madrid"
}
]
},
"meta": {
"endpoint_family": "fares_best"
}
}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
Each item in data.fares has these 6 fields, read from a recorded call that returned 6 items. The recording leaves out fields that were empty, so a live call can return more.
| Field | Type |
|---|---|
origin | object |
destination | object |
price_from | object |
duration_minutes | integer |
is_reverse | boolean |
path | string |