/
TH
thetrainline
/
Trainline Desktop API
Search skmtc…
⌘K
Docs
Sign in
Sign in
APIs
Generators
Stacks
Projects
Docs
History
Schema
Sources
Checked 1h ago · Updated 1w ago
View markdown
thetrainline
Trainline Desktop API
get
/locations
latest
Swagger 2.0
2026-08-12
101
0
1.5 MB
45a894ec56f4
Addresses
2
AppSettings
2
Auth
5
Basket
11
Best Fares
1
Calling Points
1
CE
1
Coaches
2
Confirmation
1
Customer
3
Customer status
2
DiscountCards
2
DPI
2
GTM
1
Insurance
2
Journey Search
5
Locations
1
get
/locations
Passenger Delete
1
Passengers
2
Payment
20
Product
16
Railcard Delete
1
Reactivate smart card
1
RebookPredictions
1
Register smart card
1
Search
1
SearchCustomer
1
Sessions
1
Sessions Data
2
Smart Collectin Location
1
Train Times Fares
1
Travel Card
2
Travel document Delete
1
Travel Service Information
1
post
/discount-card-product/set-vendor-marketing-preference
post
/set-cookies
put
/promo-code
Locations
get
/locations
Response
OK
object[]
required
id
string
required
code
string
locationType
string
name
string
required
nonDiacriticName
string
timezone
string
language
string
nullable
shortName
string
nullable
aliases
union
longitude
number
nullable
latitude
number
nullable
address
union
countryCode
string
nullable
connections
string[]
{"stackTrail":"paths:/locations:get:responses:200:content:application/json:schema:items:properties:parents","oasType":"schema","type":"unknown"}