TOC Codes

From Open Rail Data Wiki
Revision as of 14:31, 12 December 2018 by PeterHicks (talk | contribs) (Update Alliance Rail name to Balfour Beatty)
Jump to navigation Jump to 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
Balfour Beatty Rail Ltd. ZB AR
Arriva Trains Northern ED 23 NT
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
Eurostar GA 06 ES
First Capital Connect (defunct) EG 26 FC
First Hull Trains PF 55 HT
Gatwick Express HV 81 GX
GB Railfreight PE 54 ZZ
Govia Thameslink Railway (Great Northern) ET 88 GN
Govia Thameslink Railway (Thameslink) ET 88 TL
Grand Central EC 22 GC
Great North Western Railway LN LN
Great Western Railway EF 25 GW
Greater Anglia EB 21 LE
Heathrow Connect EE 24 HC
Heathrow Express HM 86 HX
Island Lines HZ 85 IL
Locomotive Services LS LS
London Midland EJ 29 LM
London Overground EK 30 LO
LUL Bakerloo Line XC 91 LT
LUL District Line – Richmond XE 93 LT
LUL District Line – Wimbledon XB 90 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
ScotRail HA 60 SR
South Western Railway HY 84 SW
South Yorkshire Supertram SJ SJ
Southeastern HU 80 SE
Southern HW 88 SN
Swanage Railway SP SP
TfL Rail EX 33 XR
TransPennine Express EA 20 TP
Virgin Trains HF 65 VT
Virgin Trains East Coast HB 61 GR
West Coast Railway Co. PA 50 WR

*Note: 00 is an obfuscated sector code used for several anonymous 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
Train Movements Train Movements Feed Train Activation Train Cancellation Train Movement Train Reinstatement Change of Origin Change of Identity Change of Location TSPEED Field Planned Cancellations Cancellation Codes
TD TD Feed C-Class Messages S-Class Messages Train Describers TD Berths
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