Stations

Search or Discover Nearby Stations

Unified station search endpoint served from the in-memory cache (backed by SQLite).

  • Text search: Pass searchKey to search by name or NaPTAN ID. Supports fuzzy matching.
  • Nearby search: Pass lat + lon to get all stations sorted by proximity. Also aliased at /stations/nearby.
get/stations/search

Request

  • Base URL: https://api.stationly.co.uk/api/v1
  • URL: https://api.stationly.co.uk/api/v1/stations/search
  • Auth: API key in header X-Stationly-Key

Query parameters

searchKeystring

Station name or NaPTAN ID (supports fuzzy spelling).

latnumber
lonnumber
modestring

Optional mode filter (e.g. tube, bus).

Response

List of matching stations as SDUI dropdown options.

Changes

No recorded changes to this operation across all 1 revision of this API.