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 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' });
curl "https://api.lava.so/v1/forward?u=https%3A%2F%2Fapi-endpoint.mta.info%2Fsubway-times%3Fstation%3Dtimes%2Bsq-42%2Bst" \
-H "Authorization: Bearer $LAVA_SECRET_KEY "
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' });
curl "https://api.lava.so/v1/forward?u=https%3A%2F%2Fapi-endpoint.mta.info%2FDataservice%2Fmtagtfsfeeds%2Flirr%2Fgtfs-lirr" \
-H "Authorization: Bearer $LAVA_SECRET_KEY "
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' });
curl "https://api.lava.so/v1/forward?u=https%3A%2F%2Fapi-endpoint.mta.info%2FDataservice%2Fmtagtfsfeeds%2Fmnr%2Fgtfs-mnr" \
-H "Authorization: Bearer $LAVA_SECRET_KEY "
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' });
curl "https://api.lava.so/v1/forward?u=https%3A%2F%2Fapi-endpoint.mta.info%2FDataservice%2Fmtagtfsfeeds%2Fcamsys%2Fall-alerts.json" \
-H "Authorization: Bearer $LAVA_SECRET_KEY "
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' });
curl "https://api.lava.so/v1/forward?u=https%3A%2F%2Fapi-endpoint.mta.info%2FDataservice%2Fmtagtfsfeeds%2Fcamsys%2Fsubway-alerts.json" \
-H "Authorization: Bearer $LAVA_SECRET_KEY "
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' });
curl "https://api.lava.so/v1/forward?u=https%3A%2F%2Fapi-endpoint.mta.info%2FDataservice%2Fmtagtfsfeeds%2Fcamsys%2Fbus-alerts.json" \
-H "Authorization: Bearer $LAVA_SECRET_KEY "
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' });
curl "https://api.lava.so/v1/forward?u=https%3A%2F%2Fapi-endpoint.mta.info%2FDataservice%2Fmtagtfsfeeds%2Fcamsys%2Flirr-alerts.json" \
-H "Authorization: Bearer $LAVA_SECRET_KEY "
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' });
curl "https://api.lava.so/v1/forward?u=https%3A%2F%2Fapi-endpoint.mta.info%2FDataservice%2Fmtagtfsfeeds%2Fcamsys%2Fmnr-alerts.json" \
-H "Authorization: Bearer $LAVA_SECRET_KEY "
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' });
curl "https://api.lava.so/v1/forward?u=https%3A%2F%2Fapi-endpoint.mta.info%2FDataservice%2Fmtagtfsfeeds%2Fnyct%2Fnyct_ene.json" \
-H "Authorization: Bearer $LAVA_SECRET_KEY "
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' });
curl "https://api.lava.so/v1/forward?u=https%3A%2F%2Fapi-endpoint.mta.info%2FDataservice%2Fmtagtfsfeeds%2Fnyct%2Fnyct_ene_upcoming.json" \
-H "Authorization: Bearer $LAVA_SECRET_KEY "
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' });
curl "https://api.lava.so/v1/forward?u=https%3A%2F%2Fapi-endpoint.mta.info%2FDataservice%2Fmtagtfsfeeds%2Fnyct%2Fnyct_ene_equipments.json" \
-H "Authorization: Bearer $LAVA_SECRET_KEY "
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' });
curl "https://api.lava.so/v1/forward?u=https%3A%2F%2Fgtfsrt.prod.obanyc.com%2FtripUpdates" \
-H "Authorization: Bearer $LAVA_SECRET_KEY "
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' });
curl "https://api.lava.so/v1/forward?u=https%3A%2F%2Fgtfsrt.prod.obanyc.com%2FvehiclePositions" \
-H "Authorization: Bearer $LAVA_SECRET_KEY "
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' });
curl "https://api.lava.so/v1/forward?u=https%3A%2F%2Fgtfsrt.prod.obanyc.com%2Falerts" \
-H "Authorization: Bearer $LAVA_SECRET_KEY "
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' });
curl "https://api.lava.so/v1/forward?u=https%3A%2F%2Fbustime.mta.info%2Fapi%2Fsiri%2Fvehicle-monitoring.json" \
-H "Authorization: Bearer $LAVA_SECRET_KEY "
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' });
curl "https://api.lava.so/v1/forward?u=https%3A%2F%2Fbustime.mta.info%2Fapi%2Fsiri%2Fstop-monitoring.json" \
-H "Authorization: Bearer $LAVA_SECRET_KEY "
Next Steps
All Providers Browse all supported AI providers
Forward Proxy Learn how to construct proxy URLs and authenticate requests