Skip to main content
Last updated:Today at 17:05
Train companies affected:National Rail

Knowledgebase (KB)

About Knowledgebase

Knowledgebase (KB) is the name given to the backend engine that contains all the textual content provided on the National Rail (NR) website. It holds a range of rich supplementary information, both static and real-time, about travelling by train on the GB rail network.

KB contains a database of static information about the facilities at each of the 2500+ stations on the network, including specific information about available facilities for those with accessibility needs. Whilst this data is held centrally in the NR Knowledgebase, it is kept up-to-date by each of the TOCs responsible for operating and maintaining the stations. 

Another primary content base held in KB is contextual information about real-time disruption to train services, along with detail about planned changes to services due to engineering work. Other content includes information about the train operating companies, ticket types, promotions, fares and restrictions.

Knowledgebase feeds

Information in KB is made available in XML files that are downloaded through a web browser. Access is via registration with the Rail Data Marketplace.

Information on all available Knowledgebase XML feeds can be found below.

Knowledgebase feeds details

Each KB datafeed is listed below along with version availability information.

Data feed

Version

Available from

Withdrawn date

Poll frequency

TOCs

4.0

Now

None

At least once every 24 hours

Ticket Types

4.0

Now

None

At least once every 24 hours

Ticket Restrictions

4.0

Now

None

At least once every 24 hours

Stations

4.0

Now

None

At least once every 24 hours

Promotions

4.0

Now

None

At least once every 24 hours

National Service Indicator

4.0

Now

None

Recommend every
5 minutes

Incidents

4.0

Now

None

Recommend every
5 minutes

Access to the KB datafeeds is available through the Rail Data Marketplace.

Documentation for the feeds can be found on ASSIST (RSPS5050 National Rail Enquiries Knowledgebase Data Feeds Specification).

Knowledgebase terms of access

Access to Knowledgebase feeds is enabled through automated registration, you must have an account on the Rail Data Marketplace.

Knowledgebase usage charges

The KB data sets are provided free to registered users, meaning they are hosted at a loss to National Rail.