TOC Codes: Difference between revisions

From Open Rail Data Wiki
Jpl (talk | contribs)
m Update XR, NT, GW and GR
Update company names
Line 13: Line 13:
!ATOC Code
!ATOC Code
|-
|-
|Abellio Greater Anglia
|Greater Anglia
|EB
|EB
|21
|21
Line 213: Line 213:
|SP
|SP
|-
|-
|Crossrail
|TfL Rail
|EX
|EX
|33
|33

Revision as of 20:03, 28 October 2017

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
Greater Anglia EB 21 LE
Alliance Rail 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
Great Western Railway 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
Locomotive Services LS LS
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
South Western Railway HY 84 SW
Southeastern HU 80 SE
Southern HW 88 SN
South Yorkshire Supertram SJ SJ
Swanage Railway SP SP
TfL Rail EX 33 XR
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
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)