TOC Codes

From Open Rail Data Wiki
Revision as of 19:50, 9 February 2015 by PeterHicks (talk | contribs) (Add Crossrail and Caledonian Sleeper codes)

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 Numeric Code ATOC Code
Abellio Greater Anglia EB 21 LE
Arriva Trains Wales HL 71 AW
c2c HT 79 CC
Caledonian Sleeper unknown 60 CS
Chiltern Railway HO 74 CH
CrossCountry EH 27 XC
Crossrail unknown 33 XR
Devon and Cornwall Railway EN 34 DC
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
First Scotrail HA 60 SR
First Transpennine Express EA 20 TP
Gatwick Express HV 81 GX
Grand Central EC 22 GC
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
Nexus (Tyne & Wear Metro) PG 56 TW
North Yorkshire Moors Railway PR 51 NY
Northern Rail ED 23 NT
Serco Caledonian Sleeper CS
South West Trains HY 84 SW
Southeastern HU 80 SE
Southern HW 82 SN
Virgin Trains HF 65 VT
West Coast Railway Co. PA 50 WR


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 Change of Location 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 TIPLOC Records 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 (BPLAN)