Skip to main content
GET
mta-js

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

route
string
required
Minimum string length: 1

Query Parameters

direction
string
Minimum string length: 1

Response

200 - application/json

Response for status 200

route
object
required
mode
enum<string>
required
Available options:
subway,
bus,
path,
nj-transit-rail,
nyc-ferry,
lirr,
metro-north
directions
object[]
required