TOC Codes: Difference between revisions

From Open Rail Data Wiki
m Add business code for Crossrail
m Move Network Rail section above non-Network Rail
 
(56 intermediate revisions by 7 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]].
 
The business code categorises a sign-on to type of business in the original British Rail.  This can drive things such as permissions granted, e.g. all sign-ons beginning #E or #H have access to certain systems.
 
The currently allocated business codes are 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
|}
 
 
== 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
|}
 
== 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''.


{| class="wikitable sortable"
{| class="wikitable sortable"
Line 10: Line 147:
!Company Name
!Company Name
!Business Code
!Business Code
!Numeric Code
!Sector Code
!ATOC Code
!ATOC Code
|-
|-
|Abellio Greater Anglia
|Virtual European Paths
|EB
|EU
|21
|?
|LE
|EU
|-
|Unmapped (was [https://en.wikipedia.org/wiki/Alliance_Rail_Holdings Alliance Rail])
|ZB
|14
|AR
|-
|[https://en.wikipedia.org/wiki/Northern_Trains Northern Trains]
|ED
|23
|NT
|-
|-
|Arriva Trains Wales
|[https://en.wikipedia.org/wiki/Transport_for_Wales Transport for Wales]
|HL
|HL
|71
|71
|AW
|AW
|-
|-
|c2c
|[https://en.wikipedia.org/wiki/C2c c2c]
|HT
|HT
|79
|79
|CC
|CC
|-
|-
|Caledonian Sleeper
|[https://en.wikipedia.org/wiki/Caledonian_Sleeper Caledonian Sleeper]
|ES
|ES
|60
|35
|CS
|CS
|-
|-
|Chiltern Railway
|[https://en.wikipedia.org/wiki/Chiltern_Railways Chiltern Railways]
|HO
|HO
|74
|74
|CH
|CH
|-
|-
|CrossCountry
|[https://en.wikipedia.org/wiki/CrossCountry CrossCountry]
|EH
|EH
|27
|27
|XC
|XC
|-
|-
|Crossrail
|[https://www.dcrail.com/ DC Rail]
|EX
|PO
|33
|XR
|-
|Devon and Cornwall Railway
|EN
|34
|34
|DC
|ZZ
|-
|-
|East Midlands Trains
|[https://en.wikipedia.org/wiki/East_Midlands_Railway East Midlands Railway]
|EM
|EM
|28
|28
|EM
|EM
|-
|-
|East Coast
|[https://en.wikipedia.org/wiki/Eurostar Eurostar]
|HB
|61
|GR
|-
|Eurostar
|GA
|GA
|06
|06
|ES
|ES
|-
|-
|First Capital Connect (defunct)
|Unmapped (was [https://en.wikipedia.org/wiki/First_Capital_Connect First Capital Connect])
|EG
|EG
|26
|26
|FC
|FC
|-
|-
|First Great Western
|[https://en.wikipedia.org/wiki/Hull_Trains Hull Trains]
|EF
|25
|GW
|-
|First Hull Trains
|PF
|PF
|55
|55
|HT
|HT
|-
|-
|First Scotrail
|Unmapped (was [https://en.wikipedia.org/wiki/Gatwick_Express Gatwick Express])
|HA
|60
|SR
|-
|First Transpennine Express
|EA
|20
|TP
|-
|Gatwick Express
|HV
|HV
|81
|81
|GX
|GX
|-
|-
|Grand Central
|[https://en.wikipedia.org/wiki/GB_Railfreight GB Railfreight]
|EC
|PE
|22
|54
|GC
|ZZ
|-
|-
|Govia Thameslink Railway (Great Northern)
|Govia Thameslink Railway (Great Northern)
Line 108: Line 230:
|GN
|GN
|-
|-
|Govia Thameslink Railway (Thameslink)
|[https://en.wikipedia.org/wiki/Govia_Thameslink_Railway Govia Thameslink Railway (Thameslink)]
|ET
|ET
|88
|88
|TL
|TL
|-
|-
|Heathrow Connect
|[https://en.wikipedia.org/wiki/Grand_Central_(train_operating_company) Grand Central]
|EC
|22
|GC
|-
|Grand Central (North West)
|LN
|14
|GC/LF
|-
|[https://en.wikipedia.org/wiki/Great_Western_Railway_(train_operating_company) Great Western Railway]
|EF
|25
|GW
|-
|[https://en.wikipedia.org/wiki/Greater_Anglia_(train_operating_company) Greater Anglia]
|EB
|21
|LE
|-
|[https://en.wikipedia.org/wiki/Heathrow_Connect Heathrow Connect]
|EE
|EE
|24
|24
|HC
|HC
|-
|-
|Heathrow Express
|[https://en.wikipedia.org/wiki/Heathrow_Express Heathrow Express]
|HM
|HM
|86
|86
|HX
|HX
|-
|-
|Island Lines
|[https://en.wikipedia.org/wiki/Island_Line_(brand) Island Lines]
|HZ
|HZ
|85
|85
|IL
|IL
|-
|-
|London Midland
|[https://en.wikipedia.org/wiki/Locomotive_Services_Limited Locomotive Services]
|LS
|89
|LS
|-
|[https://en.wikipedia.org/wiki/West_Midlands_Trains West Midlands Trains]
|EJ
|EJ
|29
|29
|LM
|LM
|-
|-
|London Overground
|[https://en.wikipedia.org/wiki/London_Overground London Overground]
|EK
|EK
|30
|30
|LO
|LO
|-
|-
|LUL Bakerloo Line
|[https://en.wikipedia.org/wiki/Bakerloo_line LUL Bakerloo Line]
|XC
|XC
|91
|91
|LT
|LT
|-
|-
|LUL District Line Wimbledon
|[https://en.wikipedia.org/wiki/District_line LUL District Line - Richmond]
|XE
|93
|LT
|-
|[https://en.wikipedia.org/wiki/District_line LUL District Line - Wimbledon]
|XB
|XB
|90
|90
|LT
|LT
|-
|-
|LUL District Line – Richmond
|[https://en.wikipedia.org/wiki/Merseyrail Merseyrail]
|XE
|93
|LT
|-
|Merseyrail
|HE
|HE
|64
|64
|ME
|ME
|-
|-
|Nexus (Tyne & Wear Metro)
|Network Rail (On-Track Machines)
|LR
|15
|LR
|-
|[https://en.wikipedia.org/wiki/Tyne_and_Wear_Metro Nexus (Tyne & Wear Metro)]
|PG
|PG
|56
|56
|TW
|TW
|-
|-
|North Yorkshire Moors Railway
|[https://en.wikipedia.org/wiki/North_Yorkshire_Moors_Railway North Yorkshire Moors Railway]
|PR
|PR
|51
|51
|NY
|NY
|-
|-
|Northern Rail
|[https://en.wikipedia.org/wiki/Abellio_ScotRail ScotRail]
|ED
|HA
|23
|60
|NT
|SR
|-
|-
|South West Trains
|[https://en.wikipedia.org/wiki/South_Western_Railway_(train_operating_company) South Western Railway]
|HY
|HY
|84
|84
|SW
|SW
|-
|-
|Southeastern
|[https://en.wikipedia.org/wiki/Sheffield_Supertram South Yorkshire Supertram]
|SJ
|19
|SJ
|-
|[https://en.wikipedia.org/wiki/Southeastern_(train_operating_company) Southeastern]
|HU
|HU
|80
|80
|SE
|SE
|-
|-
|Southern
|[https://en.wikipedia.org/wiki/Southern_(Govia_Thameslink_Railway) Southern]
|HW
|HW
|82
|88
|SN
|SN
|-
|-
|Virgin Trains
|[https://en.wikipedia.org/wiki/Swanage_Railway Swanage Railway]
|SP
|18
|SP
|-
|[https://en.wikipedia.org/wiki/Elizabeth_line Elizabeth line]
|EX
|33
|XR
|-
|[https://en.wikipedia.org/wiki/TransPennine_Express TransPennine Express]
|EA
|20
|TP
|-
|[https://en.wikipedia.org/wiki/Avanti_West_Coast Avanti West Coast]
|HF
|HF
|65
|65
|VT
|VT
|-
|-
|West Coast Railway Co.
|[https://en.wikipedia.org/wiki/London_North_Eastern_Railway London North Eastern Railway]
|HB
|61
|GR
|-
|[https://en.wikipedia.org/wiki/West_Coast_Railways West Coast Railways]
|PA
|PA
|50
|50
|WR
|WR
|-
|[http://www.jsdrail.com/ JSD Rail Research & Development]
|RR
|02
|ZZ
|-
|[https://en.wikipedia.org/wiki/Victa_Westlink_Rail Victa Westlink Rail (defunct)]
|PV
|03
|ZZ
|-
|[https://en.wikipedia.org/wiki/DB_Cargo_UK DB Cargo Charters]
|FM
|04
|ZZ
|-
|-
|}
|[https://en.wikipedia.org/wiki/DB_Cargo_UK DB Cargo Freight]
|WA
|05
|ZZ
|-
|[https://en.wikipedia.org/wiki/Rail_Operations_Group Rail Operations Group]
|PH
|07
|ZZ
|-
|[https://en.wikipedia.org/wiki/DB_Cargo DB Cargo International]
|FD
|08
|ZZ
|-
|[https://en.wikipedia.org/wiki/Freightliner_Group Freightliner Intermodal]
|FL
|09
|ZZ
|-
|[https://www.serco.com/media-and-news/2014/serco-uk-rail-operations Serco Rail Operations]
|FX
|10
|ZZ
|-
|[https://en.wikipedia.org/wiki/Freightliner_Group#United_Kingdom Freightliner Heavy Haul]
|DH
|11
|ZZ
|-
|Freight Europe (defunct)
|PN
|12
|ZZ
|-
|[https://en.wikipedia.org/wiki/Europorte_Channel Europorte Channel]
|PT
|13
|ZZ
|-
|[https://en.wikipedia.org/wiki/Loram_Maintenance_of_Way LORAM]
|LC
|16
|ZZ
|-
|Hanson & Hall Rail Services
|YG
|17
|ZZ
|-
|Network Rail Virtual Freight Company
|QJ
|31
|ZZ
|-
|Unmapped (was [https://en.wikipedia.org/wiki/Wrexham_%26_Shropshire Wrexham and Shropshire])
|EI
|32
|WS
|-
|[https://en.wikipedia.org/wiki/Vintage_Trains Vintage Trains]
|TY
|36
|TY
|-
|Seco Rail (defunct)
|RU
|37
|ZZ
|-
|Carillion Rail CTRL (Phase 1) (defunct)
|RQ
|38
|ZZ
|-
|[https://en.wikipedia.org/wiki/Harsco Harsco]
|RT
|39
|ZZ
|-
|[https://en.wikipedia.org/wiki/Balfour_Beatty Balfour Beatty Rail]
|RZ
|40
|ZZ
|-
|Unmapped (was [https://europhoenix.co.uk/ Europhoenix])
|PX
|41
|PX
|-
|[https://en.wikipedia.org/wiki/Colas_Rail Colas Rail]
|RG
|42
|ZZ
|-
|Amey Fleet Services
|RE
|43
|ZZ
|-
|Carillion Rail
|RB
|44
|ZZ
|-
|[https://www.lumo.co.uk/ Lumo]
|LD
|45
|LD
|-
|[https://www.sbrail.com/ SB (Swietelsky Babcock) Rail]
|RD
|46
|ZZ
|-
|Unmapped
|
|47
|
|-
|Unmapped
|
|48
|
|-
|[https://en.wikipedia.org/wiki/VolkerRail VolkerRail]
|RH
|49
|ZZ
|-
|[https://en.wikipedia.org/wiki/Pre_Metro_Operations Pre Metro Operations]
|PK
|52
|ZZ
|-
|[https://en.wikipedia.org/wiki/SNCF SNCF Freight Services]
|PS
|53
|ZZ
|-
|[https://go-op.coop Go-Op]
|GO
|57
|
|-
|Unmapped (was [https://en.wikipedia.org/wiki/Advenza_Freight Advenza Freight])
|PI
|58
|ZZ
|-
|On Route Logistics
|PM
|59
|ZZ
|-
|[https://www.railadventure.de/ Railadventure]
|SO
|11
|unknown
|-
|Unmapped
|
|62
|
|-
|Unmapped
|
|63
|
|-
|Unmapped
|
|66
|
|-
|Unmapped
|
|67
|
|-
|Unmapped
|
|68
|
|-
|Unmapped
|
|69
|
|-
|Unmapped
|
|70
|
|-
|[http://www.granduniontrains.co.uk/ Grand Union Trains]
|LF
|12
|LF
|-
|[https://www.liservices.co.uk/ Legge Infrastructure Services]
|LG
|72
|ZZ
|-
|Unmapped
|
|73
|
|-
|Unmapped
|
|75
|
|-
|Unmapped
|
|76
|
|-
|Unmapped
|
|77
|
|-
|Unmapped
|
|78
|
|-
|Unmapped (was [https://en.wikipedia.org/wiki/Southern_(Govia_Thameslink_Railway) Southern])
|HW
|82
|SN
|-
|Unmapped
|
|83
|
|-
|Unmapped
|
|87
|
|-
|Network Rail Reserved Pathings (non-QJ)
|NR
|92
|ZZ
|-
|[https://en.wikipedia.org/wiki/Ffestiniog_Railway Ffestiniog Railway]
|XJ
|94
|
|-
|[https://varamis.co.uk/ Varamis Rail]
|MV
|95
|
|-
|Unmapped
|
|96
|
|-
|[https://en.wikipedia.org/wiki/Direct_Rail_Services Direct Rail Services]
|XH
|97
|ZZ
|-
|Internal Testing
|RM
|98
|ZZ
|-
|Unmapped
|
|99
|
|-
|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
|
|
|-}


{{Navtable-DataFeeds}}
{{Navtable-DataFeeds}}

Latest revision as of 16:44, 9 November 2024

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

The business code categorises a sign-on to type of business in the original British Rail. This can drive things such as permissions granted, e.g. all sign-ons beginning #E or #H have access to certain systems.

The currently allocated business codes are 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


Network Rail

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

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.
Company Name Business Code Sector Code ATOC Code
Virtual European Paths EU ? EU
Unmapped (was Alliance Rail) ZB 14 AR
Northern Trains ED 23 NT
Transport for Wales HL 71 AW
c2c HT 79 CC
Caledonian Sleeper ES 35 CS
Chiltern Railways HO 74 CH
CrossCountry EH 27 XC
DC Rail PO 34 ZZ
East Midlands Railway EM 28 EM
Eurostar GA 06 ES
Unmapped (was First Capital Connect) EG 26 FC
Hull Trains PF 55 HT
Unmapped (was 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
Grand Central (North West) LN 14 GC/LF
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 89 LS
West Midlands Trains 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 15 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 19 SJ
Southeastern HU 80 SE
Southern HW 88 SN
Swanage Railway SP 18 SP
Elizabeth line EX 33 XR
TransPennine Express EA 20 TP
Avanti West Coast HF 65 VT
London North Eastern Railway HB 61 GR
West Coast Railways PA 50 WR
JSD Rail Research & Development RR 02 ZZ
Victa Westlink Rail (defunct) PV 03 ZZ
DB Cargo Charters FM 04 ZZ
DB Cargo Freight WA 05 ZZ
Rail Operations Group PH 07 ZZ
DB Cargo International FD 08 ZZ
Freightliner Intermodal FL 09 ZZ
Serco Rail Operations FX 10 ZZ
Freightliner Heavy Haul DH 11 ZZ
Freight Europe (defunct) PN 12 ZZ
Europorte Channel PT 13 ZZ
LORAM LC 16 ZZ
Hanson & Hall Rail Services YG 17 ZZ
Network Rail Virtual Freight Company QJ 31 ZZ
Unmapped (was Wrexham and Shropshire) EI 32 WS
Vintage Trains TY 36 TY
Seco Rail (defunct) RU 37 ZZ
Carillion Rail CTRL (Phase 1) (defunct) RQ 38 ZZ
Harsco RT 39 ZZ
Balfour Beatty Rail RZ 40 ZZ
Unmapped (was Europhoenix) PX 41 PX
Colas Rail RG 42 ZZ
Amey Fleet Services RE 43 ZZ
Carillion Rail RB 44 ZZ
Lumo LD 45 LD
SB (Swietelsky Babcock) Rail RD 46 ZZ
Unmapped 47
Unmapped 48
VolkerRail RH 49 ZZ
Pre Metro Operations PK 52 ZZ
SNCF Freight Services PS 53 ZZ
Go-Op GO 57
Unmapped (was Advenza Freight) PI 58 ZZ
On Route Logistics PM 59 ZZ
Railadventure SO 11 unknown
Unmapped 62
Unmapped 63
Unmapped 66
Unmapped 67
Unmapped 68
Unmapped 69
Unmapped 70
Grand Union Trains LF 12 LF
Legge Infrastructure Services LG 72 ZZ
Unmapped 73
Unmapped 75
Unmapped 76
Unmapped 77
Unmapped 78
Unmapped (was Southern) HW 82 SN
Unmapped 83
Unmapped 87
Network Rail Reserved Pathings (non-QJ) NR 92 ZZ
Ffestiniog Railway XJ 94
Varamis Rail MV 95
Unmapped 96
Direct Rail Services XH 97 ZZ
Internal Testing RM 98 ZZ
Unmapped 99
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 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)
  1. Strictly speaking, the first letter is the business code and the second letter is the profit centre