Next bus and train departures near you
Upcoming departures at the nearest stops to a point, or at one named stop, from the transit agency that covers the point. Times in UTC and local, distance and minutes away.
- Free, no API key
- Every answer carries the time of the observation. Readings that are too old are left out and counted, never shown as current.
- Source
- Transit agencies (see providers)
- Refresh cadence
- Upstream fetches are shared and cached for 30 seconds.
Parameters
| lat | with lng, find nearest stops |
|---|---|
| lng | |
| stop | with provider, a specific stop id (instead of lat/lng) |
| provider | provider id from GET /v1/live |
| radius_m | 50-1500, default 500 |
| top | 1-50 departures, default 8 |
| max_bytes | 1024-32768, default 8192 |
Example
Over MCP
{"tool":"get_live_data","arguments":{"feed":"next-departures","lat":40.7527,"lng":-73.9772}}Over HTTP
curl 'https://agentnative.dennery.ai/v1/live/next-departures?lat=40.7527&lng=-73.9772'