Difference between revisions of "TOC Codes"

From Open Rail Data Wiki
Jump to navigation Jump to search
m (Update Grand Union Trains)
m (Add SLC Operations business code)
Line 498: Line 498:
 
|-
 
|-
 
|[https://www.slcoperations.com/ SLC Operations]
 
|[https://www.slcoperations.com/ SLC Operations]
|
+
|SO
 
|11<ref>Shared with Freightliner Heavy Haul</ref>
 
|11<ref>Shared with Freightliner Heavy Haul</ref>
 
|SO
 
|SO

Revision as of 20:20, 1 January 2021

This page 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. Network Rail also have a set of business codes for each of their geographical areas of responsibility, listed at the bottom.

Non-Network Rail

  • Company Name is the name of the 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. Non-passenger operators are represented by an ATOC code of ZZ and are subject to obfuscation in the SCHEDULE feed (with the exception of GB Railfreight services).
  • Whitelisted means that the sector code is 'whitelisted' and TRUST messages are published for these operators without obfuscation. Sector codes which are not whitelisted will be obfuscated and TRUST messages are published for these operators with sector code 00.

Network Rail

Company Name Business Code Sector Code ATOC Code Whitelisted
Virtual European Paths EU ? EU ?
Alliance Rail ZB 14 AR N
Northern Trains ED 23 NT Y
Transport for Wales HL 71 AW Y
c2c HT 79 CC Y
Caledonian Sleeper ES 35 CS Y
Chiltern Railways HO 74 CH Y
CrossCountry EH 27 XC Y
DC Rail PO 34 ZZ Y
East Midlands Railway EM 28 EM Y
Eurostar GA 06 ES Y
Unmapped (was First Capital Connect) EG 26 FC Y
Hull Trains PF 55 HT Y
Unmapped (was Gatwick Express) HV 81 GX Y
GB Railfreight PE 54 ZZ Y
Govia Thameslink Railway (Great Northern) ET 88 GN Y
Govia Thameslink Railway (Thameslink) ET 88 TL Y
Grand Central EC 22 GC Y
Grand Central (North West) LN 14 GC Y
Great Western Railway EF 25 GW Y
Greater Anglia EB 21 LE Y
Heathrow Connect EE 24 HC Y
Heathrow Express HM 86 HX Y
Island Lines HZ 85 IL Y
Locomotive Services LS 89 LS N
West Midlands Trains EJ 29 LM Y
London Overground EK 30 LO Y
LUL Bakerloo Line XC 91 LT Y
LUL District Line - Richmond XE 93 LT Y
LUL District Line - Wimbledon XB 90 LT Y
Merseyrail HE 64 ME Y
Network Rail (On-Track Machines) LR 15 LR N
Nexus (Tyne & Wear Metro) PG 56 TW Y
North Yorkshire Moors Railway PR 51 NY Y
ScotRail HA 60 SR Y
South Western Railway HY 84 SW Y
South Yorkshire Supertram SJ 19 SJ Y
Southeastern HU 80 SE Y
Southern HW 88 SN Y
Swanage Railway SP 18 SP N
TfL Rail EX 33 XR Y
TransPennine Express EA 20 TP Y
Avanti West Coast HF 65 VT Y
London North Eastern Railway HB 61 GR Y
West Coast Railways PA 50 WR Y
JSD Rail Research & Development RR 02 ZZ N
Victa Westlink Rail (defunct) PV 03 ZZ N
DB Cargo Charters FM 04 ZZ N
DB Cargo Freight WA 05 ZZ N
Rail Operations Group PH 07 ZZ N
DB Cargo International DA 08 ZZ N
Freightliner Intermodal DB 09 ZZ N
Serco Rail Operations SD 10 ZZ N
Freightliner Heavy Haul DH 11 ZZ N
Freight Europe (defunct) PN 12 ZZ N
Europorte Channel PT 13 ZZ N
LORAM LC 16 ZZ N
East Coast Trains LD
Network Rail (Internal use only) QA 17 ZZ N
Network Rail Virtual Freight Company QJ 31 ZZ N
Wrexham and Shropshire (defunct) EI 32 WS Y
Vintage Trains TY 36 TY N
Seco Rail (defunct) RU 37 ZZ N
Carillion Rail CTRL (Phase 1) (defunct) RQ 38 ZZ N
Harsco RT 39 ZZ N
Balfour Beatty Rail RZ 40 ZZ N
Unmapped 41 N
Colas Rail RG 42 ZZ N
Amey Fleet Services RE 43 ZZ N
Carillion Rail RB 44 ZZ N
Unmapped 45 N
SB (Swietelsky Babcock) Rail RD 46 ZZ N
Unmapped 47 N
Unmapped 48 N
VolkerRail RH 49 ZZ N
Pre Metro Operations PK 52 ZZ N
SNCF Freight Services PS 53 ZZ N
Unmapped 57 N
Unmapped (was Advenza Freight) PI 58 ZZ N
On Route Logistics PM 59 ZZ N
SLC Operations SO 11[1] SO N
Unmapped 62 N
Unmapped 63 N
Unmapped 66 N
Unmapped 67 N
Unmapped 68 N
Unmapped 69 N
Unmapped 70 N
Grand Union Trains LF 12 LF ?
Legge Infrastructure Services LG 72 ZZ N
Grand Central (North West) LN
Unmapped 73 N
Unmapped 75 N
Unmapped 76 N
Unmapped 77 N
Unmapped 78 N
Unmapped (was Southern) HW 82 SN Y
Unmapped 83 N
Unmapped 87 N
Network Rail Reserved Pathings (non-QJ) NR 92 ZZ N
Ffestiniog Railway XJ 94 Y
Unmapped 95 N
Unmapped 96 N
Direct Rail Services XH 97 ZZ N
Internal Testing RM 98 ZZ N
Unmapped 99 N
Unmapped (was Anglia Railways) HS
Unmapped (was Silverlink Train Services) HP
Unmapped (was Central Trains) HG
Unmapped (was WAGN) HQ
Unmapped (was First Great Eastern) HR
Network Rail Route Business Code
HQ Functions QA
Sussex QB
Wessex QC
Western QD
Central QE
North West QF
North East QG
Anglia QH
East Coast QI
Eastern QJ
Southern QK
Scotland QL
Kent QM
WCML South QN
High Speed 1 QQ
North West & Central QR
Scotland QS
Wales & Western QU
East Midlands QV
Wales QW


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 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
  1. Shared with Freightliner Heavy Haul