rail-live-boards
Query UK National Rail live boards, delays, cancellations, platforms, and service details.
Rail Live Boards
Use this skill for live UK rail departure and arrival boards, disruption notices, platform checks, and service details.
Setup
Requires a valid Rail Data API key:
- Set
RAILDATA_API_KEYin the environment. NATIONAL_RAIL_TOKENis accepted as a fallback.- The helper calls
https://api1.raildata.org.uk/1010-live-arrival-and-departure-boards-arr-and-dep1_1/LDBWS/api/20220120/GetArrDepBoardWithDetails/{crs}.
Commands
./scripts/rail-live-boards.py board PAD
./scripts/rail-live-boards.py departures PAD --rows 5
./scripts/rail-live-boards.py arrivals MAN --rows 5
./scripts/rail-live-boards.py search paddington
Reading Results
The helper prints live JSON.
Useful fields:
locationName,crs,generatedAtnrccMessages[]trainServices[]- Per service:
std/etdsta/etaplatformoperatororigin[]destination[]isCancelled,cancelReason,delayReasonformation.coacheswhen present
Notes
- Use 3-letter CRS codes like
PAD,EUS,MAN,RDG. - Keep the API key private.
- If you need a compact summary for chat, read the first few services and the disruption messages first.
- Downloads
- Security audit
- Pass
- Last updated
- 1mo ago
- Current version
- v1.0.0
- License
- MIT-0
