Skip to main content
NYC Metropolitan Transportation Authority real-time transit data. Use mta-subway-times to get arrival/departure times at any subway station by name — no GTFS knowledge needed. Also provides commuter rail feeds (LIRR, Metro-North), service alerts, and elevator/escalator status. 16 endpoints available through Lava’s AI Gateway.
Supports both managed (Lava’s API keys) and unmanaged (bring your own credentials) mode.

Endpoints

Get real-time subway arrival/departure times for any NYC station. Pass a station name and optionally filter by route. Returns filtered, formatted times — no raw GTFS parsing needed.

GET https://api-endpoint.mta.info/subway-times?station=times+sq-42+st — $0.0005 / request
const data = await lava.gateway('https://api-endpoint.mta.info/subway-times?station=times+sq-42+st', { method: 'GET' });

LIRR GTFS-RT feed

GET https://api-endpoint.mta.info/Dataservice/mtagtfsfeeds/lirr/gtfs-lirr — $0.0005 / request
const data = await lava.gateway('https://api-endpoint.mta.info/Dataservice/mtagtfsfeeds/lirr/gtfs-lirr', { method: 'GET' });

Metro-North GTFS-RT feed

GET https://api-endpoint.mta.info/Dataservice/mtagtfsfeeds/mnr/gtfs-mnr — $0.0005 / request
const data = await lava.gateway('https://api-endpoint.mta.info/Dataservice/mtagtfsfeeds/mnr/gtfs-mnr', { method: 'GET' });

Service alerts (all)

GET https://api-endpoint.mta.info/Dataservice/mtagtfsfeeds/camsys/all-alerts.json — $0.0005 / request
const data = await lava.gateway('https://api-endpoint.mta.info/Dataservice/mtagtfsfeeds/camsys/all-alerts.json', { method: 'GET' });

Service alerts (subway)

GET https://api-endpoint.mta.info/Dataservice/mtagtfsfeeds/camsys/subway-alerts.json — $0.0005 / request
const data = await lava.gateway('https://api-endpoint.mta.info/Dataservice/mtagtfsfeeds/camsys/subway-alerts.json', { method: 'GET' });

Service alerts (bus)

GET https://api-endpoint.mta.info/Dataservice/mtagtfsfeeds/camsys/bus-alerts.json — $0.0005 / request
const data = await lava.gateway('https://api-endpoint.mta.info/Dataservice/mtagtfsfeeds/camsys/bus-alerts.json', { method: 'GET' });

Service alerts (lirr)

GET https://api-endpoint.mta.info/Dataservice/mtagtfsfeeds/camsys/lirr-alerts.json — $0.0005 / request
const data = await lava.gateway('https://api-endpoint.mta.info/Dataservice/mtagtfsfeeds/camsys/lirr-alerts.json', { method: 'GET' });

Service alerts (mnr)

GET https://api-endpoint.mta.info/Dataservice/mtagtfsfeeds/camsys/mnr-alerts.json — $0.0005 / request
const data = await lava.gateway('https://api-endpoint.mta.info/Dataservice/mtagtfsfeeds/camsys/mnr-alerts.json', { method: 'GET' });

Elevator/escalator status (current)

GET https://api-endpoint.mta.info/Dataservice/mtagtfsfeeds/nyct/nyct_ene.json — $0.0005 / request
const data = await lava.gateway('https://api-endpoint.mta.info/Dataservice/mtagtfsfeeds/nyct/nyct_ene.json', { method: 'GET' });

Elevator/escalator status (upcoming)

GET https://api-endpoint.mta.info/Dataservice/mtagtfsfeeds/nyct/nyct_ene_upcoming.json — $0.0005 / request
const data = await lava.gateway('https://api-endpoint.mta.info/Dataservice/mtagtfsfeeds/nyct/nyct_ene_upcoming.json', { method: 'GET' });

Elevator/escalator status (equipments)

GET https://api-endpoint.mta.info/Dataservice/mtagtfsfeeds/nyct/nyct_ene_equipments.json — $0.0005 / request
const data = await lava.gateway('https://api-endpoint.mta.info/Dataservice/mtagtfsfeeds/nyct/nyct_ene_equipments.json', { method: 'GET' });

Bus GTFS-RT trip-updates

GET https://gtfsrt.prod.obanyc.com/tripUpdates — $0.0005 / request
const data = await lava.gateway('https://gtfsrt.prod.obanyc.com/tripUpdates', { method: 'GET' });

Bus GTFS-RT vehicle-positions

GET https://gtfsrt.prod.obanyc.com/vehiclePositions — $0.0005 / request
const data = await lava.gateway('https://gtfsrt.prod.obanyc.com/vehiclePositions', { method: 'GET' });

Bus GTFS-RT alerts

GET https://gtfsrt.prod.obanyc.com/alerts — $0.0005 / request
const data = await lava.gateway('https://gtfsrt.prod.obanyc.com/alerts', { method: 'GET' });

Bus SIRI vehicle-monitoring

GET https://bustime.mta.info/api/siri/vehicle-monitoring.json — $0.0005 / request
const data = await lava.gateway('https://bustime.mta.info/api/siri/vehicle-monitoring.json', { method: 'GET' });

Bus SIRI stop-monitoring

GET https://bustime.mta.info/api/siri/stop-monitoring.json — $0.0005 / request
const data = await lava.gateway('https://bustime.mta.info/api/siri/stop-monitoring.json', { method: 'GET' });

Next Steps

All Providers

Browse all supported AI providers

Forward Proxy

Learn how to construct proxy URLs and authenticate requests