mtaapi.dev
FeaturesPricingBlogDocs
Open menu
FeaturesPricingBlogDocsGitHub

Blog

Tutorials for building with realtime NYC transit data

Issue1
Chelsea
Flatiron
Stuy Town

May 28, 2026 / Gary Tokman

Build a Realtime NYC Transit Map with MapKit JS

A practical walkthrough for plotting live MTA vehicle locations on a New York City map using the mtaapi.dev API and SDK.

Issue2
Bedford Av
Brooklyn · L
Live

May 31, 2026 / Gary Tokman

Build a NYC Subway Countdown Clock in JavaScript

Recreate the platform countdown board in the browser: poll realtime subway arrivals, group them by direction, and render the LED-style minutes display with the mtaapi.dev API and SDK.

Issue3

The L, live

8 Av ↔ Canarsie

LIVE— trains running

Nov 2, 2026 / Gary Tokman

How to get NYC subway arrivals in JavaScript without parsing GTFS-realtime

Get realtime NYC subway arrivals in JavaScript with one mta-js call. Skip protobuf decoding, per-line feed URLs, and north/south direction quirks.

© 2026 mtaapi.dev. Part of Human Interface Design LLC. Not affiliated with the MTA.
TermsPrivacyDocsBlogStatusGitHub