First/Last Train API
A small, free API for querying first and last tube train times. Documentation coming soon.
What it does
The First/Last API returns first and last service times for London Underground stations, filterable by line, direction, day pattern, and accessibility features. It’s the same data that powers the journey planner on this site.
The endpoint is live at /api/first-last and accepts query parameters including line, station, day, anddirection. Full documentation — parameters, response shape, rate limits, and examples — is being written up and will appear here shortly.
Coming soon
Proper docs are in progress. If you want early access, need something specific, or just want to know when this page becomes useful, get in touch. We’ll let you know when it’s ready.