Free data for your project
Download everything each morning, or ask the API. Free for personal and hobby projects, apps and research. The facts are open; please credit us.
Downloads
Made at 11:23 every day · CSV, JSON and Parquet · each with a changelog| File | What's in it | Rows | Licence | Get it |
|---|---|---|---|---|
| classes | Every class and sub-class: type, builder, dates, power, speed | 122 | ODbL | CSVJSONParquet |
| vehicles | Every unit and loco: number, former numbers, operator, owner, livery, status, with dates | 4,831 | ODbL | CSVJSONParquet |
| workings | Freight workings: flow, cargo, how often, usual traction | 1,564 | ODbL | CSVJSONParquet |
| stations | Stations: codes, place, operator | 2,599 | ODbL | CSVJSONParquet |
| runs | What ran: train, day, unit or loco, how sure, a day behind | ODbL | LATER | |
| drawings | Our drawing of each class and livery, as SVG | CC BY-NC | LATER | |
| sources | Every source we publish from, with its licence | 50 | ODbL | CSVJSONParquet |
The API
The same facts as the files, one at a time. A free key, 60 requests a minute, answers cached for an hour. Live train positions come later, from Network Rail's open feeds only.
Every fact says how sure it is
planned- PLANNEDa plan says so, such as Network Rail's allocations
usual- USUALLYwhat a working normally gets
confirmed- SEENread off photos and checked
deduced- WORKED OUTfrom where its locos were seen; names the facts it used
{
"number": "66671",
"formerly": [{ "number": "66761", "until": "by 2026-01-30" }],
"class": "66/7",
"operator": { "name": "GB Railfreight", "tier": "confirmed" },
"runs": [
{ "day": "2026-12-04", "train": "6V84", "tier": "confirmed",
"sources": 2 },
{ "day": "2026-12-03", "train": "6V84", "tier": "deduced",
"from": ["2026-12-03/6J41", "2026-12-03/6B26"],
"being_checked": true }
],
"licence": "ODbL-1.0",
"attribution": "Rail Snaps, data.railsnaps.com. Contains public sector information licensed under the Open Government Licence v3.0."
}
What you may do
Open Database Licence
Use them for anything, commercial too. Credit us, and if you publish a database built on them, share it under the same licence.
CC BY-NC 4.0
Free in personal, hobby and non-commercial projects, with credit: Drawing: Rail Snaps, data.railsnaps.com, CC BY-NC 4.0. Models, prints and merchandise need a licence from us.
Terms of use
A free key for each project and fair limits. Don't resell the API itself or hand your key to others. The files have no limits.
Credit, wherever you show it
Rail Snaps, data.railsnaps.com. Contains public sector information licensed under the Open Government Licence v3.0. Station layouts © OpenStreetMap contributors.
Never in here
- Raw messages from any rail data feed
- Anything from National Rail's Darwin feed
- Photos, or who sent a sighting
- Anything people tell us before the next day