top of page

What is the GB Rail Stations API?

The GB Rail Stations API helps your platform deliver more inclusive, accurate, and compliant travel information, with structured data on every National Rail station in Great Britain. From postcode to platform, it supports both wayfinding and accessibility at scale.

Available in two formats:

Location feed includes station name, codes, postcode, and coordinates - ideal for mapping, dropdown selectors, and lookup tools

Full Details feed includes over 380 fields covering step-free access, staffing, retail, interchanges, and facilities, enabling fully accessible digital services and journey planning

Use it to power journey planners, chatbots, accessibility dashboards, station maps, and agentic assistants. Both feeds are regularly maintained and use standard CRS/NLC/TLC codes for easy integration.

Support All Users

Ensure your digital travel tools meet accessibility standards and Equality Act duties. The full dataset supports compliance with:

  • Public Sector Accessibility Regulations (2018)

  • Department for Transport Accessibility Strategies

  • Equality Act 2010 – Provision of Information

Data includes:

  • Step-free access

  • Staff availability

  • Accessible ticketing and toilet provision

  • Interchanges (bus, tram, ferry, airport)

Use it in public journey planners, accessibility statements, or local transport dashboards.

For Journey Planners, Retail Platforms, and Travel Management Companies

Help customers make informed travel choices with consistent, trusted data on every GB rail station. Use this feed to:

Enrich your station pages with opening hours, facilities, interchange info and accessibility details

Power mobile apps with postcode-level accuracy for real-time wayfinding

Support low-friction search with structured identifiers and standard location codes

Embed station-level access data into multi-modal planners and sustainable travel offers

Integrate with other DataWharf APIs to create smooth, legible customer journeys

Whether you're building retail tools, workplace mobility products, or B2C rail search, this dataset ensures your service is both user-friendly and technically robust.

How it works

The GB Rail Stations dataset is delivered via two RESTful APIs, each returning clean, structured JSON that’s easy to integrate into your platform or service.​

Feeds are maintained and updated using authoritative sources. There’s no need for flat file ingestion or manual updates: you query only what you need, when you need it.

Feature

Location Feed

Full Details Feed

Station name & codes

✔️

✔️

Geographic Location

✔️

✔️

Station operator & local network

✖️

✔️

Accessibility of Station Services

✖️

✔️

Staffing

✖️

✔️

Physical Accessibility

✖️

✔️

Car & Bike Access & Parking

✖️

✔️

Toilets & Waiting Facilities

✖️

✔️

Retail and food & beverage outlets

✖️

✔️

Interchanges to other modes

✖️

✔️

Special access info

✖️

✔️

Who it’s for

The GB Rail Stations API supports a wide range of use cases across transport, policy, digital services, and infrastructure planning.


From simple maps to complex AI assistants, it ensures that every GB rail station is represented with clarity, accuracy, and context.

Use the Location feed for quick lookup, maps and interfaces.
Use the Full Details feed when journey context, accessibility, and compliance matter.

Mobility, journey planning, and MaaS platforms: Power real-time station lookup, access data, and interchange links across multimodal services

Public sector tools meeting accessibility obligations: Build digital services that comply with legislation, using structured data on access, staffing, and facilities

Tourism, hospitality and event apps: Help visitors understand where a station is, how accessible it is, and how to connect onward - even if unfamiliar with UK rail

Local authorities and urban planners:

Support accessibility audits, modal shift analysis, and station catchment assessments using detailed facility and access metadata

AI assistants and conversational agents: Give agents the data they need to interpret station-level questions, suggest routes, and describe station conditions

Commercial journey planners and transport retailers: Surface station opening hours, interchange modes, and local info for better pre-travel UX and route visualisation

Mapping, navigation, and location APIs:

Use the location feed to geocode every GB station and align with postcode, local authority and ITL2 regions

Transport consultants and network modellers: Integrate consistent, granular station data into dashboards, travel tools, and modelling frameworks

For Developers and AI Builders

This API is optimised for agentic systems and natural-language tools.
Whether powering a travel assistant, chatbot, or mapping interface, the data works seamlessly in:

  • LangChain or Bedrock Agents

  • Journey planners and web search fields

  • Voice-based interfaces

  • Route explanation tools

Handles live station queries, disambiguation, and detailed data retrieval — all via lightweight REST APIs.

Try it or subscribe

Both feeds are production-ready and available now via secure API.

Use them directly in your live customer-facing tools — from journey planners and digital maps to AI agents and accessibility dashboards.

DataWharf feeds are available via the Rail Data Marketplace with subscription offers tailored to suit rail industry organisations as well as general users. Full details are available on each product listing via the links below. Contact us to discuss bespoke packages.

Full Details Feed

Full access available through a license and usage credit model.

Location Feed

Full access available through a license and usage credit model.

Explore more with DataWharf

The GB Rail Carbon Calculator works best when combined with other DataWharf APIs.

Popular combinations include:

Fuzzy Station Searchto help users search for journey  origin or destination stations even if they input inaccurate or incomplete spellings.

Carbon Calculator - providing route-based carbon emissions for any passenger rail journey on the Great Britain rail network.

GB Rail Operator Details - supports travellers by describing each train company's operational remit, performance and planned industrial actions.

Explore our suite of APIs or contact us to discuss a custom bundle for your use case.

bottom of page