Skip to main content

Search stops

GET /StopPoint/Search/{query} finds stops and stations whose names or metadata match a free-text query (for example waterloo). This is the Stop points operation included in the API playground.

OpenAPI description (playground scope)

Download tfl-playground.json — documents this path plus GET /Line/Mode/{modes}/Status and GET /BikePoint only.

Resource

The response is a search result object containing matches (with identifiers, names, coordinates, modes, and other fields). The exact JSON shape can evolve; treat unknown properties as optional.

Operation

MethodGET
Path/StopPoint/Search/{query}
Base URLhttps://api.tfl.gov.uk

Parameters

NameInRequiredDescription
queryPathYesSearch text; URL-encode spaces and special characters.

Responses

CodeDescription
200Success — JSON object with matches (may be empty).
400Bad request — invalid or empty query after decoding.
404No matches.
429Rate limited.
500Server error.

Example request

curl "https://api.tfl.gov.uk/StopPoint/Search/waterloo"

Response (illustrative)

The payload includes structured matches; typical fields on each match include id, name, lat, lon, and modes. Confirm against a live response when building parsers.