APIs / Trainline / Cards Discounts

Trainline: Cards Discounts

Cards Discounts from Trainline as JSON. 1 credit per successful call.

GET /v1/trainline/cards-discounts

Parameters

This endpoint takes no parameters.

Example request

Trainline
GET/v1/trainline/cards-discounts
{
  "success": true,
  "data": {
    "card_count": 222,
    "cards": [
      {
        "code": "urn:trainline:atoc:card:TSU",
        "name": "16-17 Saver",
        "description": "16-17 Saver",
        "short_name": "16-17 Saver",
        "group": "atoc",
        "language": "en",
        "carriers": [
          "atoc"
        ],
        "requires_number": false,
        "has_expiration_date": false,
        "is_loyalty_card": false,
        "business_only": false,
        "colour": "#feeb19"
      },
      {
        "code": "urn:trainline:atoc:card:YNG",
        "name": "16-25 Railcard",
        "description": "16-25 Railcard",
        "short_name": "16-25",
        "group": "atoc",
        "language": "en",
        "carriers": [
          "atoc"
        ],
        "requires_number": false,
        "has_expiration_date": false,
        "is_loyalty_card": false,
        "business_only": false,
        "colour": "#ed5e00"
      },
      {
        "code": "urn:trainline:atoc:card:W18",
        "name": "18 Saver - Transport for Wales",
        "description": "18 Saver - Transport for Wales",
        "short_name": "",
        "language": "en",
        "carriers": [
          "atoc"
        ],
        "requires_number": false,
        "has_expiration_date": false,
        "is_loyalty_card": false,
        "business_only": false,
        "colour": "#3D596A"
      }
    ]
  },
  "meta": {
    "endpoint_family": "cards_discounts"
  }
}
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.cards has these 12 fields, read from a recorded call that returned 222 items. The recording leaves out fields that were empty, so a live call can return more.

FieldType
codestring
namestring
descriptionstring
short_namestring
groupstring
languagestring
carriersstring[]
requires_numberboolean
has_expiration_dateboolean
is_loyalty_cardboolean
business_onlyboolean
colourstring