OSM Public Transport → GeoJSON API docs
Controls & stops

Search by route number, name, destination, operator or network. Route numbers match exactly.

Leave location blank to search worldwide, or limit to a place or the current map view. Routes can extend outside the area.

After searching, copy the page URL to share these filters.

Try a public transport route

View a route on the map and download it as GeoJSON. Choose an example to get started:

Bristol airport bus A1 Airport → Bus Station · Bus Istanbul Metro M11 One direction · Subway Istanbul M11 — all directions Compare routes, then choose a direction
How to use this tool
  1. Search and choose a result, try an example, or paste a route URL below.
  2. Download the full route, or select a start stop and then an end stop to preview a segment.
  3. Choose whether to include stops, then download your GeoJSON file.

Paste an OpenStreetMap route relation URL (e.g. https://www.openstreetmap.org/relation/15083963) or its numeric ID. A relation groups the ways and stops belonging to a route.

View on OSM ↗
Routes
View on OSM ↗
Click a stop… ✎
Click a stop… ✎
Other directions
Stops