Trainline: Cards
Cards from Trainline as JSON. 1 credit per successful call.
GET /v1/trainline/cards
Parameters
This endpoint takes no parameters.
Example request
Trainline
GET/v1/trainline/cards
{
"success": true,
"data": {
"card_count": 42,
"cards": [
{
"code": "urn:trainline:atoc:card:TSU",
"name": "16-17 Saver",
"description": "16-17 Saver",
"language": "en",
"carriers": [
"atoc"
],
"requires_number": false,
"has_expiration_date": false,
"is_loyalty_card": false,
"business_only": false
},
{
"code": "urn:trainline:atoc:card:YNG",
"name": "16-25 Railcard",
"description": "16-25 Railcard",
"language": "en",
"carriers": [
"atoc"
],
"requires_number": false,
"has_expiration_date": false,
"is_loyalty_card": false,
"business_only": false
},
{
"code": "urn:trainline:atoc:card:W18",
"name": "18 Saver - Transport for Wales",
"description": "18 Saver - Transport for Wales",
"language": "en",
"carriers": [
"atoc"
],
"requires_number": false,
"has_expiration_date": false,
"is_loyalty_card": false,
"business_only": false
}
]
},
"meta": {
"endpoint_family": "cards"
}
}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 9 fields, read from a recorded call that returned 42 items. The recording leaves out fields that were empty, so a live call can return more.
| Field | Type |
|---|---|
code | string |
name | string |
description | string |
language | string |
carriers | string[] |
requires_number | boolean |
has_expiration_date | boolean |
is_loyalty_card | boolean |
business_only | boolean |