MediaWiki API result

This is the HTML representation of the JSON format. HTML is good for debugging, but is unsuitable for application use.

Specify the format parameter to change the output format. To see the non-HTML representation of the JSON format, set format=json.

See the complete documentation, or the API help for more information.

{
    "batchcomplete": "",
    "continue": {
        "gapcontinue": "ReleaseNotes",
        "continue": "gapcontinue||"
    },
    "warnings": {
        "main": {
            "*": "Subscribe to the mediawiki-api-announce mailing list at <https://lists.wikimedia.org/mailman/listinfo/mediawiki-api-announce> for notice of API deprecations and breaking changes."
        },
        "revisions": {
            "*": "Because \"rvslots\" was not specified, a legacy format has been used for the output. This format is deprecated, and in the future the new format will always be used."
        }
    },
    "query": {
        "pages": {
            "763": {
                "pageid": 763,
                "ns": 0,
                "title": "Real Time Journey Planner",
                "revisions": [
                    {
                        "contentformat": "text/x-wiki",
                        "contentmodel": "wikitext",
                        "*": "The '''Real Time Journey Planning''' ('''RTJP''') webservice can be used to request journey and fare information from National Rail Enquiries' Online Journey Planner (OJP) service. This API provides the same functionality found on the NRE website, including advanced options, and also includes functionality not available via NRE, such as requesting journeys earlier in the day, or without fares.\n\nRTJP is based on information from several sources, including Darwin for real-time train running information, and the National Reservation System for real-time fares availability.\n\n== RTJP licensing and usage conditions ==\nOnline Journey Planner APIs are only available to users under a formal contract. To apply, complete a [https://assets.nationalrail.co.uk/e8xgegruud3g/3naKK7Qy2P4Rs6VYvyCCxJ/e54ddd40e85b5e2c5acf85702da8f554/Licence-Request-Form.pdf licence request form] and send it to RDG's licensing team ([mailto:nationalraildatafeeds@raildeliverygroup.com nationalraildatafeeds@raildeliverygroup.com]).\n\nRDG is obliged by the terms of its contract with SilverRail \u2013 RTJP's vendor \u2013 to impose a condition prohibiting the use of RTJP in conjunction with ticket retailing on third-party websites.\n\nUsage of RTJP is chargeable at cost-recovery rates, particulars of which can be obtained from RDG.\n== Timetable Groups ==\n\nThe journey planning service used by NRE includes a concept of timetable groups, which act as aliases for multiple locations. Timetable groups \nallow for a single ''All Stations'' group location to be used to submit multiple 'member' locations for journey planning purposes. For example, the ''Coulsdon (All stations)'' group can be used to request journeys to/from Coulsdon South or Coulsdon Town.\n\nRTJP's timetable groups are a convenience for journey planning, and do not correspond to fare groups. Timetable groups may exist where there is no fare group equivalent (such as in the Coulsdon example), may overlap multiple fare groups, and may have similar \u2013 or identical \u2013 names to fare groups (e.g. London, Birmingham), despite containing different member stations.\n\n'''Timetable Groups'''\n\n{| class=\"wikitable\"\n!Group_id\n!Group_name\n|\n!Group_id\n!Group_name\n|\n!Group_id\n!Group_name\n|-\n|2\n|Acton (All stations)\n|\n|3\n|Allerton (All stations)\n|\n|4\n|Ardrossan (All stations)\n|-\n|5\n|Ayr (All stations)\n|\n|6\n|Barnes (All stations)\n|\n|7\n|Barry (All stations)\n|-\n|8\n|Battersea (All stations)\n|\n|9\n|Beckenham (All stations)\n|\n|10\n|Bedford (All stations)\n|-\n|11\n|Bicester (All stations)\n|\n|12\n|Birkenhead (All stations)\n|\n|13\n|Birmingham (All stations)\n|-\n|14\n|Blackpool (All stations)\n|\n|15\n|Bloxwich (All stations)\n|\n|16\n|Bootle (All stations)\n|-\n|17\n|Bradford (All stations)\n|\n|18\n|Brighton (All stations)\n|\n|19\n|Bromborough (All stations)\n|-\n|20\n|Bromley (All stations)\n|\n|21\n|Brondesbury (All stations)\n|\n|22\n|Brundall (All stations)\n|-\n|23\n|Burscough (All stations)\n|\n|24\n|Burnley (All stations)\n|\n|25\n|Byfleet (All stations)\n|-\n|26\n|Canterbury (All stations)\n|\n|32\n|Cardiff (All stations)\n|\n|33\n|Catford (All stations)\n|-\n|34\n|Chessington (All stations)\n|\n|35\n|Clapham (All stations)\n|\n|36\n|Coatbridge (All stations)\n|-\n|37\n|Colchester (All stations)\n|\n|38\n|Croydon (All stations)\n|\n|64\n|Dorchester (All stations)\n|-\n|65\n|Dorking (All stations)\n|\n|66\n|Dudley (All stations)\n|\n|67\n|Dulwich (All stations)\n|-\n|68\n|Dumbarton (All stations)\n|\n|69\n|Ealing (All stations)\n|\n|70\n|Edenbridge (All stations)\n|-\n|71\n|Enfield (All stations)\n|\n|72\n|Epsom (All stations)\n|\n|73\n|Ewell (All stations)\n|-\n|74\n|Exeter (All stations)\n|\n|75\n|Falkirk (All stations)\n|\n|76\n|Falmouth (All stations)\n|-\n|77\n|Farnborough (All stations)\n|\n|78\n|Folkestone (All stations)\n|\n|79\n|Gainsborough (All stations)\n|-\n|81\n|Glasgow (All stations)\n|\n|82\n|Greenford (All stations)\n|\n|83\n|Greenock (All stations)\n|-\n|84\n|Grimsby (All stations)\n|\n|85\n|Guildford (All stations)\n|\n|86\n|Hackney (All stations)\n|-\n|87\n|Hamilton (All stations)\n|\n|88\n|Hampstead (All stations)\n|\n|89\n|Harlow (All stations)\n|-\n|90\n|Harringay (All stations)\n|\n|91\n|Harrow (All stations)\n|\n|92\n|Harwich (All stations)\n|-\n|93\n|Hawarden (All stations)\n|\n|94\n|Heath (All stations)\n|\n|95\n|Helensburgh (All stations)\n|-\n|96\n|Hertford (All stations)\n|\n|97\n|Hillington (All stations)\n|\n|98\n|Hyde (All stations)\n|-\n|99\n|Kentish Town (All stations)\n|\n|100\n|Kenton (All stations)\n|\n|101\n|Kiveton (All stations)\n|-\n|102\n|Kew (All stations)\n|\n|103\n|Lelant (All stations)\n|\n|104\n|Leyton (All stations)\n|-\n|105\n|Lichfield (All stations)\n|\n|106\n|Liverpool (All stations)\n|\n|107\n|Livingston (All stations)\n|-\n|108\n|Llanwrst (All stations)\n|\n|109\n|Lymington (All stations)\n|\n|110\n|Lympstone (All stations)\n|-\n|111\n|Maesteg (All stations)\n|\n|112\n|Maidstone (All stations)\n|\n|113\n|Malling (All stations)\n|-\n|114\n|Malvern (All stations)\n|\n|115\n|Manchester (All stations)\n|\n|116\n|Mansfield (All stations)\n|-\n|117\n|Matlock (All stations)\n|\n|118\n|Newark (All stations)\n|\n|119\n|Newbury (All stations)\n|-\n|120\n|New Cross (All stations)\n|\n|121\n|Newhaven (All stations)\n|\n|122\n|New Mills (All stations)\n|-\n|123\n|Norwood (All stations)\n|\n|124\n|Oldham (All stations)\n|\n|125\n|Oulton Broad (All stations)\n|-\n|126\n|Paisley (All stations)\n|\n|127\n|Peckham (All stations)\n|\n|128\n|Pembroke (All stations)\n|-\n|129\n|Penge (All stations)\n|\n|130\n|Pevensey (All stations)\n|\n|131\n|Pollokshaws (All stations)\n|-\n|132\n|Pollokshields (All stations)\n|\n|133\n|Pontefract (All stations)\n|\n|134\n|Portsmouth (All stations)\n|-\n|135\n|Prestwick (All stations)\n|\n|136\n|Purley (All stations)\n|\n|137\n|Reading (All stations)\n|-\n|138\n|Redcar (All stations)\n|\n|139\n|Reddish (All stations)\n|\n|140\n|Rugeley (All stations)\n|-\n|141\n|Ruislip (All stations)\n|\n|142\n|Runcorn (All stations)\n|\n|143\n|Ryde (All stations)\n|-\n|144\n|St Albans (All stations)\n|\n|145\n|St Budeaux (All stations)\n|\n|146\n|St Helens (All stations)\n|-\n|147\n|St Leonards (All stations)\n|\n|148\n|Salford (All stations)\n|\n|150\n|Smethwick (All stations)\n|-\n|151\n|Southampton (All stations)\n|\n|152\n|Southend (All stations)\n|\n|153\n|Stansted (All stations)\n|-\n|154\n|Stourbridge (All stations)\n|\n|155\n|Streatham (All stations)\n|\n|156\n|Sudbury (All stations)\n|-\n|157\n|Sutton (All stations)\n|\n|158\n|Sydenham (All stations)\n|\n|159\n|Thorne (All stations)\n|-\n|160\n|Tilbury (All stations)\n|\n|161\n|Tottenham (All stations)\n|\n|162\n|Trefforest (All stations)\n|-\n|163\n|Tyndrum (All stations)\n|\n|164\n|Wakefield (All stations)\n|\n|165\n|Wallasey (All stations)\n|-\n|166\n|Walthamstow (All stations)\n|\n|167\n|Wandsworth (All stations)\n|\n|168\n|Warrington (All stations)\n|-\n|169\n|Watford (All stations)\n|\n|170\n|Welwyn (All stations)\n|\n|171\n|Wembley (All stations)\n|-\n|172\n|Whyteleafe (All stations)\n|\n|173\n|Wigan (All stations)\n|\n|174\n|Wimbledon (All stations)\n|-\n|175\n|Windsor And Eton (All stations)\n|\n|176\n|Winnersh (All stations)\n|\n|177\n|Woolwich (All stations)\n|-\n|178\n|Worcester (All stations)\n|\n|179\n|Worthing (All stations)\n|\n|180\n|Wrexham (All stations)\n|-\n|181\n|Yeovil (All stations)\n|\n|182\n|London (All stations)\n|\n|183\n|Carlton (All stations)\n|-\n|184\n|Darlington (All stations)\n|\n|187\n|Walton (All stations)\n|\n|191\n|Bristol (All stations)\n|-\n|193\n|Heathrow (All stations)\n|\n|198\n|Birmingham International (All stations)\n|\n|338\n|London Zone 1 (All stations)\n|-\n|340\n|Buxton (All stations)\n|\n|342\n|Southport (All stations)\n|\n|344\n|Stratford-Upon-Avon (All stations)\n|-\n|345\n|Workington (All stations)\n|\n|350\n|Luton (All stations)\n|\n|351\n|Redditch (All stations)\n|-\n|358\n|Whitby (All stations)\n|\n|368\n|Southease (All stations)\n|\n|371\n|Tadworth (All stations)\n|-\n|375\n|Winchelsea (All stations)\n|\n|376\n|Bishopstone (All stations)\n|\n|377\n|Eridge (All stations)\n|-\n|382\n|Leigh (All stations)\n|\n|383\n|Preston Park (All stations)\n|\n|384\n|London Road (All stations)\n|-\n|386\n|Ashford International (All stations)\n|\n|398\n|Dublin (All stations)\n|\n|399\n|Rhoose (All stations)\n|-\n|400\n|Cardiff International Airport (All stations)\n|\n|401\n|Belfast (All stations)\n|\n|403\n|Dunfermline (All stations)\n|-\n|405\n|Heathrow T123 (All stations)\n|\n|406\n|Heathrow Terminal 1 (All stations)\n|\n|407\n|Heathrow Terminal 2 (All stations)\n|-\n|408\n|Heathrow Terminal 3 (All stations)\n|\n|409\n|Heathrow Terminal 4 (All stations)\n|\n|411\n|Kings Cross St Pancras (All stations)\n|-\n|412\n|Marple (All stations)\n|\n|413\n|West_Hampstead (All stations)\n|\n|414\n|London Zone U12 (All stations)\n|-\n|415\n|Corby (All stations)\n|\n|418\n|Heathrow Terminal 5 (All stations)\n|\n|419\n|Heathrow Rail (All stations)\n|-\n|420\n|Heathrow Bus (All stations)\n|\n|422\n|London Zone U123 (All stations)\n|\n|423\n|London Zone U1234 (All stations)\n|-\n|424\n|London Zone U12345 (All stations)\n|\n|425\n|London Zone U123456 (All stations)\n|\n|426\n|Heathrow T123 No Underground (All stations)\n|-\n|427\n|Heathrow Terminal 1 No Underground (All stations)\n|\n|428\n|Heathrow Terminal 2 No Underground (All stations)\n|\n|429\n|Heathrow Terminal 3 No Underground (All stations)\n|-\n|430\n|Heathrow Terminal 4 No Underground (All stations)\n|\n|431\n|Heathrow Terminal 5 No Underground (All stations)\n|\n|432\n|Coulsdon (All stations)\n|-\n|433\n|Birmingham No Bsw (All stations)\n|\n|\n|\n|\n|\n|\n|-\n|}\n\n'''Group Members'''\n\n{| class=\"wikitable\"\n!Group_id\n!Member_CRS\n|\n!Group_id\n!Member_CRS\n|\n!Group_id\n!Member_CRS\n|\n!Group_id\n!Member_CRS\n|\n!Group_id\n!Member_CRS\n|-\n|2\n|ACC\n|\n|2\n|AML\n|\n|2\n|SAT\n|\n|3\n|LPY\n|\n|3\n|WSA\n|-\n|4\n|ADN\n|\n|4\n|ADS\n|\n|4\n|ASB\n|\n|5\n|AYR\n|\n|5\n|NOA\n|-\n|6\n|BNI\n|\n|6\n|BNS\n|\n|7\n|BRY\n|\n|7\n|BYD\n|\n|7\n|BYI\n|-\n|8\n|BAK\n|\n|8\n|QRB\n|\n|9\n|BEC\n|\n|9\n|BKJ\n|\n|9\n|NBC\n|-\n|10\n|BDM\n|\n|10\n|BSJ\n|\n|11\n|BCS\n|\n|11\n|BIT\n|\n|12\n|BKC\n|-\n|12\n|BKN\n|\n|12\n|BKP\n|\n|12\n|BKQ\n|\n|13\n|BHM\n|\n|13\n|BMO\n|-\n|13\n|BSW\n|\n|14\n|BPB\n|\n|14\n|BPN\n|\n|14\n|BPS\n|\n|15\n|BLX\n|-\n|15\n|BWN\n|\n|16\n|BNW\n|\n|16\n|BOT\n|\n|17\n|BDI\n|\n|17\n|BDQ\n|-\n|18\n|BTN\n|\n|18\n|LRB\n|\n|19\n|BMR\n|\n|19\n|BOM\n|\n|20\n|BMN\n|-\n|20\n|BMS\n|\n|21\n|BSP\n|\n|21\n|BSY\n|\n|22\n|BDA\n|\n|22\n|BGA\n|-\n|23\n|BCB\n|\n|23\n|BCJ\n|\n|24\n|BNC\n|\n|24\n|BUB\n|\n|24\n|BYM\n|-\n|25\n|BFN\n|\n|25\n|WBY\n|\n|26\n|CBE\n|\n|26\n|CBW\n|\n|32\n|CDB\n|-\n|32\n|CDF\n|\n|32\n|CDQ\n|\n|33\n|CFB\n|\n|33\n|CTF\n|\n|34\n|CSN\n|-\n|34\n|CSS\n|\n|35\n|CLJ\n|\n|35\n|CLP\n|\n|36\n|CBC\n|\n|36\n|CBS\n|-\n|37\n|CET\n|\n|37\n|COL\n|\n|38\n|ECR\n|\n|38\n|SCY\n|\n|38\n|WCY\n|-\n|64\n|DCH\n|\n|64\n|DCW\n|\n|65\n|DKG\n|\n|65\n|DKT\n|\n|65\n|DPD\n|-\n|66\n|DDP\n|\n|66\n|SAD\n|\n|67\n|EDW\n|\n|67\n|NDL\n|\n|67\n|WDU\n|-\n|68\n|DBC\n|\n|68\n|DBE\n|\n|69\n|EAL\n|\n|69\n|WEA\n|\n|70\n|EBR\n|-\n|70\n|EBT\n|\n|71\n|ENC\n|\n|71\n|ENF\n|\n|71\n|ENL\n|\n|72\n|EPD\n|-\n|72\n|EPS\n|\n|73\n|EWE\n|\n|73\n|EWW\n|\n|74\n|EXC\n|\n|74\n|EXD\n|-\n|74\n|EXT\n|\n|75\n|FKG\n|\n|75\n|FKK\n|\n|76\n|FAL\n|\n|76\n|FMT\n|-\n|77\n|FNB\n|\n|77\n|FNN\n|\n|78\n|FKC\n|\n|78\n|FKW\n|\n|79\n|GBL\n|-\n|79\n|GNB\n|\n|81\n|GLC\n|\n|81\n|GLQ\n|\n|82\n|GFD\n|\n|82\n|SGN\n|-\n|83\n|GKC\n|\n|83\n|GKW\n|\n|84\n|GMB\n|\n|84\n|GMD\n|\n|85\n|GLD\n|-\n|85\n|LRD\n|\n|86\n|HAC\n|\n|86\n|HKC\n|\n|86\n|HKW\n|\n|87\n|HNC\n|-\n|87\n|HNW\n|\n|88\n|HDH\n|\n|88\n|SOH\n|\n|88\n|WHD\n|\n|88\n|WHP\n|-\n|89\n|HWM\n|\n|89\n|HWN\n|\n|90\n|HGY\n|\n|90\n|HRY\n|\n|91\n|HOH\n|-\n|91\n|HRW\n|\n|91\n|SDH\n|\n|91\n|SUD\n|\n|92\n|HPQ\n|\n|92\n|HWC\n|-\n|93\n|HWB\n|\n|93\n|HWD\n|\n|94\n|HHL\n|\n|94\n|HLL\n|\n|95\n|HLC\n|-\n|95\n|HLU\n|\n|96\n|HFE\n|\n|96\n|HFN\n|\n|97\n|HLE\n|\n|97\n|HLW\n|-\n|98\n|HYC\n|\n|98\n|HYT\n|\n|98\n|NWN\n|\n|99\n|KTN\n|\n|99\n|KTW\n|-\n|100\n|KNT\n|\n|100\n|SOK\n|\n|101\n|KIV\n|\n|101\n|KVP\n|\n|102\n|KWB\n|-\n|102\n|KWG\n|\n|103\n|LEL\n|\n|103\n|LTS\n|\n|104\n|LEM\n|\n|104\n|LER\n|-\n|105\n|LIC\n|\n|105\n|LTV\n|\n|106\n|LIV\n|\n|106\n|LVC\n|\n|106\n|LVJ\n|-\n|106\n|MRF\n|\n|107\n|LSN\n|\n|107\n|LVG\n|\n|108\n|LWR\n|\n|108\n|NLR\n|-\n|109\n|LYP\n|\n|109\n|LYT\n|\n|110\n|LYC\n|\n|110\n|LYM\n|\n|111\n|MEW\n|-\n|111\n|MST\n|\n|112\n|MDB\n|\n|112\n|MDE\n|\n|112\n|MDW\n|\n|113\n|EML\n|-\n|113\n|WMA\n|\n|114\n|GMV\n|\n|114\n|MVL\n|\n|115\n|MAN\n|\n|115\n|MCO\n|-\n|115\n|MCV\n|\n|116\n|MFT\n|\n|116\n|MSW\n|\n|117\n|MAT\n|\n|117\n|MTB\n|-\n|118\n|NCT\n|\n|118\n|NNG\n|\n|119\n|NBY\n|\n|119\n|NRC\n|\n|120\n|NWX\n|-\n|120\n|NXG\n|\n|121\n|NVH\n|\n|121\n|NVN\n|\n|122\n|NMC\n|\n|122\n|NMN\n|-\n|123\n|NWD\n|\n|123\n|WNW\n|\n|124\n|OLM\n|\n|125\n|OUN\n|\n|125\n|OUS\n|-\n|126\n|PCN\n|\n|126\n|PYG\n|\n|126\n|PYJ\n|\n|127\n|PMR\n|\n|127\n|QRP\n|-\n|128\n|PMB\n|\n|128\n|PMD\n|\n|129\n|PNE\n|\n|129\n|PNW\n|\n|130\n|PEB\n|-\n|130\n|PEV\n|\n|131\n|PWE\n|\n|131\n|PWW\n|\n|132\n|PLE\n|\n|132\n|PLW\n|-\n|133\n|PFM\n|\n|133\n|PFR\n|\n|133\n|POT\n|\n|134\n|FTN\n|\n|134\n|PMH\n|-\n|134\n|PMS\n|\n|135\n|PRA\n|\n|135\n|PTW\n|\n|136\n|PUO\n|\n|136\n|PUR\n|-\n|137\n|RDG\n|\n|137\n|RDW\n|\n|138\n|RBS\n|\n|138\n|RCC\n|\n|138\n|RCE\n|-\n|139\n|RDN\n|\n|139\n|RDS\n|\n|140\n|RGL\n|\n|140\n|RGT\n|\n|141\n|SRU\n|-\n|141\n|WRU\n|\n|142\n|RUE\n|\n|142\n|RUN\n|\n|143\n|RYD\n|\n|143\n|RYP\n|-\n|143\n|RYR\n|\n|143\n|XRD\n|\n|144\n|SAA\n|\n|144\n|SAC\n|\n|145\n|SBF\n|-\n|145\n|SBV\n|\n|146\n|SHJ\n|\n|146\n|SNH\n|\n|147\n|SLQ\n|\n|147\n|WLD\n|-\n|148\n|SFD\n|\n|148\n|SLD\n|\n|150\n|SGB\n|\n|150\n|SMR\n|\n|151\n|SOA\n|-\n|151\n|SOU\n|\n|152\n|SOC\n|\n|152\n|SOV\n|\n|153\n|SSD\n|\n|153\n|SST\n|-\n|154\n|SBJ\n|\n|154\n|SBT\n|\n|155\n|SRC\n|\n|155\n|SRH\n|\n|155\n|STE\n|-\n|156\n|SDH\n|\n|156\n|SUD\n|\n|157\n|SUC\n|\n|157\n|SUO\n|\n|157\n|WSU\n|-\n|158\n|LSY\n|\n|158\n|SYD\n|\n|158\n|SYH\n|\n|159\n|TNN\n|\n|159\n|TNS\n|-\n|160\n|ETL\n|\n|160\n|TBR\n|\n|160\n|TIL\n|\n|161\n|STO\n|\n|161\n|SVS\n|-\n|161\n|TOM\n|\n|162\n|TRE\n|\n|162\n|TRF\n|\n|163\n|TYL\n|\n|163\n|UTY\n|-\n|164\n|WKF\n|\n|164\n|WKK\n|\n|165\n|WLG\n|\n|165\n|WLV\n|\n|166\n|SJS\n|-\n|166\n|WHC\n|\n|166\n|WMW\n|\n|166\n|WST\n|\n|167\n|WNT\n|\n|167\n|WSW\n|-\n|167\n|WWR\n|\n|168\n|WAC\n|\n|168\n|WBQ\n|\n|169\n|WFH\n|\n|169\n|WFJ\n|-\n|169\n|WFN\n|\n|170\n|WGC\n|\n|170\n|WLW\n|\n|171\n|NWB\n|\n|171\n|WCX\n|-\n|171\n|WMB\n|\n|172\n|WHS\n|\n|172\n|WHY\n|\n|173\n|WGN\n|\n|173\n|WGW\n|-\n|174\n|WBO\n|\n|174\n|WIM\n|\n|175\n|WNC\n|\n|175\n|WNR\n|\n|176\n|WNS\n|-\n|176\n|WTI\n|\n|177\n|WWA\n|\n|177\n|WWD\n|\n|178\n|WOF\n|\n|178\n|WOS\n|-\n|179\n|EWR\n|\n|179\n|WRH\n|\n|179\n|WWO\n|\n|180\n|WRX\n|\n|180\n|WXC\n|-\n|181\n|YVJ\n|\n|181\n|YVP\n|\n|182\n|BFR\n|\n|182\n|CHX\n|\n|182\n|CST\n|-\n|182\n|CTK\n|\n|182\n|EUS\n|\n|182\n|FST\n|\n|182\n|KGX\n|\n|182\n|LBG\n|-\n|182\n|LST\n|\n|182\n|MOG\n|\n|182\n|MYB\n|\n|182\n|PAD\n|\n|182\n|STP\n|-\n|182\n|VIC\n|\n|182\n|WAE\n|\n|182\n|WAT\n|\n|183\n|CTO\n|\n|183\n|NET\n|-\n|184\n|DAR\n|\n|184\n|NRD\n|\n|187\n|RIL\n|\n|187\n|WAO\n|\n|191\n|BPW\n|-\n|191\n|BRI\n|\n|193\n|HAF\n|\n|193\n|HTR\n|\n|193\n|HWA\n|\n|193\n|HWE\n|-\n|193\n|HWF\n|\n|193\n|HWV\n|\n|193\n|HXX\n|\n|193\n|ZHJ\n|\n|198\n|BHI\n|-\n|338\n|BFR\n|\n|338\n|CHX\n|\n|338\n|CST\n|\n|338\n|EUS\n|\n|338\n|FST\n|-\n|338\n|KGX\n|\n|338\n|LBG\n|\n|338\n|LST\n|\n|338\n|MYB\n|\n|338\n|PAD\n|-\n|338\n|STP\n|\n|338\n|VIC\n|\n|338\n|WAT\n|\n|340\n|BUX\n|\n|342\n|SOP\n|-\n|344\n|SAV\n|\n|345\n|WKG\n|\n|350\n|LTN\n|\n|350\n|LUT\n|\n|351\n|RDC\n|-\n|358\n|WTB\n|\n|358\n|WTZ\n|\n|368\n|SEE\n|\n|368\n|SEZ\n|\n|371\n|TAD\n|-\n|371\n|TTA\n|\n|375\n|WSE\n|\n|376\n|BIP\n|\n|377\n|ERB\n|\n|377\n|ERI\n|-\n|382\n|LFL\n|\n|382\n|LIH\n|\n|383\n|PPR\n|\n|383\n|PRP\n|\n|384\n|LRB\n|-\n|384\n|LRR\n|\n|386\n|AFK\n|\n|386\n|ASI\n|\n|398\n|DBP\n|\n|398\n|DCL\n|-\n|398\n|DFP\n|\n|398\n|DHT\n|\n|399\n|RIA\n|\n|399\n|XCF\n|\n|400\n|RIA\n|-\n|400\n|XCF\n|\n|401\n|BFA\n|\n|401\n|BFC\n|\n|403\n|DFE\n|\n|403\n|DFL\n|-\n|405\n|HTR\n|\n|405\n|HWA\n|\n|405\n|HWE\n|\n|405\n|HXX\n|\n|405\n|ZHJ\n|-\n|406\n|HTR\n|\n|406\n|HXX\n|\n|406\n|ZHJ\n|\n|407\n|HTR\n|\n|407\n|HWA\n|-\n|407\n|HXX\n|\n|407\n|ZHJ\n|\n|408\n|HTR\n|\n|408\n|HWE\n|\n|408\n|HXX\n|-\n|408\n|ZHJ\n|\n|409\n|HAF\n|\n|409\n|HWF\n|\n|409\n|ZHJ\n|\n|411\n|KGX\n|-\n|411\n|STP\n|\n|412\n|MPL\n|\n|412\n|RSH\n|\n|413\n|WHD\n|\n|413\n|WHP\n|-\n|414\n|BFR\n|\n|414\n|CHX\n|\n|414\n|CST\n|\n|414\n|EUS\n|\n|414\n|FST\n|-\n|414\n|KGX\n|\n|414\n|LBG\n|\n|414\n|LST\n|\n|414\n|MYB\n|\n|414\n|PAD\n|-\n|414\n|STP\n|\n|414\n|VIC\n|\n|414\n|WAT\n|\n|415\n|CBZ\n|\n|415\n|COR\n|-\n|418\n|HWV\n|\n|418\n|HWX\n|\n|419\n|HAF\n|\n|419\n|HWV\n|\n|419\n|HXX\n|-\n|420\n|HTR\n|\n|420\n|HWA\n|\n|420\n|HWE\n|\n|420\n|HWF\n|\n|420\n|HWX\n|-\n|422\n|BFR\n|\n|422\n|CHX\n|\n|422\n|CST\n|\n|422\n|EUS\n|\n|422\n|FST\n|-\n|422\n|KGX\n|\n|422\n|LBG\n|\n|422\n|LST\n|\n|422\n|MYB\n|\n|422\n|PAD\n|-\n|422\n|STP\n|\n|422\n|VIC\n|\n|422\n|WAT\n|\n|423\n|BFR\n|\n|423\n|CHX\n|-\n|423\n|CST\n|\n|423\n|EUS\n|\n|423\n|FST\n|\n|423\n|KGX\n|\n|423\n|LBG\n|-\n|423\n|LST\n|\n|423\n|MYB\n|\n|423\n|PAD\n|\n|423\n|STP\n|\n|423\n|VIC\n|-\n|423\n|WAT\n|\n|424\n|BFR\n|\n|424\n|CHX\n|\n|424\n|CST\n|\n|424\n|EUS\n|-\n|424\n|FST\n|\n|424\n|KGX\n|\n|424\n|LBG\n|\n|424\n|LST\n|\n|424\n|MYB\n|-\n|424\n|PAD\n|\n|424\n|STP\n|\n|424\n|VIC\n|\n|424\n|WAT\n|\n|425\n|BFR\n|-\n|425\n|CHX\n|\n|425\n|CST\n|\n|425\n|EUS\n|\n|425\n|FST\n|\n|425\n|KGX\n|-\n|425\n|LBG\n|\n|425\n|LST\n|\n|425\n|MYB\n|\n|425\n|PAD\n|\n|425\n|STP\n|-\n|425\n|VIC\n|\n|425\n|WAT\n|\n|426\n|HTR\n|\n|426\n|HWA\n|\n|426\n|HWE\n|-\n|426\n|HXX\n|\n|427\n|HTR\n|\n|427\n|HXX\n|\n|428\n|HTR\n|\n|428\n|HWA\n|-\n|428\n|HXX\n|\n|429\n|HTR\n|\n|429\n|HWE\n|\n|429\n|HXX\n|\n|430\n|HAF\n|-\n|430\n|HWF\n|\n|431\n|HWV\n|\n|431\n|HWX\n|\n|432\n|CDN\n|\n|432\n|CDS\n|-\n|433\n|BHM\n|\n|433\n|BMO\n|\n|\n|\n|\n|\n|\n|\n|\n|\n|-\n|}\n\n{{Navtable-NreDataFeeds}}\n\n[[Category:National Rail Enquiries Data Feeds]]"
                    }
                ]
            },
            "132": {
                "pageid": 132,
                "ns": 0,
                "title": "Reference Data",
                "revisions": [
                    {
                        "contentformat": "text/x-wiki",
                        "contentmodel": "wikitext",
                        "*": "{{DISPLAYTITLE:Reference Data}}\nThree sets of reference data are available from Network Rail.  The ''All Reference Data'' topic must be selected and subscribed to in the ''My Feeds'' tab of the data feeds site to be able to access the CORPUS and SMART data.  The Train Planning data is available from this site.  See the [[About_the_feeds|about the feeds]] page for more details.\n\nOther useful reference sources are also listed.\n\n= Geospatial data =\n\nNetwork Rail have published a number of datasets containing geospatial data.  These are licensed under the [https://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/ OGL] and are available [https://github.com/openraildata/network-rail-gis on the openraildata GitHub organisation].\n\nThe repository contains ESRI shapefiles and will be updated by means of an FOI request every three months.  Additionally, [https://www.geopackage.org/ Geopackage] files have been created and are [https://github.com/openraildata/network-rail-gis/releases/ available in a separate release].\n\n= CORPUS: Location Reference Data =\n\nThis is provided from the CORPUS system (''Codes for Operations, Retail & Planning \u2013 a Unified Solution'').  The data is a periodically-updated snapshot of the CORPUS database.  This can be used to translate STANOX, TIPLOC, NLC, UIC and 3-alpha (CRS) codes to location descriptions.\n\n== Downloading CORPUS Data ==\n\nTo download the data, visit https://publicdatafeeds.networkrail.co.uk/ntrod/SupportingFileAuthenticate?type=CORPUS\n\n== CORPUS Data Format ==\n\nCORPUS data is supplied as a plain text file containing a JSON representation of the data.  Entries comprise the following fields (not all fields may contain data):\n\n{| class=\"wikitable\"\n! Field\n! Description\n|-\n|STANOX\n|[[STANOX]] code\n|-\n|UIC\n|UIC code\n|-\n|3ALPHA\n|[[CRS|3-letter location code]]\n|-\n|TIPLOC\n|[[TIPLOC]] code\n|-\n|NLC\n|[[NLC]] code\n|-\n|NLCDESC\n|Description of the [[NLC]]\n|-\n|NLCDESC16\n|[[NLC]] description (16-character version)\n|-\n|}\n\n= SMART: Berth Stepping Data =\n\nThe SMART database contains details of [[TD|train describer berths]] and allows movements into berths to be translated into arrivals and departures from locations.  The data feed contains a periodically-updated snapshot of the SMART database.\n\n== Downloading SMART Data ==\n\nTo download the data, visit https://publicdatafeeds.networkrail.co.uk/ntrod/SupportingFileAuthenticate?type=SMART\n\n== SMART Data Format ==\n\nSMART data is supplied as a plain text file containing a JSON representation of the data.  Entries comprise the following fields (not all fields may contain data):\n\n{| class=\"wikitable\"\n! Field\n! Description\n|-\n|TD\n|Train describer area\n|-\n|FROMBERTH\n|TD berth that movement is from\n|-\n|TOBERTH\n|TD berth that movement is to\n|-\n|FROMLINE\n|Line which the movement is from\n|-\n|TOLINE\n|Line which the movement is to\n|-\n|BERTHOFFSET\n|Difference between the time the berth event occurs and the time to be recorded in TRUST, in seconds\n|-\n|PLATFORM\n|Platform\n|-\n|EVENT\n|One of A, B, C, D\n|-\n|ROUTE\n|\n|-\n|STANOX\n|[[STANOX]] code for location\n|-\n|STANME\n|Abbreviated description of location\n|-\n|STEPTYPE\n|One of B, F, C, D, I, T, E\n|-\n|COMMENT\n|\n|-\n|}\n\n{| class=\"wikitable\"\n! EVENT\n! Description\n|-\n| A\n| Arrive Up\n|-\n| B\n| Depart Up\n|-\n| C\n| Arrive Down\n|-\n| D\n| Depart Down\n|}\n\n{| class=\"wikitable\"\n! STEPTYPE\n! Description\n|-\n| B\n| Between\n|-\n| F\n| From\n|-\n| T\n| To\n|-\n| D\n| Intermediate First\n|-\n| C\n| Clearout\n|-\n| I\n| Interpose\n|-\n| E\n| Intermediate\n|}\n\nAn in-depth [[SmartBerthDetail|overview of how to use SMART data]] is available.\n\n= BPLAN Geography =\n\nTwice a year, [[BPLAN_Geography|a set of geographical data]] is released from Network Rail which contains data to be used when planning trains.  It also includes other data, such as platform numbers at stations, and details of activity codes used in CIF.\n\nThe files are uploaded to the wiki, including an archive of some historical files, and are available [[BPLAN_Geography_Data|on a separate page]].\n\nBPLAN was previously available through the separate [[Network Rail API Platform]], but registrations are now suspended.\n= Train Planning Network Model =\n\nThe Train Planning Network Model contains very detailed information on the network model used by ITPS, the Integrated Train Planning System.\n\n== Downloading the data ==\n\nTo download the data, visit https://publicdatafeeds.networkrail.co.uk/ntrod/SupportingFileAuthenticate?type=TPS\n\nThe raw data is XML in tarred bzip2 (tar.bz2) format\n\nThe current schema for the Network Model is available [[Media:TPS_Schema_20200818.xsd.gz|here]].\n\nThe previous schema, valid until an unknown date in 2020, is available [[Media:TPS_Schema.xsd.gz|here]].\n\n= Other Sources =\n\n* [http://www.railwaycodes.org.uk/index.shtml Phil Deaves] has compiled a reference site listing location codes (CRS, STANOX and TIPLOC) as well as a comprehensive listing of other railway codes\n* [http://data.gov.uk/dataset/naptan NaPTAN] (National Public Transport Access Nodes) is provided by the Department for Transport and is the single government source for all public transport stops/stations in the UK, also including bus stops, ferry terminals, airports, metro stations, and heritage railways, as well as associated metadata, including the location of entrances to stations, and platform locations in some circumstances. Contains ATCO, CRS and TIPLOC codes and latitude/longitudes.\n\n= Programmatic Download =\n\nThe CORPUS, SMART and TPS reference data can be downloaded programmatically using the command\n <nowiki>curl -L -u '<USERNAME>:<PASSWORD>' -o '<FILENAME>' 'https://publicdatafeeds.networkrail.co.uk/ntrod/SupportingFileAuthenticate?type=<DATASET>'</nowiki>\nwhere\n* <code><USERNAME></code> and <code><PASSWORD></code> are from your NR Open Data login\n* <code><FILENAME></code> is what you want the locally downloaded file to be called\n* <code><DATASET></code> is one of <code>CORPUS</code>, <code>SMART</code> or <code>TPS</code>\n\nThis allows you to automate download of the data when it is updated\n\n{{Navtable-DataFeeds}}\n\n[[Category:Reference Data]]\n[[Category:3-Alpha Codes]]\n[[Category:NLC Codes]]\n[[Category:TIPLOC Codes]]\n[[Category:STANOX Codes]]\n[[Category:Identifying Locations]]\n[[Category:Train Describer Data]]\n[[Category:CORPUS Data]]\n[[Category:SMART Data]]"
                    }
                ]
            }
        }
    }
}