Network Rail API Platform
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'.