Unified Transit API
The Metro API is the easiest way to access real-time transit data from major US metro systems. It aggregates data from five transit authorities — WMATA (Washington DC Metro), BART (Bay Area Rapid Transit), MTA (New York City subway and bus), CTA (Chicago L and bus), and 511 SF Bay (San Francisco Muni) — into a single, developer-friendly REST API with consistent JSON responses. With endpoints for…
Unified Transit API endpoints
| Method | Endpoint | Description |
|---|---|---|
| Health | ||
| GET |
getHealth /health |
Returns the service status. No authentication required. |
| Systems | ||
| GET |
listSystems /v1/systems |
Returns all supported transit systems with their available capabilities. |
| Predictions | ||
| GET |
getPredictions /v1/{system}/predictions/{stationId} |
Returns real-time arrival and departure predictions for a station. |
| Stations | ||
| GET |
listStations /v1/{system}/stations |
Returns all stations for the specified transit system. |
| GET |
getStation /v1/{system}/stations/{id} |
Returns detail for a single station by its ID. Available for wmata and bart only. |
| Routes | ||
| GET |
listRoutes /v1/{system}/routes |
Returns all routes and lines for the specified transit system. |
| GET |
getRoute /v1/{system}/routes/{id} |
Returns detail for a single route by its ID. Available for wmata and bart only. |
| Incidents | ||
| GET |
listIncidents /v1/{system}/incidents |
Returns active service alerts and disruption notices. Available for wmata, bart, mta, and sfbay. Not supported for cta. For sfbay, incidents include both GTFS-RT transit service… |
| Positions | ||
| GET |
listPositions /v1/{system}/positions |
Returns real-time vehicle positions for the transit system. Available for wmata, mta, cta, and sfbay. Not supported for bart. Positions for sfbay and mta include geographic… |
| Fares | ||
| GET |
getFares /v1/{system}/fares |
Returns fare information for a trip between two stations. Available for wmata and bart only. |
| Other endpoints | ||
| GET |
listIncidents /v1/{system}/incidents |
Returns active service alerts and disruption notices. Available for wmata, bart, mta, and sfbay. Not supported for cta. |
| GET |
listSystems /v1/systems |
Returns all supported transit systems with their available capabilities. |
| GET |
listPositions /v1/{system}/positions |
Returns real-time vehicle positions for the transit system. Available for wmata, mta, cta, and sfbay. Not supported for bart. |
| GET |
listRoutes /v1/{system}/routes |
Returns all routes and lines for the specified transit system. |
| GET |
getRoute /v1/{system}/routes/{id} |
Returns detail for a single route by its ID. Available for wmata and bart only. |
| GET |
getPredictions /v1/{system}/predictions/{stationId} |
Returns real-time arrival and departure predictions for a station. |
| GET |
getFares /v1/{system}/fares |
Returns fare information for a trip between two stations. Available for wmata and bart only. |
| GET |
getStation /v1/{system}/stations/{id} |
Returns detail for a single station by its ID. Available for wmata and bart only. |
| GET |
listStations /v1/{system}/stations |
Returns all stations for the specified transit system. |
| GET |
getHealth /health |
Returns the service status. No authentication required. |
Unified Transit API pricing
| Plan | Price | Rate limit | Quotas |
|---|---|---|---|
| BASIC | Free | — |
|
| PRO | $9.99 / month | 30 / minute |
|
| ULTRA | $29.99 / month | 60 / minute |
|
| MEGA | $49.99 / month | 120 / minute |
|