TOC Codes

From Open Rail Data Wiki
Jump to: navigation, search

This table lists the codes used to identify Train Operating Companies (TOCs) in the various data feeds available from Network Rail. Different feeds use different sets of codes to refer to the same company.

  • Company Name is the name of the Train Operating Company
  • Business Code is a two-character code used within the TRUST system. It is used in the names of the individual train movement feeds.
  • Sector Code is the sector code used to represent the TOC in TRUST messages.
  • ATOC Code is a two-character code used to representing the TOC in the SCHEDULE feed. Freight trains are represented by an ATOC code of ZZ.
Company Name Business Code Sector Code ATOC Code
Abellio Greater Anglia EB 21 LE
Arriva Trains Wales HL 71 AW
c2c HT 79 CC
Caledonian Sleeper ES 35 CS
Chiltern Railway HO 74 CH
CrossCountry EH 27 XC
Devon and Cornwall Railways PO 34 ZZ
East Midlands Trains EM 28 EM
East Coast HB 61 GR
Eurostar GA 06 ES
First Capital Connect (defunct) EG 26 FC
First Great Western EF 25 GW
First Hull Trains PF 55 HT
Scotrail HA 60 SR
Transpennine Express EA 20 TP
Gatwick Express HV 81 GX
GB Railfreight PE 54 ZZ
Grand Central EC 22 GC
Great North Western Railway LN LN
Govia Thameslink Railway (Great Northern) ET 88 GN
Govia Thameslink Railway (Thameslink) ET 88 TL
Heathrow Connect EE 24 HC
Heathrow Express HM 86 HX
Island Lines HZ 85 IL
London Midland EJ 29 LM
London Overground EK 30 LO
LUL Bakerloo Line XC 91 LT
LUL District Line – Wimbledon XB 90 LT
LUL District Line – Richmond XE 93 LT
Merseyrail HE 64 ME
Network Rail (On-Track Machines) LR 00* LR
Nexus (Tyne & Wear Metro) PG 56 TW
North Yorkshire Moors Railway PR 51 NY
Northern Rail ED 23 NT
South West Trains HY 84 SW
Southeastern HU 80 SE
Southern HW 82 SN
South Yorkshire Supertram SJ SJ
Swanage Railway SP SP
TfL Rail (will become Crossrail) EX 33 XR
Virgin Trains HF 65 VT
West Coast Railway Co. PA 50 WR

*Note: 00 is an obfuscated sector code used for several non-passenger operators, most of which are not listed above.


Network Rail Open Data Feeds
Data Feeds About the Feeds Account States Durable Subscriptions Example Code ( PHP / C# / Java / Ruby / Node.js) • Advanced UsesFAQ Release Notes
RTPPM RTPPM Feed
Train Movements Train Movements Feed Train Activation Train Cancellation Train Movement Train Reinstatement Change of Origin Change of Identity TSPEED Field Planned Cancellations Cancellation Codes
TD TD Feed C-Class Messages S-Class Messages Train Describers TD Berths
VSTP VSTP Feed
TSR TSR Feed Route Codes
SCHEDULE SCHEDULE Feed Schedule and Location Records Association Records CIF Codes How Scheduling Works Allowances
Reference Data Reference Data Feed TOC Codes CIF Codes Delay Attribution Codes Identifying Locations (STANOX, TIPLOC, NLC and 3-Alpha Codes) STANOX Geographical Areas Train Planning data
Personal tools