Skip to content
Docs

Bus speeds

Bus speeds by route, borough and month since 2019, with the congestion zone's inside and outside speeds.

GET https://transitlab.nyc/data/bus-speeds.json No key

Rebuilt every night from MTA data and our own bus-position archive.

curl https://transitlab.nyc/data/bus-speeds.json
import requests
r = requests.get(
"https://transitlab.nyc/data/bus-speeds.json",
timeout=60,
)
r.raise_for_status()
print(r.json())
const res = await fetch("https://transitlab.nyc/data/bus-speeds.json")
if (!res.ok) throw new Error(`HTTP ${res.status}`)
console.log(await res.json())

No key needed.

The JSON file.

Headers:

  • Cache-Control string

    public, max-age=300

Body:

  • updated string (date) required

  • mtaThrough string required

    Last month of MTA’s published speeds, YYYY-MM.

  • oursThrough string (date) required

    Last day of our own archive.

  • periods object required

    Months each route’s speed averages.

  • periods.routes string[] required

  • periods.routesYearAgo string[] required

  • summary object required

  • summary.citywideMph number required

  • summary.citywideYearAgo number required

  • summary.cbdLocalChange number required

    Change in local bus speed inside the congestion zone, percent.

  • summary.outsideLocalChange number required

    Same, outside the zone.

  • summary.slowest object required

  • summary.slowest.route string required

    Route name, e.g. M50.

  • summary.slowest.borough string required

  • summary.slowest.type string required

    Service type, e.g. LCL/LTD.

  • summary.slowest.mph number required

    Average speed in the latest period.

  • summary.slowest.mphYearAgo number required

    Average speed a year earlier.

  • summary.slowest.changePct number required

    Change from a year earlier, percent.

  • summary.slowest.ours number or any or null required

  • monthly object[] required

    Average mph by month and borough since 2019.

  • monthly[].month string required

  • monthly[].citywide number required

  • monthly[].Bronx number required

  • monthly[].Brooklyn number required

  • monthly[].Manhattan number required

  • monthly[].Queens number required

  • monthly[].Staten Island number required

  • cbd object[] required

    Bus speed inside and outside the congestion zone by month.

  • cbd[].month string required

  • cbd[].inside number required

  • cbd[].outside number required

  • daily object[] required

    Recent days from our own archive.

  • daily[].date string (date) required

  • daily[].weekday boolean required

  • daily[].mph number required

  • routes object[] required

    Every route.

  • routes[].route string required

    Route name, e.g. M50.

  • routes[].borough string required

  • routes[].type string required

    Service type, e.g. LCL/LTD.

  • routes[].mph number required

    Average speed in the latest period.

  • routes[].mphYearAgo number required

    Average speed a year earlier.

  • routes[].changePct number required

    Change from a year earlier, percent.

  • routes[].ours number or any or null required

Example
{
"updated": "2026-10-06",
"mtaThrough": "2026-08",
"oursThrough": "2026-10-04",
"periods": {
"routes": ["2026-06", "2026-07"],
"routesYearAgo": ["2025-06", "2025-07"]
},
"summary": {
"citywideMph": 8.47,
"citywideYearAgo": 8.43,
"cbdLocalChange": 2.7,
"outsideLocalChange": 1.1,
"slowest": {
"route": "M50",
"borough": "Manhattan",
"type": "LCL/LTD",
"mph": 4.67,
"mphYearAgo": 4.95,
"changePct": -5.6,
"ours": null
}
},
"monthly": [
{
"month": "2019-01",
"citywide": 8.27,
"Bronx": 7.7,
"Brooklyn": 7.29,
"Manhattan": 6.08,
"Queens": 8.91,
"Staten Island": 14.22
},
{
"month": "2019-02",
"citywide": 8.21,
"Bronx": 7.59,
"Brooklyn": 7.23,
"Manhattan": 5.97,
"Queens": 8.85,
"Staten Island": 14.01
}
],
"cbd": [
{ "month": "2023-01", "inside": 5.62, "outside": 7.27 },
{ "month": "2023-02", "inside": 5.55, "outside": 7.24 }
],
"daily": [
{ "date": "2026-10-04", "weekday": false, "mph": 8.78 }
],
"routes": [
{
"route": "M50",
"borough": "Manhattan",
"type": "LCL/LTD",
"mph": 4.67,
"mphYearAgo": 4.95,
"changePct": -5.6,
"ours": null
},
{
"route": "M57",
"borough": "Manhattan",
"type": "LCL/LTD",
"mph": 4.84,
"mphYearAgo": 4.86,
"changePct": -0.4,
"ours": null
}
]
}
StatusWhen
404Not found. The file has not been built yet.

Error responses carry this body:

  • text/plain