National Rail Scraper for Live Trains, Fares and Stations

National Rail sells no tickets itself: its planner prices Advance, Off-Peak and Anytime fares, then hands you to a retailer. Our National Rail scraper keeps fares, boards and disruptions.

Plans from €169 a month · Free project assessment · Reply within 1 business day

CSV · Excel · JSON · XML · FTP · SFTP · Amazon S3 · Google Cloud

nationalrail.co.uk
National Rail Scraper for Live Trains, Fares and Stations
nationalrail.co.ukwhat you get
Typical fields for travel sites
propertycitycheck_inroom_typepriceavailablerating
Delivery

API, JSON feed or CSV, XLSX and JSON files

Schedule

One-time, monthly, weekly, daily or 3 times a day

How We Scrape National Rail Boards and Fares

  1. You send

    National Rail pages, filters, fields and a schedule

  2. We run the scrapers

    Built, monitored and repaired by our team

  3. You receive the data

    API, JSON feed or CSV, XLSX and JSON files

Tell us what to watch: stations by name or CRS code for live boards, origin and destination pairs with dates for fares, the operators whose disruption matters to you, or all three. We build the crawlers, run them on your timetable and repair them when nationalrail.co.uk changes, with pacing, proxy rotation and rendering handled on our side. Fare searches stop once the journey planner has listed its tickets and retailers; nothing is bought and no personal details are entered. Boards can be read at short intervals through the day for live work, while fares run daily or weekly. A free assessment and a sample come before the first scheduled run.

National Rail Data From Boards, Planner and Stations

Our National Rail scraper reads three kinds of page and gives each its own row type: a train on a station board, a journey and its tickets in the planner, and a station.

  • Live departures and arrivalsstation and its three-letter CRS code, destination or origin with its code and any via, scheduled time, status (On time, Expected with a new time, Delayed, Cancelled, Departed), platform, or a dash while none is set, journey time, number of stops and the train operator.
  • Delay reasonthe line printed above a late or cancelled train, which reads This service is running late or names the cause after This service has been delayed because of or This service is cancelled because of, plus the Major warning a board shows for wider disruption.
  • Service detailsevery calling point with its time, status and platform, the number of coaches under Train and coach facilities, and the service id the page carries in its address.
  • Journeysdeparts and arrives with platforms, duration, Direct or the number of changes, the Fastest and Slower journey labels (slower meaning it will be overtaken by a later departure) and the Lowest Single from price.
  • TicketsStandard and First Class from prices, the ticket filter with its counts (Recommended, Advance, Off-Peak, Anytime) and, per ticket, its name - Advance Single, Off-Peak Single, Anytime Single - with the price and the route rule: one operator only, or any permitted route.
  • Stationsaddress, who manages the station, step-free access category, staff help hours, ticket office opening hours, station facilities from Wi-Fi and toilets to Changing Places and a First Class lounge, parking, cycle storage and onward transport links.

Each fare row also records the passenger mix it was priced for, which the site prints as, for example, 1 Adult, No Railcard.

National Rail Data From Boards, Planner and Stations
National Rail Price Tracker, Disruptions and Engineering Works

National Rail Price Tracker, Disruptions and Engineering Works

Boards change by the minute and fares by the day, so a National Rail dataset gets its depth from what surrounds a single page.

  • Advance fare historyAdvance tickets are valid only on the date and train booked and are sold in limited numbers on a first come, first served basis, so the cheapest one left on a train shifts as they go. Repeated planner searches for the same trains give the price history a National Rail price tracker is built on.
  • Delay and cancellation recordsboards read at intervals keep each train's final status and the reason the site gave, so punctuality can be measured by station, operator and hour.
  • Operator statusthe status page lists every train operator as Good service or with a headline such as major disruption between two stations, linked to an incident page with when it was reported and last updated, the operators and routes affected, and which other services accept tickets.
  • Engineering worksplanned works filtered by Today, Tomorrow or Next Month and by train operator, many of them buses replacing trains on a named stretch between two dates.
  • Retailer listthe train companies and independent retailer sites the planner sends a buyer to for each journey.

About National Rail Enquiries

Source
nationalrail.co.uk
Category
travel sites
Delivery
API, JSON feed, CSV, XLSX
Plans
From €169 a month
Get a quote

National Rail Enquiries at nationalrail.co.uk is the shared information site of Great Britain's train companies, from Avanti West Coast and LNER to ScotRail, Transport for Wales and Northern. It sells nothing itself: its journey planner finds the trains and fares, then passes the buyer to a train company or an independent retailer to pay.

The header has four entry points - Live Departures, Disruptions, Plan a Journey and My Travel, with Stations, Status Updates and Engineering Works in the menu below. Stations have readable addresses such as manchester-piccadilly as well as three-letter CRS codes, which also name origins and destinations in planner searches and appear beside every station name on a board, from London Euston to small halts.

Fares follow the national ticket types the site explains: Advance, Off-Peak and Anytime, plus Season and Flexi Season, Pay As You Go, Oyster and Travelcards, Rover and Ranger tickets, with railcards cutting the price for those who hold one and discounts for children. Station pages set out each station's facilities, accessibility and opening hours, and the help section covers Delay Repay and other compensation for late or cancelled trains.

25Developers
500+Customers
1.5BPages extracted
15,000+Hours saved for our clients

National Rail scraping plans and pricing

Airplane

€199one-time

Setup fee included

100,000
One-time
Up to 5 days
7 days

Helicopter

€169/ mo

Setup fee €499

250,000
Monthly
Up to 5 days
14 days

Glasses

€229/ mo

Setup fee €499

1,000,000
Weekly
Up to 5 days
30 days

Microscope popular

€349/ mo

Setup fee €499

2,000,000
Daily
Same day
60 days

DNA

€549/ mo

Setup fee €799

3,000,000
3 times daily
Same day
90 days

Delivery: CSV, JSON or XLSX files, our API or a JSON feed. MCP server on request.

Full plan details

Why Scrape National Rail

National Rail puts the whole network on one site, which makes it the place to measure British rail as a system rather than one operator at a time.

  • Punctuality analysisBoard statuses and delay reasons by station and hour give researchers, consultancies and the press a running record of delays and cancellations, with the cause the railway itself gave.
  • Fare benchmarkingAdvance, Off-Peak and Anytime prices on London routes and intercity corridors, in Standard and First Class, show where Advance fares undercut tickets bought on the day and by how much.
  • Disruption monitoringOperator status and engineering works let logistics firms, event organisers and employers warn people ahead of a strike day or a weekend of replacement buses.
  • Station and accessibility dataStep-free categories, staffed hours, ticket office times and parking per station feed travel apps, accessibility guides and property research.
  • Family and railcard pricingSearches priced for children and railcard holders show what a family trip costs next to an adult fare.

About ScrapeIt

ScrapeIt is a team that builds and maintains web crawlers for clients and hands over the data rather than the tooling. National Rail projects mix fast-moving board data with slower fare and station tables, so we set a refresh rate per table and document every field. Personal data is handled under GDPR. Plans start from EUR 169 a month, or EUR 199 for a one-time extract.

FAQ

Still unsure? Write to info@scrapeit.io

Do you offer a National Rail API for live trains and fares?

Yes. The ScrapeIt National Rail API returns board rows with scheduled time, status, platform, operator and delay reason, and planner rows with ticket type and price, as JSON from an endpoint we host, refreshed as often as your project needs. The same tables can arrive as CSV or Excel files, by SFTP or Amazon S3, or loaded into your database.

Is it legal to scrape National Rail?

Yes. Live boards, journey results, fares, disruption notices and station pages are open to anyone on nationalrail.co.uk without signing in. We collect only publicly available data - everything a visitor can see on National Rail - and we collect it legally. Fare searches use stations, dates and a passenger count, and nothing is bought.

How often do National Rail prices change?

For Advance tickets, as often as they sell: they come in limited numbers per train, usually go on sale weeks ahead, and on many routes stay available until the day of travel, so the Lowest Single from figure for a train can move between two searches. A daily run per route and date suits most fare work, with extra runs in the final days before travel.

Can you build a National Rail dataset of delays and cancellations?

Yes. We read the departure and arrival boards of the stations you choose at short intervals and keep each train's last status, platform and the reason line the site shows, from a plain This service is running late to This service is cancelled because of and the cause. Over weeks that becomes a delay and cancellation history by station, operator and hour, joined to operator status and incident pages by date.

Do you cover every station and train operator?

Yes - every station with a National Rail page and every operator on the status page, from Avanti West Coast to West Midlands Railway, including the Elizabeth line, Heathrow Express and Eurostar listings. Station pages are refreshed less often than boards, usually weekly, since facilities and ticket office hours change slowly.

How it works

  1. 1

    Make a request

    You share your needs, expectations, and desired timeframe. We'll suggest the best solution based on your request and budget.

  2. 2

    We configure the crawlers

    Our specialists configure the crawlers and extract a sample dataset for your review before proceeding with the full-scale extraction.

  3. 3

    Collect and deliver

    Once you approve the sample, we launch the project and start full data collection. We gather, filter, and structure the data for easy use, delivering it on time in your preferred format.

  4. 4

    Maintain and support

    Our team manages ongoing processes, monitors website changes, and supports all data extraction cycles. We can also help integrate data into your systems or create dashboards to simplify analysis.

Request a quote

Tell us which sites, which fields and how often. A couple of lines is enough to start.

  • We reply within 1 business day
  • A sample dataset before the full run
  • We sign an NDA on request
  • Delivery by API, JSON feed or files
Which sites, which fields, how often. A couple of lines is enough.

This form is protected by Google reCAPTCHA, which loads when you start filling it in. If you prefer not to use it, email us at info@scrapeit.io. Privacy & Cookie Policy

We reply within 1 business day. No obligation.

National Rail data from €169/month. Free project assessment, reply within 1 business day.