Logistics & shipping
tfl.gov.uk
Transport for London Unified sandbox and mock API
Our unified API brings together data across all modes of transport into a single RESTful API. This API provides access to the most highly requested realtime and status infomation across all the modes of transport, in a single and consistent way. Access to the developer documentation is available at https://api.tfl.gov.uk Writes persist, data moves on a schedule and every change can fire a signed webhook.
- Operations
- 84
- Collections
- -
- Event types
- -
example request
curl https://your-tfl-gov-uk.slurry.io/AirQuality \
-H "Authorization: Bearer slurry_sim_..."Your simulation gets its own hostname, key and IP allow-list. Built from API version v1.
What gets simulated
Collections, relationships and state machines are worked out from the spec when you start the simulation.
- State. Creates, updates and deletes persist and show up in later reads.
- Behaviour. Records move through their states on a schedule you control, and you can fast-forward up to 30 days.
- Webhooks. Every change emits a signed, retried event.
- Failure. Per-endpoint errors, latency and chaos rules, on demand.
Operations
First 12 of 84.
- GET/AccidentStats/{year}
- GET/AirQuality
- GET/BikePoint
- GET/BikePoint/Search
- GET/BikePoint/{id}
- GET/Cabwise/search
- GET/Journey/JourneyResults/{from}/to/{to}
- GET/Journey/Meta/Modes
- GET/Line/Meta/DisruptionCategories
- GET/Line/Meta/Modes
- GET/Line/Meta/ServiceTypes
- GET/Line/Meta/Severity