APIs / Trainline / Fares Calendar Times

Trainline: Fares Calendar Times

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

GET /v1/trainline/fares-calendar-times

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-times?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",
        "cheapest_price": {
          "amount": 24.5,
          "currency": "GBP"
        },
        "departures": [
          "2026-12-12T06:43:00Z",
          "2026-12-12T07:46:00Z",
          "2026-12-12T08:46:00Z"
        ]
      },
      {
        "date": "2026-12-13",
        "cheapest_price": {
          "amount": 22.4,
          "currency": "GBP"
        },
        "departures": [
          "2026-12-13T09:56:00Z"
        ]
      },
      {
        "date": "2026-12-14",
        "cheapest_price": {
          "amount": 14,
          "currency": "GBP"
        },
        "departures": [
          "2026-12-14T06:43:00Z",
          "2026-12-14T07:45:00Z"
        ]
      }
    ]
  },
  "meta": {
    "endpoint_family": "fares_calendar_times"
  }
}
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[]