SDK Reference
mta.bus.arrivalBoard() — nearby bus departure board
Reference for GET /api/v1/bus/arrival-board. Find nearby bus stops and group their upcoming arrivals by route in a single request.
GET
Get a nearby bus arrival board
Returns the nearest bus stops to aDocumentation Index
Fetch the complete documentation index at: https://mtaapi.dev/docs/llms.txt
Use this file to discover all available pages before exploring further.
lat / lon, with each stop’s upcoming arrivals grouped by route — the bus counterpart to the subway arrival board.
Control the board with limitStops (max 20, default 8) and limitArrivals per route (max 10, default 3). Pass an optional route to restrict every stop to a single line. Each entry is { stop, distanceMeters, routes: [{ route, headsign?, arrivals[] }] }.
SDK
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Query Parameters
Required range:
-90 <= x <= 90Required range:
-180 <= x <= 180Minimum string length:
1Required range:
x >= 1Required range:
1 <= x <= 20Required range:
1 <= x <= 10Previous
Bus Route StopsReference for GET /api/v1/bus/routes/{route}/stops. Get the ordered stops a bus route serves, optionally hydrated with arrivals.
Next
Get a nearby bus arrival board