Network Rail API Platform

From Open Rail Data Wiki
Revision as of 17:46, 25 January 2023 by PeterHicks (talk | contribs) (Add NR API platform page)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Through an API platform hosted by Network Rail, various programmatic interfaces to systems and data are available for consumption. At the time of writing, there is just one API, but this will be expanded in future:

API Endpoint Usage
BPLAN (Reference Data) API https://data.networkrail.co.uk/api/pifgeography/v1/train/referenceDataFile BPLAN Geography File

Requesting access

To request access, email opendata@networkrail.co.uk. If granted access, you will be given a client ID and client secret. These should be passed in the HTTP message header in the fields 'client_id' and 'client_secret'.