APIs / Trainline / Fares Calendar

Trainline: Fares Calendar

Fares Calendar from Trainline as JSON. 1 credit per successful call.

GET /v1/trainline/fares-calendar

Parameters

Send parameters in the query string.

ParameterTypeRequiredAllowed values
originstringRequiredAny
destinationstringRequiredAny
date_fromstringRequiredAny
date_tostringRequiredAny
currencystringOptionalGBP, EUR

Example request

Trainline
GET/v1/trainline/fares-calendar?origin=urn%3Atrainline%3Ageneric%3Aloc%3AEUS1444gb&destination=urn%3Atrainline%3Ageneric%3Aloc%3AMAN2968gb&date_from=2027-01-09&date_to=2027-01-16
{
  "success": true,
  "data": {
    "origin": "urn:trainline:generic:loc:EUS1444gb",
    "destination": "urn:trainline:generic:loc:MAN2968gb",
    "date_from": "2026-12-12",
    "date_to": "2026-12-19",
    "currency": "GBP",
    "days": [
      {
        "date": "2026-12-12",
        "price": {
          "amount": 24.5,
          "currency": "GBP"
        }
      },
      {
        "date": "2026-12-13",
        "price": {
          "amount": 22.4,
          "currency": "GBP"
        }
      },
      {
        "date": "2026-12-14",
        "price": {
          "amount": 14,
          "currency": "GBP"
        }
      }
    ]
  },
  "meta": {
    "endpoint_family": "fares_calendar"
  }
}
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 6 fields, read from a recorded call. The recording leaves out fields that were empty, so a live call can return more.

FieldType
originstring
destinationstring
date_fromstring
date_tostring
currencystring
daysobject[]