GET
/faresInitial release
Cheapest single fares and departure times between two stations, by day. Resolves free-text place names to Trainline stations, then prices the route.
Bearer auth. Pass your key as
Authorization: Bearer <key> on every request.Parameters
Origin: a place/station name (resolved to the best match) or a Trainline urn code
Destination: a place/station name or a Trainline urn code
First day of the window (YYYY-MM-DD, UTC). Defaults to today.
Number of days from `date` to price (1-14)
Fare currency
Max days to return
Days to skip (pagination)
Bypass and repopulate the cache
Response fields
dataobjectcachedbooleansourcestringpaginationobject