The Unified NPM package for the MTA API

mtaapi.dev is a unified API for New York City transit, starting with real-time subway and bus data. I built it to make trains and buses accessible through one consistent interface. Ferries, NJ Transit, Citi Bike, and the Long Island Rail Road are next.

I wrote about using the API to build a real-time NYC transit map with MapKit JS and mta-js.