Transportation — entry 047 of 69
Transport for London, England
Transport for London's Unified API is the official real-time and static data feed for the capital's entire transport network — Tube, bus, rail, river, cycle hire, and road status — covering arrivals, journey planning, disruptions, and air-quality data. A free app_key raises the default 50-requests-per-minute anonymous limit to 500 requests per minute, with higher quotas available on request; responses are served as JSON or XML.
AuthenticationAPI KeySign up with the provider to obtain credentials.
HTTPSSupportedTraffic is encrypted in transit.
CORSEnabledCallable directly from browser JavaScript.
PricingFreeNo paid tier — free for the documented use case.
FormatsJSON, XMLResponses can be requested as JSON or XML.
GreatAPIs Score
Score90
Authentication15/25API key required
Pricing20/20Free to use
Docs20/20Machine-readable spec file bundled
Formats15/15Supports 2 response formats
Freshness20/20Verified within 6 months
Auth quickstart
- Sign up with the provider to get an API key.
- Send it on every request as a header
Authorization: <key> - The exact header isn't documented — Authorization is a common default; confirm in the provider's docs.
Stored keyNo key stored
Your key is stored only in this browser (localStorage) and sent directly to the API — never to greatapis.
Endpoints
AccidentStats1
GET/AccidentStats/{year}Gets all accident details for accidents occuring in the specified year
Parameters
| Name | In | Required | Type |
|---|---|---|---|
year | path | yes | integer |
Responses
| Status | Description | Schema |
|---|---|---|
200 | OK | — |
AirQuality1
GET/AirQualityGets air quality data feed
Responses
| Status | Description | Schema |
|---|---|---|
200 | OK | System.Object |
BikePoint3
GET/BikePointGets all bike point locations. The Place object has an addtionalProperties array which contains the nbBikes, nbDocks and nbSpaces
numbers which give the status of the BikePoint. A mismatch in these numbers i.e. nbDocks - (nbBikes + nbSpaces) != 0 indicates broken docks.
Responses
| Status | Description | Schema |
|---|---|---|
200 | OK | — |
GET/BikePoint/SearchSearch for bike stations by their name, a bike point's name often contains information about the name of the street
or nearby landmarks, for example. Note that the search result does not contain the PlaceProperties i.e. the status
or occupancy of the BikePoint, to get that information you should retrieve the BikePoint by its id on /BikePoint/id.
Parameters
| Name | In | Required | Type |
|---|---|---|---|
query | query | yes | string |
Responses
| Status | Description | Schema |
|---|---|---|
200 | OK | — |
GET/BikePoint/{id}Gets the bike point with the given id.
Parameters
| Name | In | Required | Type |
|---|---|---|---|
id | path | yes | string |
Responses
| Status | Description | Schema |
|---|---|---|
200 | OK | Tfl.Api.Presentation.Entities.Place |
Cabwise1
GET/Cabwise/searchGets taxis and minicabs contact information
Parameters
| Name | In | Required | Type |
|---|---|---|---|
lat | query | yes | number |
lon | query | yes | number |
optype | query | no | string |
wc | query | no | string |
radius | query | no | number |
name | query | no | string |
maxResults | query | no | integer |
legacyFormat | query | no | boolean |
forceXml | query | no | boolean |
twentyFourSevenOnly | query | no | boolean |
Responses
| Status | Description | Schema |
|---|---|---|
200 | OK | System.Object |
Journey2
GET/Journey/JourneyResults/{from}/to/{to}Perform a Journey Planner search from the parameters specified in simple types
Parameters
| Name | In | Required | Type |
|---|---|---|---|
from | path | yes | string |
to | path | yes | string |
via | query | no | string |
nationalSearch | query | no | boolean |
date | query | no | string |
time | query | no | string |
timeIs | query | no | string |
journeyPreference | query | no | string |
mode | query | no | array |
accessibilityPreference | query | no | array |
fromName | query | no | string |
toName | query | no | string |
viaName | query | no | string |
maxTransferMinutes | query | no | string |
maxWalkingMinutes | query | no | string |
walkingSpeed | query | no | string |
cyclePreference | query | no | string |
adjustment | query | no | string |
bikeProficiency | query | no | array |
alternativeCycle | query | no | boolean |
alternativeWalking | query | no | boolean |
applyHtmlMarkup | query | no | boolean |
useMultiModalCall | query | no | boolean |
walkingOptimization | query | no | boolean |
taxiOnlyTrip | query | no | boolean |
routeBetweenEntrances | query | no | boolean |
useRealTimeLiveArrivals | query | no | boolean |
calcOneDirection | query | no | boolean |
includeAlternativeRoutes | query | no | boolean |
overrideMultiModalScenario | query | no | integer |
combineTransferLegs | query | no | boolean |
Responses
| Status | Description | Schema |
|---|---|---|
200 | OK | Tfl.Api.Presentation.Entities.JourneyPlanner.ItineraryResult |
GET/Journey/Meta/ModesGets a list of all of the available journey planner modes
Responses
| Status | Description | Schema |
|---|---|---|
200 | OK | — |
Line21
GET/Line/Meta/DisruptionCategoriesGets a list of valid disruption categories
Responses
| Status | Description | Schema |
|---|---|---|
200 | OK | — |
GET/Line/Meta/ModesGets a list of valid modes
Responses
| Status | Description | Schema |
|---|---|---|
200 | OK | — |
GET/Line/Meta/ServiceTypesGets a list of valid ServiceTypes to filter on
Responses
| Status | Description | Schema |
|---|---|---|
200 | OK | — |
GET/Line/Meta/SeverityGets a list of valid severity codes
Responses
| Status | Description | Schema |
|---|---|---|
200 | OK | — |
GET/Line/Mode/{modes}Gets lines that serve the given modes.
Parameters
| Name | In | Required | Type |
|---|---|---|---|
modes | path | yes | array |
Responses
| Status | Description | Schema |
|---|---|---|
200 | OK | — |
GET/Line/Mode/{modes}/DisruptionGet disruptions for all lines of the given modes.
Parameters
| Name | In | Required | Type |
|---|---|---|---|
modes | path | yes | array |
Responses
| Status | Description | Schema |
|---|---|---|
200 | OK | — |
GET/Line/Mode/{modes}/RouteGets all lines and their valid routes for given modes, including the name and id of the originating and terminating stops for each route
Parameters
| Name | In | Required | Type |
|---|---|---|---|
modes | path | yes | array |
serviceTypes | query | no | array |
Responses
| Status | Description | Schema |
|---|---|---|
200 | OK | — |
GET/Line/Mode/{modes}/StatusGets the line status of for all lines for the given modes
Parameters
| Name | In | Required | Type |
|---|---|---|---|
modes | path | yes | array |
detail | query | no | boolean |
severityLevel | query | no | string |
Responses
| Status | Description | Schema |
|---|---|---|
200 | OK | — |
GET/Line/RouteGet all valid routes for all lines, including the name and id of the originating and terminating stops for each route.
Parameters
| Name | In | Required | Type |
|---|---|---|---|
serviceTypes | query | no | array |
Responses
| Status | Description | Schema |
|---|---|---|
200 | OK | — |
GET/Line/Search/{query}Search for lines or routes matching the query string
Parameters
| Name | In | Required | Type |
|---|---|---|---|
query | path | yes | string |
modes | query | no | array |
serviceTypes | query | no | array |
Responses
| Status | Description | Schema |
|---|---|---|
200 | OK | Tfl.Api.Presentation.Entities.RouteSearchResponse |
GET/Line/Status/{severity}Gets the line status for all lines with a given severity
A list of valid severity codes can be obtained from a call to Line/Meta/Severity
Parameters
| Name | In | Required | Type |
|---|---|---|---|
severity | path | yes | integer |
Responses
| Status | Description | Schema |
|---|---|---|
200 | OK | — |
GET/Line/{ids}Gets lines that match the specified line ids.
Parameters
| Name | In | Required | Type |
|---|---|---|---|
ids | path | yes | array |
Responses
| Status | Description | Schema |
|---|---|---|
200 | OK | — |
GET/Line/{ids}/Arrivals/{stopPointId}Get the list of arrival predictions for given line ids based at the given stop
Parameters
| Name | In | Required | Type |
|---|---|---|---|
ids | path | yes | array |
stopPointId | path | yes | string |
direction | query | no | string |
destinationStationId | query | no | string |
Responses
| Status | Description | Schema |
|---|---|---|
200 | OK | — |
GET/Line/{ids}/DisruptionGet disruptions for the given line ids
Parameters
| Name | In | Required | Type |
|---|---|---|---|
ids | path | yes | array |
Responses
| Status | Description | Schema |
|---|---|---|
200 | OK | — |
GET/Line/{ids}/RouteGet all valid routes for given line ids, including the name and id of the originating and terminating stops for each route.
Parameters
| Name | In | Required | Type |
|---|---|---|---|
ids | path | yes | array |
serviceTypes | query | no | array |
Responses
| Status | Description | Schema |
|---|---|---|
200 | OK | — |
GET/Line/{ids}/StatusGets the line status of for given line ids e.g Minor Delays
Parameters
| Name | In | Required | Type |
|---|---|---|---|
ids | path | yes | array |
detail | query | no | boolean |
Responses
| Status | Description | Schema |
|---|---|---|
200 | OK | — |
GET/Line/{ids}/Status/{StartDate}/to/{EndDate}Gets the line status for given line ids during the provided dates e.g Minor Delays
Parameters
| Name | In | Required | Type |
|---|---|---|---|
ids | path | yes | array |
detail | query | no | boolean |
startDate | query | yes | string |
endDate | query | yes | string |
dateRange.startDate | query | no | string |
dateRange.endDate | query | no | string |
Responses
| Status | Description | Schema |
|---|---|---|
200 | OK | — |
GET/Line/{id}/Route/Sequence/{direction}Gets all valid routes for given line id, including the sequence of stops on each route.
Parameters
| Name | In | Required | Type |
|---|---|---|---|
id | path | yes | string |
direction | path | yes | string |
serviceTypes | query | no | array |
excludeCrowding | query | no | boolean |
Responses
| Status | Description | Schema |
|---|---|---|
200 | OK | Tfl.Api.Presentation.Entities.RouteSequence |
GET/Line/{id}/StopPointsGets a list of the stations that serve the given line id
Parameters
| Name | In | Required | Type |
|---|---|---|---|
id | path | yes | string |
tflOperatedNationalRailStationsOnly | query | no | boolean |
Responses
| Status | Description | Schema |
|---|---|---|
200 | OK | — |
GET/Line/{id}/Timetable/{fromStopPointId}Gets the timetable for a specified station on the give line
Parameters
| Name | In | Required | Type |
|---|---|---|---|
fromStopPointId | path | yes | string |
id | path | yes | string |
Responses
| Status | Description | Schema |
|---|---|---|
200 | OK | Tfl.Api.Presentation.Entities.TimetableResponse |
GET/Line/{id}/Timetable/{fromStopPointId}/to/{toStopPointId}Gets the timetable for a specified station on the give line with specified destination
Parameters
| Name | In | Required | Type |
|---|---|---|---|
fromStopPointId | path | yes | string |
id | path | yes | string |
toStopPointId | path | yes | string |
Responses
| Status | Description | Schema |
|---|---|---|
200 | OK | Tfl.Api.Presentation.Entities.TimetableResponse |
Mode2
GET/Mode/ActiveServiceTypesReturns the service type active for a mode.
Currently only supports tube
Responses
| Status | Description | Schema |
|---|---|---|
200 | OK | — |
GET/Mode/{mode}/ArrivalsGets the next arrival predictions for all stops of a given mode
Parameters
| Name | In | Required | Type |
|---|---|---|---|
mode | path | yes | string |
count | query | no | integer |
Responses
| Status | Description | Schema |
|---|---|---|
200 | OK | — |
Occupancy5
GET/Occupancy/BikePoints/{ids}Get the occupancy for bike points.
Parameters
| Name | In | Required | Type |
|---|---|---|---|
ids | path | yes | array |
Responses
| Status | Description | Schema |
|---|---|---|
200 | OK | — |
GET/Occupancy/CarParkGets the occupancy for all car parks that have occupancy data
Responses
| Status | Description | Schema |
|---|---|---|
200 | OK | — |
GET/Occupancy/CarPark/{id}Gets the occupancy for a car park with a given id
Parameters
| Name | In | Required | Type |
|---|---|---|---|
id | path | yes | string |
Responses
| Status | Description | Schema |
|---|---|---|
200 | OK | Tfl.Api.Presentation.Entities.CarParkOccupancy |
GET/Occupancy/ChargeConnectorGets the occupancy for all charge connectors
Responses
| Status | Description | Schema |
|---|---|---|
200 | OK | — |
GET/Occupancy/ChargeConnector/{ids}Gets the occupancy for a charge connectors with a given id (sourceSystemPlaceId)
Parameters
| Name | In | Required | Type |
|---|---|---|---|
ids | path | yes | array |
Responses
| Status | Description | Schema |
|---|---|---|
200 | OK | — |
Place9
GET/PlaceGets the places that lie within a geographic region. The geographic region of interest can either be specified
by using a lat/lon geo-point and a radius in metres to return places within the locus defined by the lat/lon of
its centre or alternatively, by the use of a bounding box defined by the lat/lon of its north-west and south-east corners.
Optionally filters on type and can strip properties for a smaller payload.
Parameters
| Name | In | Required | Type |
|---|---|---|---|
radius | query | no | number |
categories | query | no | array |
includeChildren | query | no | boolean |
type | query | no | array |
activeOnly | query | no | boolean |
numberOfPlacesToReturn | query | no | integer |
placeGeo.swLat | query | no | number |
placeGeo.swLon | query | no | number |
placeGeo.neLat | query | no | number |
placeGeo.neLon | query | no | number |
placeGeo.lat | query | no | number |
placeGeo.lon | query | no | number |
Responses
| Status | Description | Schema |
|---|---|---|
200 | OK | — |
GET/Place/Address/Streets/{Postcode}Gets the set of streets associated with a post code.
Parameters
| Name | In | Required | Type |
|---|---|---|---|
postcode | query | yes | string |
postcodeInput.postcode | query | no | string |
Responses
| Status | Description | Schema |
|---|---|---|
200 | OK | System.Object |
GET/Place/Meta/CategoriesGets a list of all of the available place property categories and keys.
Responses
| Status | Description | Schema |
|---|---|---|
200 | OK | — |
GET/Place/Meta/PlaceTypesGets a list of the available types of Place.
Responses
| Status | Description | Schema |
|---|---|---|
200 | OK | — |
GET/Place/SearchGets all places that matches the given query
Parameters
| Name | In | Required | Type |
|---|---|---|---|
name | query | yes | string |
types | query | no | array |
Responses
| Status | Description | Schema |
|---|---|---|
200 | OK | — |
GET/Place/Type/{types}Gets all places of a given type
Parameters
| Name | In | Required | Type |
|---|---|---|---|
types | path | yes | array |
activeOnly | query | no | boolean |
Responses
| Status | Description | Schema |
|---|---|---|
200 | OK | — |
GET/Place/{id}Gets the place with the given id.
Parameters
| Name | In | Required | Type |
|---|---|---|---|
id | path | yes | string |
includeChildren | query | no | boolean |
Responses
| Status | Description | Schema |
|---|---|---|
200 | OK | — |
GET/Place/{type}/At/{Lat}/{Lon}Gets any places of the given type whose geography intersects the given latitude and longitude. In practice this means the Place
must be polygonal e.g. a BoroughBoundary.
Parameters
| Name | In | Required | Type |
|---|---|---|---|
type | path | yes | array |
lat | query | yes | string |
lon | query | yes | string |
location.lat | query | yes | number |
location.lon | query | yes | number |
Responses
| Status | Description | Schema |
|---|---|---|
200 | OK | System.Object |
GET/Place/{type}/overlay/{z}/{Lat}/{Lon}/{width}/{height}Gets the place overlay for a given set of co-ordinates and a given width/height.
Parameters
| Name | In | Required | Type |
|---|---|---|---|
z | path | yes | integer |
type | path | yes | array |
width | path | yes | integer |
height | path | yes | integer |
lat | query | yes | string |
lon | query | yes | string |
location.lat | query | yes | number |
location.lon | query | yes | number |
Responses
| Status | Description | Schema |
|---|---|---|
200 | OK | System.Object |
Road8
GET/RoadGets all roads managed by TfL
Responses
| Status | Description | Schema |
|---|---|---|
200 | OK | — |
GET/Road/Meta/CategoriesGets a list of valid RoadDisruption categories
Responses
| Status | Description | Schema |
|---|---|---|
200 | OK | — |
GET/Road/Meta/SeveritiesGets a list of valid RoadDisruption severity codes
Responses
| Status | Description | Schema |
|---|---|---|
200 | OK | — |
GET/Road/all/Disruption/{disruptionIds}Gets a list of active disruptions filtered by disruption Ids.
Parameters
| Name | In | Required | Type |
|---|---|---|---|
disruptionIds | path | yes | array |
stripContent | query | no | boolean |
Responses
| Status | Description | Schema |
|---|---|---|
200 | OK | Tfl.Api.Presentation.Entities.RoadDisruption |
GET/Road/all/Street/DisruptionGets a list of disrupted streets. If no date filters are provided, current disruptions are returned.
Parameters
| Name | In | Required | Type |
|---|---|---|---|
startDate | query | yes | string |
endDate | query | yes | string |
Responses
| Status | Description | Schema |
|---|---|---|
200 | OK | System.Object |
GET/Road/{ids}Gets the road with the specified id (e.g. A1)
Parameters
| Name | In | Required | Type |
|---|---|---|---|
ids | path | yes | array |
Responses
| Status | Description | Schema |
|---|---|---|
200 | OK | — |
GET/Road/{ids}/DisruptionGet active disruptions, filtered by road ids
Parameters
| Name | In | Required | Type |
|---|---|---|---|
ids | path | yes | array |
stripContent | query | no | boolean |
severities | query | no | array |
categories | query | no | array |
closures | query | no | boolean |
Responses
| Status | Description | Schema |
|---|---|---|
200 | OK | — |
GET/Road/{ids}/StatusGets the specified roads with the status aggregated over the date range specified, or now until the end of today if no dates are passed.
Parameters
| Name | In | Required | Type |
|---|---|---|---|
ids | path | yes | array |
dateRangeNullable.startDate | query | no | string |
dateRangeNullable.endDate | query | no | string |
Responses
| Status | Description | Schema |
|---|---|---|
200 | OK | — |
Search5
GET/SearchSearch the site for occurrences of the query string. The maximum number of results returned is equal to the maximum page size
of 100. To return subsequent pages, use the paginated overload.
Parameters
| Name | In | Required | Type |
|---|---|---|---|
query | query | yes | string |
Responses
| Status | Description | Schema |
|---|---|---|
200 | OK | Tfl.Api.Presentation.Entities.SearchResponse |
GET/Search/BusSchedulesSearches the bus schedules folder on S3 for a given bus number.
Parameters
| Name | In | Required | Type |
|---|---|---|---|
query | query | yes | string |
Responses
| Status | Description | Schema |
|---|---|---|
200 | OK | Tfl.Api.Presentation.Entities.SearchResponse |
GET/Search/Meta/CategoriesGets the available search categories.
Responses
| Status | Description | Schema |
|---|---|---|
200 | OK | — |
GET/Search/Meta/SearchProvidersGets the available searchProvider names.
Responses
| Status | Description | Schema |
|---|---|---|
200 | OK | — |
GET/Search/Meta/SortsGets the available sorting options.
Responses
| Status | Description | Schema |
|---|---|---|
200 | OK | — |
StopPoint23
GET/StopPointGets a list of StopPoints within {radius} by the specified criteria
Parameters
| Name | In | Required | Type |
|---|---|---|---|
stopTypes | query | yes | array |
radius | query | no | integer |
useStopPointHierarchy | query | no | boolean |
modes | query | no | array |
categories | query | no | array |
returnLines | query | no | boolean |
location.lat | query | yes | number |
location.lon | query | yes | number |
Responses
| Status | Description | Schema |
|---|---|---|
200 | OK | Tfl.Api.Presentation.Entities.StopPointsResponse |
GET/StopPoint/Meta/CategoriesGets the list of available StopPoint additional information categories
Responses
| Status | Description | Schema |
|---|---|---|
200 | OK | — |
GET/StopPoint/Meta/ModesGets the list of available StopPoint modes
Responses
| Status | Description | Schema |
|---|---|---|
200 | OK | — |
GET/StopPoint/Meta/StopTypesGets the list of available StopPoint types
Responses
| Status | Description | Schema |
|---|---|---|
200 | OK | — |
GET/StopPoint/Mode/{modes}Gets a list of StopPoints filtered by the modes available at that StopPoint.
Parameters
| Name | In | Required | Type |
|---|---|---|---|
modes | path | yes | array |
page | query | no | integer |
Responses
| Status | Description | Schema |
|---|---|---|
200 | OK | Tfl.Api.Presentation.Entities.StopPointsResponse |
GET/StopPoint/Mode/{modes}/DisruptionGets a distinct list of disrupted stop points for the given modes
Parameters
| Name | In | Required | Type |
|---|---|---|---|
modes | path | yes | array |
includeRouteBlockedStops | query | no | boolean |
Responses
| Status | Description | Schema |
|---|---|---|
200 | OK | — |
GET/StopPoint/SearchSearch StopPoints by their common name, or their 5-digit Countdown Bus Stop Code.
Parameters
| Name | In | Required | Type |
|---|---|---|---|
query | query | yes | string |
modes | query | no | array |
faresOnly | query | no | boolean |
maxResults | query | no | integer |
lines | query | no | array |
includeHubs | query | no | boolean |
tflOperatedNationalRailStationsOnly | query | no | boolean |
Responses
| Status | Description | Schema |
|---|---|---|
200 | OK | Tfl.Api.Presentation.Entities.SearchResponse |
GET/StopPoint/Search/{query}Search StopPoints by their common name, or their 5-digit Countdown Bus Stop Code.
Parameters
| Name | In | Required | Type |
|---|---|---|---|
query | path | yes | string |
modes | query | no | array |
faresOnly | query | no | boolean |
maxResults | query | no | integer |
lines | query | no | array |
includeHubs | query | no | boolean |
tflOperatedNationalRailStationsOnly | query | no | boolean |
Responses
| Status | Description | Schema |
|---|---|---|
200 | OK | Tfl.Api.Presentation.Entities.SearchResponse |
GET/StopPoint/ServiceTypesGets the service types for a given stoppoint
Parameters
| Name | In | Required | Type |
|---|---|---|---|
id | query | yes | string |
lineIds | query | no | array |
modes | query | no | array |
Responses
| Status | Description | Schema |
|---|---|---|
200 | OK | — |
GET/StopPoint/Sms/{id}Gets a StopPoint for a given sms code.
Parameters
| Name | In | Required | Type |
|---|---|---|---|
id | path | yes | string |
output | query | no | string |
Responses
| Status | Description | Schema |
|---|---|---|
200 | OK | System.Object |
GET/StopPoint/Type/{types}Gets all stop points of a given type
Parameters
| Name | In | Required | Type |
|---|---|---|---|
types | path | yes | array |
Responses
| Status | Description | Schema |
|---|---|---|
200 | OK | — |
GET/StopPoint/Type/{types}/page/{page}Gets all the stop points of given type(s) with a page number
Parameters
| Name | In | Required | Type |
|---|---|---|---|
types | path | yes | array |
page | path | yes | integer |
Responses
| Status | Description | Schema |
|---|---|---|
200 | OK | — |
GET/StopPoint/{ids}Gets a list of StopPoints corresponding to the given list of stop ids.
Parameters
| Name | In | Required | Type |
|---|---|---|---|
ids | path | yes | array |
includeCrowdingData | query | no | boolean |
Responses
| Status | Description | Schema |
|---|---|---|
200 | OK | — |
GET/StopPoint/{ids}/DisruptionGets all disruptions for the specified StopPointId, plus disruptions for any child Naptan records it may have.
Parameters
| Name | In | Required | Type |
|---|---|---|---|
ids | path | yes | array |
getFamily | query | no | boolean |
includeRouteBlockedStops | query | no | boolean |
flattenResponse | query | no | boolean |
Responses
| Status | Description | Schema |
|---|---|---|
200 | OK | — |
GET/StopPoint/{id}/ArrivalDeparturesGets the list of arrival and departure predictions for the given stop point id (overground, Elizabeth line and thameslink only)
Parameters
| Name | In | Required | Type |
|---|---|---|---|
id | path | yes | string |
lineIds | query | yes | array |
Responses
| Status | Description | Schema |
|---|---|---|
200 | OK | — |
GET/StopPoint/{id}/ArrivalsGets the list of arrival predictions for the given stop point id
Parameters
| Name | In | Required | Type |
|---|---|---|---|
id | path | yes | string |
Responses
| Status | Description | Schema |
|---|---|---|
200 | OK | — |
GET/StopPoint/{id}/CanReachOnLine/{lineId}Gets Stopoints that are reachable from a station/line combination.
Parameters
| Name | In | Required | Type |
|---|---|---|---|
id | path | yes | string |
lineId | path | yes | string |
serviceTypes | query | no | array |
Responses
| Status | Description | Schema |
|---|---|---|
200 | OK | — |
GET/StopPoint/{id}/Crowding/{line}Gets all the Crowding data (static) for the StopPointId, plus crowding data for a given line and optionally a particular direction.
Parameters
| Name | In | Required | Type |
|---|---|---|---|
id | path | yes | string |
line | path | yes | string |
direction | query | yes | string |
Responses
| Status | Description | Schema |
|---|---|---|
200 | OK | — |
GET/StopPoint/{id}/DirectionTo/{toStopPointId}Returns the canonical direction, "inbound" or "outbound", for a given pair of stop point Ids in the direction from -> to.
Parameters
| Name | In | Required | Type |
|---|---|---|---|
id | path | yes | string |
toStopPointId | path | yes | string |
lineId | query | no | string |
Responses
| Status | Description | Schema |
|---|---|---|
200 | OK | — |
GET/StopPoint/{id}/RouteReturns the route sections for all the lines that service the given stop point ids
Parameters
| Name | In | Required | Type |
|---|---|---|---|
id | path | yes | string |
serviceTypes | query | no | array |
Responses
| Status | Description | Schema |
|---|---|---|
200 | OK | — |
GET/StopPoint/{id}/placeTypesGet a list of places corresponding to a given id and place types.
Parameters
| Name | In | Required | Type |
|---|---|---|---|
id | path | yes | string |
placeTypes | query | yes | array |
Responses
| Status | Description | Schema |
|---|---|---|
200 | OK | — |
GET/StopPoint/{stopPointId}/CarParksGet car parks corresponding to the given stop point id.
Parameters
| Name | In | Required | Type |
|---|---|---|---|
stopPointId | path | yes | string |
Responses
| Status | Description | Schema |
|---|---|---|
200 | OK | — |
GET/StopPoint/{stopPointId}/TaxiRanksGets a list of taxi ranks corresponding to the given stop point id.
Parameters
| Name | In | Required | Type |
|---|---|---|---|
stopPointId | path | yes | string |
Responses
| Status | Description | Schema |
|---|---|---|
200 | OK | — |
TravelTime2
GET/TravelTimes/compareOverlay/{z}/mapcenter/{mapCenterLat}/{mapCenterLon}/pinlocation/{pinLat}/{pinLon}/dimensions/{width}/{height}Gets the TravelTime overlay.
Parameters
| Name | In | Required | Type |
|---|---|---|---|
z | path | yes | integer |
pinLat | path | yes | number |
pinLon | path | yes | number |
mapCenterLat | path | yes | number |
mapCenterLon | path | yes | number |
scenarioTitle | query | yes | string |
timeOfDayId | query | yes | string |
modeId | query | yes | string |
width | path | yes | integer |
height | path | yes | integer |
direction | query | yes | string |
travelTimeInterval | query | yes | integer |
compareType | query | yes | string |
compareValue | query | yes | string |
Responses
| Status | Description | Schema |
|---|---|---|
200 | OK | System.Object |
GET/TravelTimes/overlay/{z}/mapcenter/{mapCenterLat}/{mapCenterLon}/pinlocation/{pinLat}/{pinLon}/dimensions/{width}/{height}Gets the TravelTime overlay.
Parameters
| Name | In | Required | Type |
|---|---|---|---|
z | path | yes | integer |
pinLat | path | yes | number |
pinLon | path | yes | number |
mapCenterLat | path | yes | number |
mapCenterLon | path | yes | number |
scenarioTitle | query | yes | string |
timeOfDayId | query | yes | string |
modeId | query | yes | string |
width | path | yes | integer |
height | path | yes | integer |
direction | query | yes | string |
travelTimeInterval | query | yes | integer |
Responses
| Status | Description | Schema |
|---|---|---|
200 | OK | System.Object |
Vehicle1
GET/Vehicle/{ids}/ArrivalsGets the predictions for a given list of vehicle Id's.
Parameters
| Name | In | Required | Type |
|---|---|---|---|
ids | path | yes | array |
Responses
| Status | Description | Schema |
|---|---|---|
200 | OK | — |
Try it
Developer reference
Base URL
https://api.tfl.gov.ukRate limit
Anonymous: 50 requests/minute. Free app_key ("500 Requests per min" product): 500/minute. Higher quotas available on request.
Key endpoints
- GET/StopPoint/{id}/Arrivals
- GET/Line/{ids}/Status
- GET/Journey/JourneyResults/{from}/to/{to}
- GET/BikePoint
- GET/AirQuality