UnifyAPI
← Back to catalog

overpass.public_transport

mock data$0.002 / call

Find Public Transport Stops

Find public transport infrastructure within a geographic bounding box. Supports bus stops, railway stations, subway/metro stations, tram stops, and ferry terminals. Returns stop name, transport type, coordinates, network/operator name, route reference, and wheelchair accessibility. Filter by transport type or fetch all transit infrastructure in the area. Data sourced from OpenStreetMap via Overpass API — especially comprehensive for European cities. Useful for trip planning, accessibility analysis, and finding the nearest metro or train station.

Geo & Mapsprovider: Overpass#overpass#geo

Input schema

limit

Maximum number of results to return (1–50, default 20).

integer
lat_maxrequired

Northern boundary latitude of the search bounding box.

number
lat_minrequired

Southern boundary latitude of the search bounding box.

number
lon_maxrequired

Eastern boundary longitude of the search bounding box.

number
lon_minrequired

Western boundary longitude of the search bounding box.

number
transport_type

Type of public transport to find: "bus" (bus stops), "train" (railway stations), "subway" (metro stations), "tram" (tram stops), "ferry" (ferry terminals), "all" (all types, default).

string

Call via REST

curl -X POST https://unifyapi.pro/api/call/overpass.public_transport \
  -H "Authorization: Bearer uak_live_..." \
  -H "Content-Type: application/json" \
  -d '{"limit":0,"lat_max":0,"lat_min":0,"lon_max":0,"lon_min":0,"transport_type":"<transport_type>"}'

Try it

Paste a UnifyAPI key (create one in the dashboard) and run a real call.