{"@context": "https://schema.org", "@type": "WebAPI", "name": "Transport for London Unified API API", "description": "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 ", "provider": {"@type": "Organization", "name": "tfl.gov.uk"}, "documentation": "https://api.tfl.gov.uk/swagger/docs/v1"}
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
Every row below was read from the vendor's own OpenAPI document. The summary text is theirs. What this registry adds is that each operation is indexed with its method, path, base URL and auth scheme, so a search for a capability can answer with a call rather than a name, and that the endpoint is probed on a schedule.
Specifications as held by the APIs.guru corpus, whose newest record is 2023-04-21. Operations the vendor has added since are not listed here; the origin links above are the vendor's own current documents.
base URLs: https://api.digital.tfl.gov.uk
auth: a p i k e y
find it by capability: POST /search {"query":{"text":"..."}} returns these
operations with their invocation detail. Connect any agent client.
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
| method | path | what the vendor says it does |
|---|---|---|
GET | /AccidentStats/{year} | Gets all accident details for accidents occuring in the specified year AccidentStats |
GET | /AirQuality | Gets air quality data feed AirQuality |
GET | /BikePoint | Gets all bike point locations. The Place object has an addtionalProperties array which contains the nbBikes, n |
GET | /BikePoint/Search | Search for bike stations by their name, a bike point's name often contains information about the name of the s |
GET | /BikePoint/{id} | Gets the bike point with the given id. BikePoint |
GET | /Cabwise/search | Gets taxis and minicabs contact information Cabwise |
GET | /Journey/JourneyResults/{from}/to/{to} | Perform a Journey Planner search from the parameters specified in simple types Journey |
GET | /Journey/Meta/Modes | Gets a list of all of the available journey planner modes Journey |
GET | /Line/Meta/DisruptionCategories | Gets a list of valid disruption categories Line |
GET | /Line/Meta/Modes | Gets a list of valid modes Line |
GET | /Line/Meta/ServiceTypes | Gets a list of valid ServiceTypes to filter on Line |
GET | /Line/Meta/Severity | Gets a list of valid severity codes Line |
GET | /Line/Mode/{modes} | Gets lines that serve the given modes. Line |
GET | /Line/Mode/{modes}/Disruption | Get disruptions for all lines of the given modes. Line |
GET | /Line/Mode/{modes}/Route | Gets all lines and their valid routes for given modes, including the name and id of the originating and termin |
GET | /Line/Mode/{modes}/Status | Gets the line status of for all lines for the given modes Line |
GET | /Line/Route | Get all valid routes for all lines, including the name and id of the originating and terminating stops for eac |
GET | /Line/Search/{query} | Search for lines or routes matching the query string Line |
GET | /Line/Status/{severity} | Gets the line status for all lines with a given severity A list of valid severity codes can be ob |
GET | /Line/{ids} | Gets lines that match the specified line ids. Line |
GET | /Line/{ids}/Arrivals/{stopPointId} | Get the list of arrival predictions for given line ids based at the given stop Line |
GET | /Line/{ids}/Disruption | Get disruptions for the given line ids Line |
GET | /Line/{ids}/Route | Get all valid routes for given line ids, including the name and id of the originating and terminating stops fo |
GET | /Line/{ids}/Status | Gets the line status of for given line ids e.g Minor Delays Line |
GET | /Line/{ids}/Status/{StartDate}/to/{EndDate} | Gets the line status for given line ids during the provided dates e.g Minor Delays Line |
GET | /Line/{id}/Route/Sequence/{direction} | Gets all valid routes for given line id, including the sequence of stops on each route. Line |
GET | /Line/{id}/StopPoints | Gets a list of the stations that serve the given line id Line |
GET | /Line/{id}/Timetable/{fromStopPointId} | Gets the timetable for a specified station on the give line Line |
GET | /Line/{id}/Timetable/{fromStopPointId}/to/{toStopPointId} | Gets the timetable for a specified station on the give line with specified destination Line |
GET | /Mode/ActiveServiceTypes | Returns the service type active for a mode. Currently only supports tube Mode |
GET | /Mode/{mode}/Arrivals | Gets the next arrival predictions for all stops of a given mode Mode |
GET | /Occupancy/BikePoints/{ids} | Get the occupancy for bike points. Occupancy |
GET | /Occupancy/CarPark | Gets the occupancy for all car parks that have occupancy data Occupancy |
GET | /Occupancy/CarPark/{id} | Gets the occupancy for a car park with a given id Occupancy |
GET | /Occupancy/ChargeConnector | Gets the occupancy for all charge connectors Occupancy |
GET | /Occupancy/ChargeConnector/{ids} | Gets the occupancy for a charge connectors with a given id (sourceSystemPlaceId) Occupancy |
GET | /Place | Gets the places that lie within a geographic region. The geographic region of interest can either be specified |
GET | /Place/Address/Streets/{Postcode} | Gets the set of streets associated with a post code. Place |
GET | /Place/Meta/Categories | Gets a list of all of the available place property categories and keys. Place |
GET | /Place/Meta/PlaceTypes | Gets a list of the available types of Place. Place |
and 44 more operation(s) in this specification, all searchable.
specification origin: https://api.tfl.gov.uk/swagger/docs/v1
nothing on this page is a rating, an endorsement or a claim about quality. Reachability is what our probes observed from one network; answering is a floor under usefulness, not a measure of it.