Difference between revisions of "TOC Codes"

From Open Rail Data Wiki
Jump to navigation Jump to search
m (Sort table)
m (Fix Lumo link)
(35 intermediate revisions by 3 users not shown)
Line 1: Line 1:
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.
+
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.
  
* ''Company Name'' is the name of the Train Operating Company
+
== History ==
* ''Business Code'' is a two-character code used within the TRUST system.  It is used in the names of the individual [[Train_Movements | train movement feeds]].
+
 
 +
Business codes are used for a variety of purposes, and are comprised of two alphabetic characters.  Historically, the first letter was assigned as follows:
 +
 
 +
{| class="wikitable sortable"
 +
|-
 +
! Code
 +
! Description
 +
|-
 +
| C
 +
| Central Services
 +
|-
 +
| D
 +
| Railfreight Distribution
 +
|-
 +
| E
 +
| Train Operating Companies
 +
|-
 +
| G
 +
| British Rail International
 +
|-
 +
| H
 +
| Train Operating Companies
 +
|-
 +
| J
 +
| Other Businesses
 +
|-
 +
| K
 +
| [https://www.gracesguide.co.uk/BREL BREL] and Level 5 Depots
 +
|-
 +
| L
 +
| Train Operating Companies
 +
|-
 +
| P
 +
| Train Operating Companies
 +
|-
 +
| Q
 +
| British Rail Headquarters
 +
|-
 +
| R
 +
| British Rail Infrastructure Services
 +
|-
 +
| T
 +
| [https://www.nationalrail.co.uk/contact/feedback/46617.aspx NRCC]
 +
|-
 +
| U
 +
| Ex-British Rail (now privatised)
 +
|-
 +
| V
 +
| Ex-British Rail (now privatised)
 +
|-
 +
| W
 +
| DB Cargo UK
 +
|-
 +
| X
 +
| Private owners
 +
|-
 +
| Y
 +
| Private owners
 +
|-
 +
| Z
 +
| Other businesses
 +
|}
 +
 
 +
== 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_Movements | train movement feeds]].<ref>Strictly speaking, the first letter is the business code and the second letter is the profit centre</ref>.
 
* ''Sector Code'' is the sector code used to represent the TOC in [[Train_Movements | TRUST messages]].   
 
* ''Sector Code'' is the sector code used to represent the TOC in [[Train_Movements | 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''.
+
* ''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''.
  
 
{| class="wikitable sortable"
 
{| class="wikitable sortable"
Line 12: Line 79:
 
!Sector Code
 
!Sector Code
 
!ATOC Code
 
!ATOC Code
 +
!Whitelisted
 
|-
 
|-
|Alliance Rail
+
|Virtual European Paths
 +
|EU
 +
|?
 +
|EU
 +
|?
 +
|-
 +
|[https://en.wikipedia.org/wiki/Alliance_Rail_Holdings Alliance Rail]
 
|ZB
 
|ZB
|
+
|14
 
|AR
 
|AR
 +
|N
 
|-
 
|-
|Arriva Trains Northern
+
|[https://en.wikipedia.org/wiki/Northern_Trains Northern Trains]
 
|ED
 
|ED
 
|23
 
|23
 
|NT
 
|NT
 +
|Y
 
|-
 
|-
|Arriva Trains Wales
+
|[https://en.wikipedia.org/wiki/Transport_for_Wales Transport for Wales]
 
|HL
 
|HL
 
|71
 
|71
 
|AW
 
|AW
 +
|Y
 
|-
 
|-
|c2c
+
|[https://en.wikipedia.org/wiki/C2c c2c]
 
|HT
 
|HT
 
|79
 
|79
 
|CC
 
|CC
 +
|Y
 
|-
 
|-
|Caledonian Sleeper
+
|[https://en.wikipedia.org/wiki/Caledonian_Sleeper Caledonian Sleeper]
 
|ES
 
|ES
 
|35
 
|35
 
|CS
 
|CS
 +
|Y
 
|-
 
|-
|Chiltern Railway
+
|[https://en.wikipedia.org/wiki/Chiltern_Railways Chiltern Railways]
 
|HO
 
|HO
 
|74
 
|74
 
|CH
 
|CH
 +
|Y
 
|-
 
|-
|CrossCountry
+
|[https://en.wikipedia.org/wiki/CrossCountry CrossCountry]
 
|EH
 
|EH
 
|27
 
|27
 
|XC
 
|XC
 +
|Y
 
|-
 
|-
|Devon and Cornwall Railways
+
|[https://www.dcrail.com/ DC Rail]
 
|PO
 
|PO
 
|34
 
|34
 
|ZZ
 
|ZZ
 +
|Y
 
|-
 
|-
|East Midlands Trains
+
|[https://en.wikipedia.org/wiki/East_Midlands_Railway East Midlands Railway]
 
|EM
 
|EM
 
|28
 
|28
 
|EM
 
|EM
 +
|Y
 
|-
 
|-
|Eurostar
+
|[https://en.wikipedia.org/wiki/Eurostar Eurostar]
 
|GA
 
|GA
 
|06
 
|06
 
|ES
 
|ES
 +
|Y
 
|-
 
|-
|First Capital Connect (defunct)
+
|Unmapped (was [https://en.wikipedia.org/wiki/First_Capital_Connect First Capital Connect])
 
|EG
 
|EG
 
|26
 
|26
 
|FC
 
|FC
 +
|Y
 
|-
 
|-
|First Hull Trains
+
|[https://en.wikipedia.org/wiki/Hull_Trains Hull Trains]
 
|PF
 
|PF
 
|55
 
|55
 
|HT
 
|HT
 +
|Y
 
|-
 
|-
|Gatwick Express
+
|Unmapped (was [https://en.wikipedia.org/wiki/Gatwick_Express Gatwick Express])
 
|HV
 
|HV
 
|81
 
|81
 
|GX
 
|GX
 +
|Y
 
|-
 
|-
|GB Railfreight
+
|[https://en.wikipedia.org/wiki/GB_Railfreight GB Railfreight]
 
|PE
 
|PE
 
|54
 
|54
 
|ZZ
 
|ZZ
 +
|Y
 
|-
 
|-
 
|Govia Thameslink Railway (Great Northern)
 
|Govia Thameslink Railway (Great Northern)
Line 87: Line 175:
 
|88
 
|88
 
|GN
 
|GN
 +
|Y
 
|-
 
|-
|Govia Thameslink Railway (Thameslink)
+
|[https://en.wikipedia.org/wiki/Govia_Thameslink_Railway Govia Thameslink Railway (Thameslink)]
 
|ET
 
|ET
 
|88
 
|88
 
|TL
 
|TL
 +
|Y
 
|-
 
|-
|Grand Central
+
|[https://en.wikipedia.org/wiki/Grand_Central_(train_operating_company) Grand Central]
 
|EC
 
|EC
 
|22
 
|22
 
|GC
 
|GC
 +
|Y
 
|-
 
|-
|Great North Western Railway
+
|Grand Central (North West)
|LN
 
|
 
 
|LN
 
|LN
 +
|14
 +
|GC<ref>Also listed as LF</ref>
 +
|Y
 
|-
 
|-
|Great Western Railway
+
|[https://en.wikipedia.org/wiki/Great_Western_Railway_(train_operating_company) Great Western Railway]
 
|EF
 
|EF
 
|25
 
|25
 
|GW
 
|GW
 +
|Y
 
|-
 
|-
|Greater Anglia
+
|[https://en.wikipedia.org/wiki/Greater_Anglia_(train_operating_company) Greater Anglia]
 
|EB
 
|EB
 
|21
 
|21
 
|LE
 
|LE
 +
|Y
 
|-
 
|-
|Heathrow Connect
+
|[https://en.wikipedia.org/wiki/Heathrow_Connect Heathrow Connect]
 
|EE
 
|EE
 
|24
 
|24
 
|HC
 
|HC
 +
|Y
 
|-
 
|-
|Heathrow Express
+
|[https://en.wikipedia.org/wiki/Heathrow_Express Heathrow Express]
 
|HM
 
|HM
 
|86
 
|86
 
|HX
 
|HX
 +
|Y
 
|-
 
|-
|Island Lines
+
|[https://en.wikipedia.org/wiki/Island_Line_(brand) Island Lines]
 
|HZ
 
|HZ
 
|85
 
|85
 
|IL
 
|IL
 +
|Y
 
|-
 
|-
|Locomotive Services
+
|[https://en.wikipedia.org/wiki/Locomotive_Services_Limited Locomotive Services]
 
|LS
 
|LS
|
+
|89
 
|LS
 
|LS
 +
|N
 
|-
 
|-
|London Midland
+
|[https://en.wikipedia.org/wiki/West_Midlands_Trains West Midlands Trains]
 
|EJ
 
|EJ
 
|29
 
|29
 
|LM
 
|LM
 +
|Y
 
|-
 
|-
|London Overground
+
|[https://en.wikipedia.org/wiki/London_Overground London Overground]
 
|EK
 
|EK
 
|30
 
|30
 
|LO
 
|LO
 +
|Y
 
|-
 
|-
|LUL Bakerloo Line
+
|[https://en.wikipedia.org/wiki/Bakerloo_line LUL Bakerloo Line]
 
|XC
 
|XC
 
|91
 
|91
 
|LT
 
|LT
 +
|Y
 
|-
 
|-
|LUL District Line Richmond
+
|[https://en.wikipedia.org/wiki/District_line LUL District Line - Richmond]
 
|XE
 
|XE
 
|93
 
|93
 
|LT
 
|LT
 +
|Y
 
|-
 
|-
|LUL District Line Wimbledon
+
|[https://en.wikipedia.org/wiki/District_line LUL District Line - Wimbledon]
 
|XB
 
|XB
 
|90
 
|90
 
|LT
 
|LT
 +
|Y
 
|-
 
|-
|Merseyrail
+
|[https://en.wikipedia.org/wiki/Merseyrail Merseyrail]
 
|HE
 
|HE
 
|64
 
|64
 
|ME
 
|ME
 +
|Y
 
|-
 
|-
 
|Network Rail (On-Track Machines)
 
|Network Rail (On-Track Machines)
 
|LR
 
|LR
|00*
+
|15
 
|LR
 
|LR
 +
|N
 
|-
 
|-
|Nexus (Tyne & Wear Metro)
+
|[https://en.wikipedia.org/wiki/Tyne_and_Wear_Metro Nexus (Tyne & Wear Metro)]
 
|PG
 
|PG
 
|56
 
|56
 
|TW
 
|TW
 +
|Y
 
|-
 
|-
|North Yorkshire Moors Railway
+
|[https://en.wikipedia.org/wiki/North_Yorkshire_Moors_Railway North Yorkshire Moors Railway]
 
|PR
 
|PR
 
|51
 
|51
 
|NY
 
|NY
 +
|Y
 
|-
 
|-
|ScotRail
+
|[https://en.wikipedia.org/wiki/Abellio_ScotRail ScotRail]
 
|HA
 
|HA
 
|60
 
|60
 
|SR
 
|SR
 +
|Y
 
|-
 
|-
|South Western Railway
+
|[https://en.wikipedia.org/wiki/South_Western_Railway_(train_operating_company) South Western Railway]
 
|HY
 
|HY
 
|84
 
|84
 
|SW
 
|SW
 +
|Y
 
|-
 
|-
|South Yorkshire Supertram
+
|[https://en.wikipedia.org/wiki/Sheffield_Supertram South Yorkshire Supertram]
 
|SJ
 
|SJ
|
+
|19
 
|SJ
 
|SJ
 +
|Y
 
|-
 
|-
|Southeastern
+
|[https://en.wikipedia.org/wiki/Southeastern_(train_operating_company) Southeastern]
 
|HU
 
|HU
 
|80
 
|80
 
|SE
 
|SE
 +
|Y
 
|-
 
|-
|Southern
+
|[https://en.wikipedia.org/wiki/Southern_(Govia_Thameslink_Railway) Southern]
 
|HW
 
|HW
 
|88
 
|88
 
|SN
 
|SN
 +
|Y
 
|-
 
|-
|Swanage Railway
+
|[https://en.wikipedia.org/wiki/Swanage_Railway Swanage Railway]
 
|SP
 
|SP
|
+
|18
 
|SP
 
|SP
 +
|N
 
|-
 
|-
|TfL Rail
+
|[https://en.wikipedia.org/wiki/TfL_Rail TfL Rail]
 
|EX
 
|EX
 
|33
 
|33
 
|XR
 
|XR
 +
|Y
 
|-
 
|-
|TransPennine Express
+
|[https://en.wikipedia.org/wiki/TransPennine_Express TransPennine Express]
 
|EA
 
|EA
 
|20
 
|20
 
|TP
 
|TP
 +
|Y
 
|-
 
|-
|Virgin Trains
+
|[https://en.wikipedia.org/wiki/Avanti_West_Coast Avanti West Coast]
 
|HF
 
|HF
 
|65
 
|65
 
|VT
 
|VT
 +
|Y
 
|-
 
|-
|Virgin Trains East Coast
+
|[https://en.wikipedia.org/wiki/London_North_Eastern_Railway London North Eastern Railway]
 
|HB
 
|HB
 
|61
 
|61
 
|GR
 
|GR
 +
|Y
 
|-
 
|-
|West Coast Railway Co.
+
|[https://en.wikipedia.org/wiki/West_Coast_Railways West Coast Railways]
 
|PA
 
|PA
 
|50
 
|50
 
|WR
 
|WR
 +
|Y
 +
|-
 +
|[http://www.jsdrail.com/ JSD Rail Research & Development]
 +
|RR
 +
|02
 +
|ZZ
 +
|N
 +
|-
 +
|[https://en.wikipedia.org/wiki/Victa_Westlink_Rail Victa Westlink Rail (defunct)]
 +
|PV
 +
|03
 +
|ZZ
 +
|N
 +
|-
 +
|[https://en.wikipedia.org/wiki/DB_Cargo_UK DB Cargo Charters]
 +
|FM
 +
|04
 +
|ZZ
 +
|N
 +
|-
 +
|[https://en.wikipedia.org/wiki/DB_Cargo_UK DB Cargo Freight]
 +
|WA
 +
|05
 +
|ZZ
 +
|N
 +
|-
 +
|[https://en.wikipedia.org/wiki/Rail_Operations_Group Rail Operations Group]
 +
|PH
 +
|07
 +
|ZZ
 +
|N
 +
|-
 +
|[https://en.wikipedia.org/wiki/DB_Cargo DB Cargo International]
 +
|DA
 +
|08
 +
|ZZ
 +
|N
 +
|-
 +
|[https://en.wikipedia.org/wiki/Freightliner_Group Freightliner Intermodal]
 +
|DB
 +
|09
 +
|ZZ
 +
|N
 +
|-
 +
|[https://www.serco.com/media-and-news/2014/serco-uk-rail-operations Serco Rail Operations]
 +
|SD
 +
|10
 +
|ZZ
 +
|N
 +
|-
 +
|[https://en.wikipedia.org/wiki/Freightliner_Group#United_Kingdom Freightliner Heavy Haul]
 +
|DH
 +
|11
 +
|ZZ
 +
|N
 +
|-
 +
|Freight Europe (defunct)
 +
|PN
 +
|12
 +
|ZZ
 +
|N
 +
|-
 +
|[https://en.wikipedia.org/wiki/Europorte_Channel Europorte Channel]
 +
|PT
 +
|13
 +
|ZZ
 +
|N
 +
|-
 +
|[https://en.wikipedia.org/wiki/Loram_Maintenance_of_Way LORAM]
 +
|LC
 +
|16
 +
|ZZ
 +
|N
 +
|-
 +
|Hanson & Hall Rail Services
 +
|YG
 +
|17
 +
|ZZ
 +
|N
 +
|-
 +
|Network Rail Virtual Freight Company
 +
|QJ
 +
|31
 +
|ZZ
 +
|N
 +
|-
 +
|[https://en.wikipedia.org/wiki/Wrexham_%26_Shropshire Wrexham and Shropshire] (defunct)
 +
|EI
 +
|32
 +
|WS
 +
|Y
 +
|-
 +
|[https://en.wikipedia.org/wiki/Vintage_Trains Vintage Trains]
 +
|TY
 +
|36
 +
|TY
 +
|N
 +
|-
 +
|Seco Rail (defunct)
 +
|RU
 +
|37
 +
|ZZ
 +
|N
 +
|-
 +
|Carillion Rail CTRL (Phase 1) (defunct)
 +
|RQ
 +
|38
 +
|ZZ
 +
|N
 +
|-
 +
|[https://en.wikipedia.org/wiki/Harsco Harsco]
 +
|RT
 +
|39
 +
|ZZ
 +
|N
 +
|-
 +
|[https://en.wikipedia.org/wiki/Balfour_Beatty Balfour Beatty Rail]
 +
|RZ
 +
|40
 +
|ZZ
 +
|N
 +
|-
 +
|Unmapped
 +
|
 +
|41
 +
|
 +
|N
 +
|-
 +
|[https://en.wikipedia.org/wiki/Colas_Rail Colas Rail]
 +
|RG
 +
|42
 +
|ZZ
 +
|N
 +
|-
 +
|Amey Fleet Services
 +
|RE
 +
|43
 +
|ZZ
 +
|N
 +
|-
 +
|Carillion Rail
 +
|RB
 +
|44
 +
|ZZ
 +
|N
 +
|-
 +
|[https://www.lumo.co.uk/ Lumo]
 +
|LD
 +
|45
 +
|LD
 +
|N
 +
|-
 +
|[https://www.sbrail.com/ SB (Swietelsky Babcock) Rail]
 +
|RD
 +
|46
 +
|ZZ
 +
|N
 +
|-
 +
|Unmapped
 +
|
 +
|47
 +
|
 +
|N
 +
|-
 +
|Unmapped
 +
|
 +
|48
 +
|
 +
|N
 +
|-
 +
|[https://en.wikipedia.org/wiki/VolkerRail VolkerRail]
 +
|RH
 +
|49
 +
|ZZ
 +
|N
 +
|-
 +
|[https://en.wikipedia.org/wiki/Pre_Metro_Operations Pre Metro Operations]
 +
|PK
 +
|52
 +
|ZZ
 +
|N
 +
|-
 +
|[https://en.wikipedia.org/wiki/SNCF SNCF Freight Services]
 +
|PS
 +
|53
 +
|ZZ
 +
|N
 +
|-
 +
|Unmapped
 +
|
 +
|57
 +
|
 +
|N
 +
|-
 +
|Unmapped (was [https://en.wikipedia.org/wiki/Advenza_Freight Advenza Freight])
 +
|PI
 +
|58
 +
|ZZ
 +
|N
 +
|-
 +
|On Route Logistics
 +
|PM
 +
|59
 +
|ZZ
 +
|N
 +
|-
 +
|[https://www.slcoperations.com/ SLC Operations]
 +
|SO
 +
|11<ref>Shared with Freightliner Heavy Haul</ref>
 +
|SO
 +
|N
 +
|-
 +
|Unmapped
 +
|
 +
|62
 +
|
 +
|N
 +
|-
 +
|Unmapped
 +
|
 +
|63
 +
|
 +
|N
 +
|-
 +
|Unmapped
 +
|
 +
|66
 +
|
 +
|N
 +
|-
 +
|Unmapped
 +
|
 +
|67
 +
|
 +
|N
 +
|-
 +
|Unmapped
 +
|
 +
|68
 +
|
 +
|N
 +
|-
 +
|Unmapped
 +
|
 +
|69
 +
|
 +
|N
 +
|-
 +
|Unmapped
 +
|
 +
|70
 +
|
 +
|N
 +
|-
 +
|[http://www.granduniontrains.co.uk/ Grand Union Trains]
 +
|LF
 +
|12
 +
|LF
 +
|?
 +
|-
 +
|[https://www.liservices.co.uk/ 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 [https://en.wikipedia.org/wiki/Southern_(Govia_Thameslink_Railway) Southern])
 +
|HW
 +
|82
 +
|SN
 +
|Y
 +
|-
 +
|Unmapped
 +
|
 +
|83
 +
|
 +
|N
 +
|-
 +
|Unmapped
 +
|
 +
|87
 +
|
 +
|N
 +
|-
 +
|Network Rail Reserved Pathings (non-QJ)
 +
|NR
 +
|92
 +
|ZZ
 +
|N
 +
|-
 +
|[https://en.wikipedia.org/wiki/Ffestiniog_Railway Ffestiniog Railway]
 +
|XJ
 +
|94
 +
|
 +
|Y
 +
|-
 +
|[https://varamis.co.uk/ Varamis Rail]
 +
|MV
 +
|95
 +
|
 +
|N
 +
|-
 +
|Unmapped
 +
|
 +
|96
 +
|
 +
|N
 +
|-
 +
|[https://en.wikipedia.org/wiki/Direct_Rail_Services Direct Rail Services]
 +
|XH
 +
|97
 +
|ZZ
 +
|N
 +
|-
 +
|Internal Testing
 +
|RM
 +
|98
 +
|ZZ
 +
|N
 +
|-
 +
|Unmapped
 +
|
 +
|99
 +
|
 +
|N
 +
|-
 +
|Unmapped (was [https://en.wikipedia.org/wiki/Anglia_Railways Anglia Railways])
 +
|HS
 +
|
 +
|
 +
|
 +
|-
 +
|Unmapped (was [https://en.wikipedia.org/wiki/Silverlink Silverlink Train Services])
 +
|HP
 +
|
 +
|
 +
|
 +
|-
 +
|Unmapped (was [https://en.wikipedia.org/wiki/Central_Trains Central Trains])
 +
|HG
 +
|
 +
|
 +
|
 +
|-
 +
|Unmapped (was [https://en.wikipedia.org/wiki/West_Anglia_Great_Northern WAGN])
 +
|HQ
 +
|
 +
|
 +
|
 +
|-
 +
|Unmapped (was [https://en.wikipedia.org/wiki/First_Great_Eastern First Great Eastern])
 +
|HR
 +
|
 +
|
 +
|
 +
|-}
 +
 +
== Network Rail ==
 +
 +
{| class="wikitable sortable"
 +
|-
 +
!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
 
|}
 
|}
 
'''*Note:''' ''00'' is an obfuscated sector code used for several anonymous non-passenger operators, most of which are not listed above.
 
  
 
{{Navtable-DataFeeds}}
 
{{Navtable-DataFeeds}}

Revision as of 16:17, 7 September 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.

History

Business codes are used for a variety of purposes, and are comprised of two alphabetic characters. Historically, the first letter was assigned as follows:

Code Description
C Central Services
D Railfreight Distribution
E Train Operating Companies
G British Rail International
H Train Operating Companies
J Other Businesses
K BREL and Level 5 Depots
L Train Operating Companies
P Train Operating Companies
Q British Rail Headquarters
R British Rail Infrastructure Services
T NRCC
U Ex-British Rail (now privatised)
V Ex-British Rail (now privatised)
W DB Cargo UK
X Private owners
Y Private owners
Z Other businesses

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.[1].
  • 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[2] 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
Hanson & Hall Rail Services YG 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
Lumo LD 45 LD 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[3] 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
Varamis Rail MV 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. Strictly speaking, the first letter is the business code and the second letter is the profit centre
  2. Also listed as LF
  3. Shared with Freightliner Heavy Haul