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.

Query Parameters

stop
string
required

Station ID, stop code, or exact name.

Minimum string length: 1
route
string
Minimum string length: 1
limit
number
Required range: 1 <= x <= 100

Response

200 - application/json

Response for status 200

route
object
required
stop
object
required
direction
string
required
time
string
required
minutes
number
required
realtime
boolean
required
source
string
required
trainNumber
string
headsign
string
destination
string
peak
string
delaySeconds
number
tripId
string