Moovit exposes a set of APIs tuned to support efficient and easy integration with any customer and to provide the best experience for users. We would welcome the opportunity to refine the specifications better to match your use case. These APIs have a thin nature in order to answer focused questions with very short response times. Some of these APIs also assume a user context, which will allow rolling various ID’s (such as itinerary ID) between requests.
Since Moovit’s data is split into supported metro areas, the various API methods return data either from the metro that was explicitly specified,
or from the metro deduced from the user’s location.
The complete and updated list of supported countries can be found here.
From within this page it is possible to drill-down into a specific metro area.
In order to receive a metro ID from this list, which can be used within the MOOVIT_METRO_ID request header (described below), please contact your Moovit account manager.
The HMAC Authorization methodology requires an Authorization header to be sent, and the signature will be generated and validated using the license key, acting as a shared secret between Moovit and 3rd party API user.
A request that passes such validation will be processed, and a request that fails such validation will be rejected and will potentially trigger a security alert.
The digital signature is based on the following data elements:
The flow for generating the signature is as follows:
1. Generate the Nonce
2. Concatenate [Timestamp]:[Request payload]:[Nonce]
3. Generate a HMAC signature (use SHA256 algorithm).
Specify the concatenated string as the HMAC payload and the API secret key as the HMAC key.
The following headers should be sent as part of each request:
Authorization: hmacauth [signature]:[Nonce]:[Timestamp]
API_KEY: public api key provided by Moovit
Assume that an API call is made where the request payload is {“x”:1,”y”:2}
The API secret key for this example is ABCDEF123456, and the current timestamp is 1234567890.
The flow for generating the signature will be as follows:
All of the APIs receive a set of HTTP headers:
MOOVIT_METRO_ID An optional header specifying the required metro to search in, overriding the user’s location. This allows, for instance, for a user from LA to search data in NYC.USER_LOC The user location in the format of “(lat, lon)”, in degrees.MOOVIT_PROTOCOL_VERSION The version of the protocol of the current request (for backwards compatibility purposes). If not specified, the latest version will be used. Current protocol version is 5.1.0.0API_KEY: Public api key provided by MoovitAuthorization: hmacauth [signature]:[Nonce]:[Timestamp]One of MOOVIT_METRO_ID / USER_LOC is required.
In general, and unless otherwise stated, it is not allowed to cache any results from the APIs described in this document. All APIs return a standard cache-control directive (via response HTTP headers). This is done either via a cache-control header with one of no-cache or max-age directives, or an ETag header. By using Moovit’s APIs, callers agree to adhere to these cache control headers.
Server Type:
core-app
Get Nearby Objects accepts a location and returns all stops within a radius of this location.
Will search until the specified number of maximum stops is found, or until the specified maximum radius is reached.
Maximum radius size is blocked by an initial soft limit of 5km. Maximum stops is blocked by a soft limit of 100.
It is possible to search for additional object types by specifying "objectTypeFilter".
required | object A latitude/longitude pair describing a GPS location (in degrees) |
| objectTypeFilter | string Enum: "stop" "dockedBike" "docklessBike" "docklessScooter" "docklessElectricBike" "docklessElectricScooter" "docklessMoped" "carShare" Comma-separated string (Filters objects of the specified types) |
| radiusMeters | integer [ 1 .. 1000 ] Default: 100 Search radius in meters |
| maxStops | integer [ 1 .. 100 ] Default: 100 Maximum number of stops to return |
{- "location": {
- "lat": 41.882237,
- "lon": 12.513669
}, - "objectTypeFilter": "stop"
}{- "nearbyobjects": [
- {
- "objectId": "2945624",
- "objectType": "stop",
- "location"": {
- "lat": 41.881903,
- "lon": 12.514104
}, - "stopKey": "50040",
- "stopName": "Re Di Roma",
- "mainTransitType": "SUBWAY",
- "mainAgencyId": 8905,
- "mainAgencyName": "ATAC"
}, - {
- "objectId"": "2946517",
- "objectType": "stop",
- "location": {
- "lat": 41.88267,
- "lon": 12.51433
}, - "stopKey": "70716",
- "stopName": "Aosta/Re Di Roma",
- "stopCode": "70716",
- "mainTransitType": "BUS",
- "mainAgencyId": 8903,
- "mainAgencyName": "ATAC"
}, - {
- "objectId": "2946394",
- "objectType": "stop",
- "location": {
- "lat": 41.88267,
- "lon": 12.51451
}, - "stopKey": "70557",
- "stopName": "Aosta/Re Di Roma",
- "stopCode": "70557",
- "mainTransitType": "BUS",
- "mainAgencyId": 8903,
- "mainAgencyName": "ATAC"
}
]
}Server Type:
core-app
Returns basic information as to a stop, such as its location, name, type, etc.
| stopId required | integer The Moovit stop ID |
{- "stopId": 6371901
}{- "stopId": 6371901,
- "stopKey": "490000092W2",
- "stopName": "Rockware Avenue Greenford Stn (JJ)",
- "stopCode": "JJ",
- "mainTransitType": "Bus",
- "mainAgencyId": 775950,
- "mainAgencyName": "London Buses",
- "location": {
- "lat": 51.508102,
- "lon": -0.123749
}
}Server Type:
core-app
Returns metadata for the list of lines passing through the specified stop.
| stopId required | integer The Moovit stop ID |
| agencyId | number The agency ID |
{- "stopId": 6371901
}{- "lines": [
- {
- "lineId": 3358901,
- "lineGroupId": 759588,
- "directionId": 1,
- "agencyId": 8905,
- "lineNumber": "A",
- "origin": "Battistini",
- "destination": "Anagnina"
}, - {
- "lineId": 3358900,
- "lineGroupId": 759588,
- "directionId": 0,
- "agencyId": 8905,
- "lineNumber": "A",
- "origin": "Battistini",
- "destination": "Anagnina"
}
]
}Server Type:
tp-app
Returns any active user reviews for the specified stop.
| stopId required | integer The Moovit stop ID |
{- "stopId": 6371901
}{- "stopUserReviews": [
- {
- "category": "Crowdedness",
- "value": "Packed",
- "text": "very crowded!!",
- "creationTime": 1588595660000,
- "likesCount": 1,
- "dislikesCount": 0,
- "inappropriateCount": 0
}, - {
- "category": "Cleanliness",
- "value": "Dirty",
- "text": "The stop is not clean",
- "creationTime": 1588595121000,
- "likesCount": 0,
- "dislikesCount": 0,
- "inappropriateCount": 0
}
]
}Server Type:
core-app
Returns URLs of all user-uploaded photos of the specified stop (if available).
| stopId required | integer The Moovit stop ID |
{- "stopId": 6371901
}{- "stopImages": [
- {
- "width": 2160,
- "height": 3840,
- "timestamp": 1533746272000
}
]
}Server Type:
core-app
Aggregates together all data as to the specified stop. This is a combination of data returned in Get Stop Basic Info, Get Stop Lines, Get Stop Alerts, Get Stop User Reviews and Get Stop Photos.
| stopId required | integer The Moovit stop ID |
{- "stopId": 6371901
}{- "stopInfo": {
- "objectId": 7758,
- "objectType": "stop",
- "location": {
- "lat": 32.110142,
- "lon": 34.822846
}, - "stopKey": 13999,
- "stopName": "קהילת יאסי/קהילת ורשה",
- "stopCode": 26436,
- "mainTransitType": "BUS",
- "mainAgencyId": 3
}, - "lines": [
- {
- "lineId": 4333136,
- "lineGroupId": 18997059,
- "directionId": 1,
- "agencyId": 3,
- "lineNumber": 3,
- "origin": "דרך הטייסים/דרך בר לב",
- "destination": "אלי תבין/מאיר מקס בינט"
}
], - "stopUserReviews": [
- {
- "category": "Crowdedness",
- "value": "Packed",
- "text": "very crowded!!",
- "creationTime": 1588595660000,
- "likesCount": 1,
- "dislikesCount": 0,
- "inappropriateCount": 0
}, - {
- "category": "Cleanliness",
- "value": "Dirty",
- "text": "לא נקי",
- "creationTime": 1588595121000,
- "likesCount": 0,
- "dislikesCount": 0,
- "inappropriateCount": 0
}
], - "stopPhotos": {
- "stopImages": [
- {
- "width": 1944,
- "height": 2592,
- "timestamp": 1479469073000
}, - {
- "width": 3000,
- "height": 4000,
- "timestamp": 1540832506000
}
]
}
}Server Type:
core-app
Returns basic information as to the specified line, such as line number, long name, headsign, color, icon, etc.
| lineNumber required | string The line number |
| agencyName required | string The agency name |
{- "lineNumber": "A",
- "agencyName": "ATAC"
}{- "lineGroupLines": [
- {
- "lineGroup": {
- "lineGroupId": 759588,
- "agencyId": 8905,
- "agencyName": "ATAC",
- "lineNumber": "A",
- "caption1": "Battistini - Anagnina",
- "caption2": "A Battistini - Anagnina",
- "color": -2140140,
- "transitType": "Tram"
}, - "lineAndPattern": [
- {
- "line": {
- "lineId": 3358901,
- "lineGroupId": 759588,
- "directionId": 1,
- "agencyId": 8905,
- "lineNumber": "A",
- "destination": "Anagnina"
}, - "mostFrequentPatternId": 4486765
}, - {
- "line": {
- "lineId": 3358900,
- "lineGroupId": 759588,
- "directionId": 0,
- "agencyId": 8905,
- "lineNumber": "A",
- "destination": "Battistini"
}, - "mostFrequentPatternId": 4486763
}
]
}
]
}Server Type:
core-app
Returns all the stops which a line passes through.
| lineNumber required | string The line number |
| agencyName required | string The agency name |
| directionId required | integer Enum: 0 1 2 One of: |
{- "lineId": 2971872
}{- "lineStops": [
- {
- "lineGroupId": 183781,
- "lineId": 2971872,
- "stops": [
- {
- "stopId": 24475205,
- "location": {
- "lat": 40.991652,
- "lon": -72.536178
}, - "stopKey": "MOOVIT#24475205",
- "stopName": "Mattituck",
- "mainTransitType": "Rail",
- "mainAgencyId": 726988,
- "mainAgencyName": "LIRR",
- "accessible": 1
}, - {
- "stopId": 24475173,
- "location": {
- "lat": 41.066159,
- "lon": -72.428228
}, - "stopKey": "MOOVIT#24475173",
- "stopName": "Southold",
- "mainTransitType": "Rail",
- "mainAgencyId": 726988,
- "mainAgencyName": "LIRR",
- "accessible": 1
}, - {
- "stopId": 24475270,
- "location": {
- "lat": 40.919825,
- "lon": -72.667017
}, - "stopKey": "MOOVIT#24475270",
- "stopName": "Riverhead",
- "mainTransitType": "Rail",
- "mainAgencyId": 726988,
- "mainAgencyName": "LIRR",
- "accessible": 1
}, - {
- "stopId": 24475278,
- "location": {
- "lat": 40.8081,
- "lon": -73.105843
}, - "stopKey": "MOOVIT#24475278",
- "stopName": "Ronkonkoma",
- "mainTransitType": "Rail",
- "mainAgencyId": 726988,
- "mainAgencyName": "LIRR",
- "accessible": 1
}, - {
- "stopId": 24475081,
- "location": {
- "lat": 40.825555,
- "lon": -72.91596
}, - "stopKey": "MOOVIT#24475081",
- "stopName": "Yaphank Avenue",
- "mainTransitType": "Rail",
- "mainAgencyId": 726988,
- "mainAgencyName": "LIRR",
- "accessible": 1
}, - {
- "stopId": 24475208,
- "location": {
- "lat": 40.81743,
- "lon": -72.998695
}, - "stopKey": "MOOVIT#24475208",
- "stopName": "Medford",
- "mainTransitType": "Rail",
- "mainAgencyId": 726988,
- "mainAgencyName": "LIRR",
- "accessible": 1
}, - {
- "stopId": 24391785,
- "location": {
- "lat": 41.099716,
- "lon": -72.363003
}, - "stopKey": "MOOVIT#24391785",
- "stopName": "Greenport",
- "mainTransitType": "Rail",
- "mainAgencyId": 726988,
- "mainAgencyName": "LIRR",
- "accessible": 1
}
]
}
]
}Server Type:
core-app
Returns the shape (in Google Encoded Polyline format) describing the actual line’s route. In case a line has several alternatives, this service will return all possible alternatives, sorted from the most frequent to least frequent.
| lineNumber required | string The line number |
| agencyName required | string The agency name |
| directionId required | integer Enum: 0 1 2 One of: |
{- "lineId": 2971872
}{- "shapes": [
- {
- "lineGroupId": 759588,
- "lineId": 3358901,
- "shape": "cyw~FaxwjA~JcRlAeBxAgBn@wDj@yR~AgH`AsA~AyC`F}B????lEsB~B{E`BmIJiFMwBkBsMa@_C????g@wCo@sDeFcIeC}DgG_O????i@oAqEeIqI_K}FwF}A_CKw@????OmAR}MwHcg@iAkH????mGka@{BcO?A??SqAoAyQOeE[{Em@uGkC}NKgACs@TqAh@sABGbBiEfByBjD_DjFiEnFsGrIcOFGrDiBnCoDjFeNAATkAjAiF`A_M`BoX@G@???zB{MdE}F??BEFIvJqH|@s@bJ{EjDeBlDiBjCwAFC??@?rKwEbKeE????lGiCfOiGLEZk@nCkCPS????vF}G`KsM~B{C???A|FsHvMmPtAqB????xGuJdIaL????bBaCbKoMjIsKxBiEp@_B???A|EkLdCkE`JcQb@uA????tDuLhAcGFkKTcS@gBJsA|@sFjAoG????n@oDt@}Dx@oCtCiHj@wA????jFmMpDwIt@_B????zGuN|GaOn@wA????lIeRlEkJt@_B????P]vBsDbJuN`I{M????rAwBjNyUzK{QlAwDb@cBpB{JrByF"
}, - {
- "lineGroupId": 759588,
- "lineId": 3358901,
- "shape": "cyw~FaxwjA~JcRlAeBxAgBn@wDj@yR~AgH`AsA~AyC`F}B????lEsB~B{E`BmIJiFMwBkBsMa@_C????g@wCo@sDeFcIeC}DgG_O????i@oAqEeIqI_K}FwF}A_CKw@????OmAR}MwHcg@iAkH????mGka@{BcO?A??SqAoAyQOeE[{Em@uGkC}NKgACs@TqAh@sABGbBiEfByBjD_DjFiEnFsGrIcOFGrDiBnCoDjFeNAATkAjAiF`A_M`BoX@G@???zB{MdE}F??BEFIvJqH|@s@bJ{EjDeBlDiBjCwAFC??@?rKwEbKeE????lGiCfOiGLEZk@nCkCPS????vF}G`KsM~B{C???A|FsHvMmPtAqB????xGuJdIaL????bBaCbKoMjIsKxBiEp@_B???A|EkLdCkE`JcQb@uA????tDuLhAcGFkKTcS@gBJsA|@sFjAoG????n@oDt@}Dx@oCtCiHj@wA????jFmMpDwIt@_B????zGuN|GaOn@wA????lIeRlEkJt@_B????P]vBsDbJuN`I{M????rAwBjNyUzK{QlAwDb@cBpB{JrByF"
}, - {
- "lineGroupId": 759588,
- "lineId": 3358901,
- "shape": "cyw~FaxwjA~JcRlAeBxAgBn@wDj@yR~AgH`AsA~AyC`F}B????lEsB~B{E`BmIJiFMwBkBsMa@_C????g@wCo@sDeFcIeC}DgG_O????i@oAqEeIqI_K}FwF}A_CKw@????OmAR}MwHcg@iAkH????mGka@{BcO?A??SqAoAyQOeE[{Em@uGkC}NKgACs@TqAh@sABGbBiEfByBjD_DjFiEnFsGrIcOFGrDiBnCoDjFeNAATkAjAiF`A_M`BoX@G@???zB{MdE}F??BEFIvJqH|@s@bJ{EjDeBlDiBjCwAFC??@?rKwEbKeE????lGiCfOiGLEZk@nCkCPS????vF}G`KsM~B{C???A|FsHvMmPtAqB????xGuJdIaL????bBaCbKoMjIsKxBiEp@_B???A|EkLdCkE`JcQb@uA????tDuLhAcGFkKTcS@gBJsA|@sFjAoG????n@oDt@}Dx@oCtCiHj@wA????jFmMpDwIt@_B????zGuN|GaOn@wA????lIeRlEkJt@_B????P]vBsDbJuN`I{M????rAwBjNyUzK{QlAwDb@cBpB{JrByF"
}, - {
- "lineGroupId": 759588,
- "lineId": 3358901,
- "shape": "cyw~FaxwjA~JcRlAeBxAgBn@wDj@yR~AgH`AsA~AyC`F}B????lEsB~B{E`BmIJiFMwBkBsMa@_C????g@wCo@sDeFcIeC}DgG_O????i@oAqEeIqI_K}FwF}A_CKw@????OmAR}MwHcg@iAkH????mGka@{BcO?A??SqAoAyQOeE[{Em@uGkC}NKgACs@TqAh@sABGbBiEfByBjD_DjFiEnFsGrIcOFGrDiBnCoDjFeNAATkAjAiF`A_M`BoX@G@???zB{MdE}F??BEFIvJqH|@s@bJ{EjDeBlDiBjCwAFC??@?rKwEbKeE????lGiCfOiGLEZk@nCkCPS????vF}G`KsM~B{C???A|FsHvMmPtAqB????xGuJdIaL????bBaCbKoMjIsKxBiEp@_B???A|EkLdCkE`JcQb@uA????tDuLhAcGFkKTcS@gBJsA|@sFjAoG????n@oDt@}Dx@oCtCiHj@wA????jFmMpDwIt@_B????zGuN|GaOn@wA????lIeRlEkJt@_B????P]vBsDbJuN`I{M????rAwBjNyUzK{QlAwDb@cBpB{JrByF"
}
]
}Server Type:
core-app
Per a given trip pattern ID, returns the stop-shape-segments of the pattern, which are an ordered list of the stops and the shapes connecting them.
| lineId required | integer <i32> The Moovit line ID |
| patternId required | integer The Moovit trip pattern ID |
{- "lineId": 3337187,
- "patternId": 3267995
}{- "segments": [
- {
- "toStop": {
- "stopId": 2945584,
- "location": {
- "lat": 41.842839,
- "lon": 12.586116
}, - "stopKey": "50000",
- "stopName": "Anagnina",
- "mainTransitType": "Subway",
- "mainAgencyId": 8905,
- "mainAgencyName": "ATAC",
}
}, - {
- "shape": "emk~FkdykAsBxFqBzJc@bBmAvD{KzQkNxUmApB??",
- "toStop": {
- "stopId": 2945593,
- "location": {
- "lat": 41.849439,
- "lon": 12.573837
}, - "stopKey": "50009",
- "stopName": "Cinecittà",
- "mainTransitType": "Subway",
- "mainAgencyId": 8905,
- "mainAgencyName": "ATAC",
}
}, - {
- "shape": "svl~FqzvkAgI`NcJtNwBrDMV??",
- "toStop": {
- "stopId": 2945630,
- "location": {
- "lat": 41.853735,
- "lon": 12.567504
}, - "stopKey": "50046",
- "stopName": "Subaugusta",
- "mainTransitType": "Subway",
- "mainAgencyId": 8905,
- "mainAgencyName": "ATAC",
}
}, - {
- "shape": "epm~FmuukAy@dBmEjJmIdR??",
- "toStop": {
- "stopId": 2945606,
- "location": {
- "lat": 41.856729,
- "lon": 12.562389
}, - "stopKey": "50022",
- "stopName": "Giulio Agricola",
- "mainTransitType": "Subway",
- "mainAgencyId": 8905,
- "mainAgencyName": "ATAC",
}
}, - {
- "shape": "{bn~FustkAo@vA}G`O{GtN??",
- "toStop": {
- "stopId": 2945610,
- "location": {
- "lat": 41.859821,
- "lon": 12.557014
}, - "stopKey": "50026",
- "stopName": "Lucio Sestio",
- "mainTransitType": "Subway",
- "mainAgencyId": 8905,
- "mainAgencyName": "ATAC",
}
}, - {
- "shape": "evn~FeqskAu@~AqDvIkFlM??",
- "toStop": {
- "stopId": 2945614,
- "location": {
- "lat": 41.862042,
- "lon": 12.552819
}, - "stopKey": "50030",
- "stopName": "Numidio Quadrato",
- "mainTransitType": "Subway",
- "mainAgencyId": 8905,
- "mainAgencyName": "ATAC",
}
}, - {
- "shape": "ydo~F_urkAk@vAuChHy@nCu@|Dq@tD??",
- "toStop": {
- "stopId": 2945621,
- "location": {
- "lat": 41.863568,
- "lon": 12.54909
}, - "stopKey": "50037",
- "stopName": "Porta Furba - Quadraro",
- "mainTransitType": "Subway",
- "mainAgencyId": 8905,
- "mainAgencyName": "ATAC",
}
}, - {
- "shape": "}oo~FyxqkAiAhG}@rFKrAAfBUbSGjKiAbGuDpL??",
- "toStop": {
- "stopId": 2945585,
- "location": {
- "lat": 41.866201,
- "lon": 12.535529
}, - "stopKey": "50001",
- "stopName": "Arco Di Travertino",
- "mainTransitType": "Subway",
- "mainAgencyId": 8905,
- "mainAgencyName": "ATAC",
}
}, - {
- "shape": "q}o~FylokAc@xAaJbQeCjE_FnL??",
- "toStop": {
- "stopId": 2945596,
- "location": {
- "lat": 41.869924,
- "lon": 12.529215
}, - "stopKey": "50012",
- "stopName": "Colli Albani",
- "mainTransitType": "Subway",
- "mainAgencyId": 8905,
- "mainAgencyName": "ATAC",
}
}, - {
- "shape": "}tp~F_dnkAo@|AyBhEkIrKcKnMcB`C??",
- "toStop": {
- "stopId": 2945604,
- "location": {
- "lat": 41.874782,
- "lon": 12.523046
}, - "stopKey": "50020",
- "stopName": "Furio Camillo",
- "mainTransitType": "Subway",
- "mainAgencyId": 8905,
- "mainAgencyName": "ATAC",
}
}, - {
- "shape": "{sq~Fq{lkAeI`LyGvJA?",
- "toStop": {
- "stopId": 2945619,
- "location": {
- "lat": 41.877973,
- "lon": 12.519082
}, - "stopKey": "50035",
- "stopName": "Ponte Lungo",
- "mainTransitType": "Subway",
- "mainAgencyId": 8905,
- "mainAgencyName": "ATAC",
}
}, - {
- "shape": "}fr~FwblkAsAnBwMlP{FpH??",
- "toStop": {
- "stopId": 2945624,
- "location": {
- "lat": 41.881903,
- "lon": 12.514104
}, - "stopKey": "50040",
- "stopName": "Re Di Roma",
- "mainTransitType": "Subway",
- "mainAgencyId": 8905,
- "mainAgencyName": "ATAC",
}
}, - {
- "shape": "e`s~FgdkkAaC~CaKrMuFzG??",
- "toStop": {
- "stopId": 2945627,
- "location": {
- "lat": 41.885313,
- "lon": 12.509946
}, - "stopKey": "50043",
- "stopName": "S. Giovanni",
- "mainTransitType": "Subway",
- "mainAgencyId": 8905,
- "mainAgencyName": "ATAC",
}
}, - {
- "shape": "_xs~FwgjkASToCjC[j@MDgOhGgGfC??",
- "toStop": {
- "stopId": 2945611,
- "location": {
- "lat": 41.890449,
- "lon": 12.506695
}, - "stopKey": "50027",
- "stopName": "Manzoni",
- "mainTransitType": "Subway",
- "mainAgencyId": 8905,
- "mainAgencyName": "ATAC",
}
}, - {
- "shape": "}vt~FqtikAiKfEmKrE??",
- "toStop": {
- "stopId": 2945634,
- "location": {
- "lat": 41.895021,
- "lon": 12.504313
}, - "stopKey": "50050",
- "stopName": "Vittorio Emanuele",
- "mainTransitType": "Subway",
- "mainAgencyId": 8905,
- "mainAgencyName": "ATAC",
}
}, - {
- "shape": "uou~FugikAOFkCvAmDhBkDdBcJzE}@r@wJpHGH??",
- "toStop": {
- "stopId": 2945631,
- "location": {
- "lat": 41.901497,
- "lon": 12.500624
}, - "stopKey": "50047",
- "stopName": "Termini",
- "mainTransitType": "Subway",
- "mainAgencyId": 8905,
- "mainAgencyName": "ATAC",
}
}, - {
- "shape": "mxv~FykhkAiEbG}B~M??",
- "toStop": {
- "stopId": 2945625,
- "location": {
- "lat": 41.902636,
- "lon": 12.49624
}, - "stopKey": "50041",
- "stopName": "Repubblica",
- "mainTransitType": "Subway",
- "mainAgencyId": 8905,
- "mainAgencyName": "ATAC",
}
}, - {
- "shape": "ubw~FutgkAADu@td@sAfFiAlA??",
- "toStop": {
- "stopId": 2945587,
- "location": {
- "lat": 41.903957,
- "lon": 12.488767
}, - "stopKey": "50003",
- "stopName": "Barberini",
- "mainTransitType": "Subway",
- "mainAgencyId": 8905,
- "mainAgencyName": "ATAC",
}
}, - {
- "shape": "kiw~FcefkAIHkBf@oCjCuAdDuEhQ{A|B",
- "toStop": {
- "stopId": 2945629,
- "location": {
- "lat": 41.906457,
- "lon": 12.483059
}, - "stopKey": "50045",
- "stopName": "Spagna",
- "mainTransitType": "Subway",
- "mainAgencyId": 8905,
- "mainAgencyName": "ATAC",
}
}, - {
- "shape": "y}w~FwcekASX_CrCSRyHpI_H|HgHvH_AtCGnA??",
- "toStop": {
- "stopId": 2945603,
- "location": {
- "lat": 41.91245,
- "lon": 12.47659
}, - "stopKey": "50019",
- "stopName": "Flaminio",
- "mainTransitType": "Subway",
- "mainAgencyId": 8905,
- "mainAgencyName": "ATAC",
}
}, - {
- "shape": "kay~FgxckAElAt@pKpBjZnAxQTtA??",
- "toStop": {
- "stopId": 2945608,
- "location": {
- "lat": 41.911396,
- "lon": 12.466323
}, - "stopKey": "50024",
- "stopName": "Lepanto",
- "mainTransitType": "Subway",
- "mainAgencyId": 8905,
- "mainAgencyName": "ATAC",
}
}, - {
- "shape": "cyx~FkxakAxB`OjG`a@??",
- "toStop": {
- "stopId": 2945615,
- "location": {
- "lat": 41.909236,
- "lon": 12.457863
}, - "stopKey": "50031",
- "stopName": "Ottaviano",
- "mainTransitType": "Subway",
- "mainAgencyId": 8905,
- "mainAgencyName": "ATAC",
}
}, - {
- "shape": "}lx~Fgf`kAjAtHvHbg@S|MNjA??",
- "toStop": {
- "stopId": 2945594,
- "location": {
- "lat": 41.90732,
- "lon": 12.447381
}, - "stopKey": "50010",
- "stopName": "Cipro",
- "mainTransitType": "Subway",
- "mainAgencyId": 8905,
- "mainAgencyName": "ATAC",
}
}, - {
- "shape": "}`x~Fcc~jAJx@|A~B|FvFpI~JpEdIh@pA??",
- "toStop": {
- "stopId": 2945633,
- "location": {
- "lat": 41.902975,
- "lon": 12.441582
}, - "stopKey": "50049",
- "stopName": "Valle Aurelia",
- "mainTransitType": "Subway",
- "mainAgencyId": 8905,
- "mainAgencyName": "ATAC",
}
}, - {
- "shape": "gcw~Fy||jAfG|NdC|DdFbIn@rDd@pC??",
- "toStop": {
- "stopId": 2945586,
- "location": {
- "lat": 41.899162,
- "lon": 12.434297
}, - "stopKey": "50002",
- "stopName": "Baldo Degli Ubaldi",
- "mainTransitType": "Subway",
- "mainAgencyId": 8905,
- "mainAgencyName": "ATAC",
}
}, - {
- "shape": "}lv~Fsr{jAb@dCjBrMLvBKhFaBlI_CzEoErB??",
- "toStop": {
- "stopId": 2945599,
- "location": {
- "lat": 41.900474,
- "lon": 12.426268
}, - "stopKey": "50015",
- "stopName": "Cornelia",
- "mainTransitType": "Subway",
- "mainAgencyId": 8905,
- "mainAgencyName": "ATAC",
}
}, - {
- "shape": "}uv~Fy_zjA_F|B_BxCaArA_BfHk@xRo@vDyAfBmAdB_K`R",
- "toStop": {
- "stopId": 2945589,
- "location": {
- "lat": 41.906373,
- "lon": 12.414835
}, - "stopKey": "50005",
- "stopName": "Battistini",
- "mainTransitType": "Subway",
- "mainAgencyId": 8905,
- "mainAgencyName": "ATAC",
}
}
]
}Server Type:
core-app
Returns a 24h static schedule for the specified line group in the specified day.
| lineNumber required | string The line number |
| agencyName required | string The agency name |
{- "lineNumber": "A",
- "agencyName": "ATAC"
}{- "lineSchedule": [
- {
- "lineId": 1750713,
- "stopId": 24390582,
- "timestamp": 1588202640000,
- "timestampUtc": 1588217040000
}, - {
- "lineId": 1750594,
- "stopId": 24390582,
- "timestamp": 1588203540000,
- "timestampUtc": 1588217940000
}, - {
- "lineId": 1750595,
- "stopId": 24390582,
- "timestamp": 1588205520000,
- "timestampUtc": 1588219920000
}, - {
- "lineId": 1750714,
- "stopId": 24390582,
- "timestamp": 1588206360000,
- "timestampUtc": 1588220760000
}, - {
- "lineId": 1750555,
- "stopId": 24390582,
- "timestamp": 1588207440000,
- "timestampUtc": 1588221840000
}
]
}Server Type:
core-app
Returns a list of all active alerts for the specified line group. Each element in the list is an alert summary. For details of a specific alert, call Get Service Alert Details with the relevant alert ID.
| lineNumber required | string The line number |
| agencyName required | string The agency name |
{- "lineNumber": "A",
- "agencyName": "ATAC"
}{- "alerts": [
- {
- "alertId": "42129147",
- "alertSummary": "Babylon",
- "publicationDate": 1588263139992,
- "activeFrom": 1588373230000,
- "activeTo": 1619970000000,
- "category": "Modified",
- "alertLevel": "Line",
- "lineGroupId": 183775
}, - {
- "alertId": "26306194",
- "publicationDate": 1548728702220,
- "category": "Regular",
- "alertLevel": "Line",
- "lineGroupId": 183775
}
]
}Server Type:
core-app
Returns a list of all user reviews for the specified line group. Each element in the list is a user review.
| lineNumber required | string The line number |
| agencyName required | string The agency name |
{- "lineNumber": "A",
- "agencyName": "ATAC"
}{- "userReviews": [
- {
- "lineGroupId": 759588,
- "lineId": 3358900,
- "userReview": [
- {
- "category": "LateDelay",
- "value": "",
- "text": "metro",
- "creationTime": 1591039064000,
- "likesCount": 0,
- "dislikesCount": 0,
- "inappropriateCount": 0
}, - {
- "category": "LineDidntStop",
- "value": "",
- "text": "Metro A servizio interrotto",
- "creationTime": 1590949173000,
- "likesCount": 2,
- "dislikesCount": 0,
- "inappropriateCount": 0
}
]
}, - {
- "lineGroupId": 759588,
- "lineId": 3358901,
- "userReview": [
- {
- "category": "LineDidntStop",
- "value": "",
- "creationTime": 1591429632000,
- "likesCount": 0,
- "dislikesCount": 0,
- "inappropriateCount": 0
}, - {
- "category": "DriversRank",
- "value": "Bad",
- "text": "fuori servizio intera linea",
- "creationTime": 1590941939000,
- "likesCount": 0,
- "dislikesCount": 0,
- "inappropriateCount": 0
}, - {
- "category": "LineDidntStop",
- "value": "",
- "text": "metro a chiusa",
- "creationTime": 1590941920000,
- "likesCount": 0,
- "dislikesCount": 0,
- "inappropriateCount": 0
}, - {
- "category": "DriversRank",
- "value": "Bad",
- "text": "nessun controllo da qualche giorno ed utenti che girano senza mascherine, percorsi nuovamente liberi, ci sono proprio due italie",
- "creationTime": 1590753888000,
- "likesCount": 0,
- "dislikesCount": 0,
- "inappropriateCount": 0
}
]
}
]
}Server Type:
core-app
Aggregates together all data as to the specified line group. This is a combination of data returned in Get Line Basic info, Get Line Stops, Get Line Shape, Get Line Schedule, Get Line Alerts and Get Line User Reviews. Additionally, it connects specific trip patterns (stop sequences) with shapes.
| lineNumber required | string The line number |
| agencyName required | string The agency name |
{- "lineNumber": "A",
- "agencyName": "ATAC"
}{- "linesFullInfo": [
- {
- "lineGroup": {
- "lineGroup": {
- "lineGroupId": 183775,
- "agencyId": 726988,
- "agencyName": "LIRR",
- "lineNumber": "Babylon",
- "color": -16738209,
- "transitType": "Rail"
}, - "lineAndPattern": [
- {
- "line": {
- "lineId": 1750484,
- "lineGroupId": 183775,
- "directionId": 0,
- "agencyId": 726988,
- "lineNumber": "Babylon",
- "destination": "Babylon"
}, - "mostFrequentPatternId": 186096
}, - {
- "line": {
- "lineId": 1750485,
- "lineGroupId": 183775,
- "directionId": 0,
- "agencyId": 726988,
- "lineNumber": "Babylon",
- "destination": "Babylon"
}, - "mostFrequentPatternId": 13033
}
]
}, - "stops": [
- {
- "stopId": 24390582,
- "location": {
- "lat": 40.65673,
- "lon": -73.607057
}, - "stopKey": "MOOVIT#24390582",
- "stopName": "Baldwin",
- "mainTransitType": "Rail",
- "mainAgencyId": 726988,
- "mainAgencyName": "LIRR",
- "accessible": 1
}, - {
- "stopId": 34970134,
- "location": {
- "lat": 40.699611,
- "lon": -73.809137
}, - "stopName": "Jamaica Lirr",
- "mainTransitType": "Rail",
- "mainAgencyId": 726988,
- "mainAgencyName": "LIRR",
- "accessible": 1
}
], - "patterns": [
- {
- "patternId": 130205,
- "lineId": 1750680,
- "stopIds": [
- 23133192,
- 23133362,
- 24391593,
- 24390332,
- 24475199,
- 24475195,
- 24475183,
- 24475141,
- 24391426,
- 24475213,
- 22902166,
- 24390582,
- 24475274,
- 24475075,
- 34970134,
- 20517646,
- 9641083,
- 27765306
], - "shape": "ijlwFjbp~Lre@hkC~e@zlC??bZfyAxMhs@jBnf@@?xChhCA?tF`jBfFbkB??zA|j@|Apl@??pB`w@~Bjt@??lBxs@rLbvA??rGnk@pPznA??lNp`AxNleA??xSh~AxQxeB??|CdmAK`lA??{HbuFA@Bb[z@`UzMpeBwAv^??wNbuBek@t{C{@rkCiCrU_Qpp@mfAz}B{hAhuBiYbQsOhS{GpW`H`_@??dElXt@tTmHxUwKxOmo@~s@??ia@je@uO`UaJpY@?y`Ex`\\"
}, - {
- "patternId": 128453,
- "lineId": 1750580,
- "stopIds": [
- 27765306,
- 9641083,
- 20517646,
- 34970134,
- 24475075,
- 22902166,
- 24391426,
- 24475195,
- 24390332,
- 23133192
], - "shape": "{cvwFtyrbMhA}Dp@_Cr@_C`@eCXkCn@aCr@_Cr@}Bt@}Br@}Bt@_Cr@}Bt@}Br@}Br@_Ct@}Br@}Bt@}Br@_Ct@}Br@}Bt@}Br@_Cr@}Br@_Cr@_Cp@_Ch@cCf@gC\\iCZiCPoCNmCNmCNoCPmCNoCNmCNmCNoCNmCNmCNoCNmCNoCPmCNmCNoCNmCNoCNmCLmCNoCJoCLmCNoCFoCAoCEoCIoCQmCUkC[kCc@gCe@gCk@cCm@cCm@aCm@cCo@aCs@}Bs@_Cs@}Bs@}Bs@_Cu@}Bu@}Bs@}Bu@}Bs@_Cq@_Cm@aCk@eCg@eCc@gC_@iC]kC[iC[kC[kC[kCWkCYkCYkCYmCYkCYkCYkCYkC[kCYkCYkCYkC[kCYkCYkCYkC[kCWmCYkCYkCWkCYkCYmCWkCWkCQoCImC@qCLmC\\iCf@gCl@aCr@_Cv@{B|@wB~@qBfAoBhAiBlAcBpA_BrA}ApA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Cc@gCe@gCc@gCe@gCi@eCi@cCi@eCiA_G"
}
], - "schedule": [
- {
- "lineId": 1750713,
- "stopId": 24390582,
- "timestamp": 1588202640000,
- "timestampUtc": 1588217040000
}, - {
- "lineId": 1750594,
- "stopId": 24390582,
- "timestamp": 1588203540000,
- "timestampUtc": 1588217940000
}
], - "alerts": [
- {
- "alertId": "42129147",
- "alertSummary": "Babylon",
- "publicationDate": 1588263139992,
- "category": "Modified",
- "alertLevel": "Line"
}, - {
- "alertId": "26306194",
- "publicationDate": 1548728702220,
- "category": "Regular",
- "alertLevel": "Line"
}
], - "shapes": [
- {
- "lineGroupId": 183775,
- "lineId": 1750555,
- "shape": "{cvwFtyrbMhA}Dp@_Cr@_C`@eCXkCn@aCr@_Cr@}Bt@}Br@}Bt@_Cr@}Bt@}Br@}Br@_Ct@}Br@}Bt@}Br@_Ct@}Br@}Bt@}Br@_Cr@}Br@_Cr@_Cp@_Ch@cCf@gC\\iCZiCPoCNmCNmCNoCPmCNoCNmCNmCNoCNmCNmCNoCNmCNoCPmCNmCNoCNmCNoCNmCLmCNoCJoCLmCNoCFoCAoCEoCIoCQmCUkC[kCc@gCe@gCk@cCm@cCm@aCm@cCo@aCs@}Bs@_Cs@}Bs@}Bs@_Cu@}Bu@}Bs@}Bu@}Bs@_Cq@_Cm@aCk@eCg@eCc@gC_@iC]kC[iC[kC[kC[kCWkCYkCYkCYmCYkCYkCYkCYkC[kCYkCYkCYkC[kCYkCYkCYkC[kCWmCYkCYkCWkCYkCYmCWkCWkCQoCImC@qCLmC\\iCf@gCl@aCr@_Cv@{B|@wB~@qBfAoBhAiBlAcBpA_BrA}ApA}ArA}AnB{B??v@}@tAyAtAwAtAyAtA{ArA{AtAyArA{ArA{AtA{ArA{ArA{AtA{ArAyAvAwAnAcBjAgBdAmB|@uBz@yBt@}Bt@}Bt@}Br@}Bt@}Bt@}Br@}Bt@}Bt@}Br@}Bt@}Bt@}Br@_Ct@}Bp@_Cp@_Cn@aCn@aCn@aCn@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CoCCoCEoCCoCCoCCoCEoCCoCCoCCoCEoCAuA??Ay@CoCEoCEoCGoCMoCOmCSmCWkCYkC_@iCc@iCc@gCg@eCg@eCg@eCg@eCg@gCe@eCg@eCg@eCg@eCg@gCg@eCg@eCg@eCg@eCg@gCg@eCg@eCe@eCg@eCg@gCg@eCg@eCg@eCg@eCg@eCi@eCi@eCi@cCi@eCg@eCMk@??YyAe@gCe@gCc@gCe@eCg@gCg@eCe@eCg@gCg@eCe@gCe@eCe@gCc@gCe@gCe@eCc@gCe@gCc@gCe@gCc@gCc@gCc@gCe@gCc@gCc@gCc@gCe@gCc@gCc@gCc@gCe@gCc@gCc@gCc@gCe@gCc@gCe@gCc@gCc@gCe@gCc@gCe@gCc@gCe@gCc@gCe@eCc@gCe@gCe@gCc@gCe@gCc@gCe@gCc@gCe@eCc@gCe@gCc@gCe@gCc@gCe@gCi@eCi@cCi@eCiA_G"
}
]
}
]
}Server Type:
tp-app
This is Moovit’s primary trip plan API. It performs a multi-modal search in order to return the best possible options for a user to get from point A to point B, according to actual availability and the specified constraints.
In addition to the basic search query, containing location and times, this service also allows more advanced tuning, including:
required | object A latitude, longitude pair, describing a GPS location (in degrees). |
required | object A latitude, longitude pair, describing a GPS location (in degrees). |
| transitTypes | Array of strings Items Enum: "Tram" "Subway" "Rail" "Bus" "Ferry" "CableCar" "Gondola" "Funicular" Focus on a certain set of transit types. If not specified, all will be allowed. |
| preferredAgencies | Array of integers Prefer a specific set of public transit agencies |
| agencies | Array of integers Allow only a specific set of public transit agencies to be returned |
| time | integer <int64> The local time in Java format (milliseconds since 1/1/1970). If not specified the current time will be used |
| timeUtc | integer <int64> The UTC time in Java format (milliseconds since 1/1/1970). If not specified the current time will be used |
| timeType required | integer Enum: 1 2 3 Specifies whether the time signifies departure time, or arrival time. Values are: |
| searchType | string Default: "Fastest" Enum: "Fastest" "LeastWalking" "LeastTransfers" Route preference |
| modeTypes | Array of strings Items Enum: "PublicTransit" "CarShare" "Bike" Focus on a certain set of transportation modes. If not specified, all modes will be allowed. |
| bikeTypes | Array of strings Items Enum: "Private" "DockedBikes" "DocklessBikes" "DockedScooter" "DocklessScooter" Focus on a certain type of bikes. If not specified, all will be allowed. |
{- "from": {
- "lat": 40.752887,
- "lon": -73.977355
}, - "to": {
- "lat": 40.862112,
- "lon": -73.901735
}, - "timeType": 2
}{- "summaries": [
- {
- "itineraryId": "2634a856-8ac1-465d-a17a-ab7e77185553#20200430002D454176FC41B5BF7436E0628FA97B:0#121",
- "startTime": 1588251883000,
- "endTime": 1588254490000,
- "itinerarySummary": [
- {
- "legType": "Walk",
- "distance": 129.15231298
}, - {
- "legType": "PathWayWalk",
- "distance": 0
}, - {
- "legType": "Wait",
- "distance": 0
}, - {
- "legType": "Subway",
- "lineCaption": "4"
}, - {
- "legType": "PathWayWalk",
- "distance": 0
}, - {
- "legType": "Walk",
- "distance": 73.14694996
}
]
}, - {
- "itineraryId": "2634a856-8ac1-465d-a17a-ab7e77185553#20200430002D454176FC41B5BF7436E0628FA97B:1#121",
- "startTime": 1588253555000,
- "endTime": 1588255539000,
- "itinerarySummary": [
- {
- "legType": "Walk",
- "distance": 58.42784066
}, - {
- "legType": "PathWayWalk",
- "distance": 0
}, - {
- "legType": "Wait",
- "distance": 0
}, - {
- "legType": "Rail",
- "lineCaption": "NEW HAVEN"
}, - {
- "legType": "PathWayWalk",
- "distance": 0
}, - {
- "legType": "Walk",
- "distance": 120.00345066
}, - {
- "legType": "Wait",
- "distance": 0
}, - {
- "legType": "Bus",
- "lineCaption": "BX12-SBS"
}, - {
- "legType": "Walk",
- "distance": 109.61985915
}
]
}, - {
- "itineraryId": "2634a856-8ac1-465d-a17a-ab7e77185553#20200430002D454176FC41B5BF7436E0628FA97B:2#121",
- "startTime": 1588252595000,
- "endTime": 1588254870000,
- "itinerarySummary": [
- {
- "legType": "Walk",
- "distance": 58.42784066
}, - {
- "legType": "PathWayWalk",
- "distance": 0
}, - {
- "legType": "Wait",
- "distance": 0
}, - {
- "legType": "Rail",
- "lineCaption": "HUDSON"
}, - {
- "legType": "PathWayWalk",
- "distance": 0
}, - {
- "legType": "Walk",
- "distance": 187.41680301
}, - {
- "legType": "Wait",
- "distance": 0
}, - {
- "legType": "Bus",
- "lineCaption": "BX12-SBS"
}, - {
- "legType": "Walk",
- "distance": 146.23784204
}
]
}
]
}Server Type:
tp-app
This API performs a trip plan search from point A to point B, using only walking routes.
required | object A latitude, longitude pair, describing a GPS location (in degrees). |
required | object A latitude, longitude pair, describing a GPS location (in degrees). |
| time | integer <int64> The local time in Java format (milliseconds since 1/1/1970). If not specified the current time will be used |
| timeType required | integer Enum: 1 2 3 Specifies whether the time signifies departure time, or arrival time. Values are: |
{- "from": {
- "lat": "51.505627,",
- "lon": -0.13356
}, - "to": {
- "lat": "51.511737,",
- "lon": -0.131936
}, - "time": 1535032789000,
- "timeType": 2
}{- "itineraryId": "db6344e3-7510-409d-b3bf-064363e8be35#2020050341B1222FC91D45669D7F3A5BE62EF782:0",
- "startTime": 1588558184000,
- "endTime": 1588558883000,
- "distance": 891.9578730775283
}Server Type:
tp-app
Returns data according to an Itinerary ID previously returned by one of the above trip plan search APIs. The basic info contains data as to the various legs comprising the itinerary, including the locations, public transit lines, start and end times. An itinerary is available up to 24 hours following a search request.
| itineraryId required | string An ID of an itinerary previously returned by one of the trip plan search APIs |
{- "itineraryId": "f454ede7-6e74-41d4-92c5-32d98d5caae8#20180826559A27E097B54BE883A5501B532820C8:0#1"
}{- "itinerary": {
- "startTime": 1638084687000,
- "endTime": 1638087010000,
- "legs": [
- {
- "legType": "Wait",
- "lineGroup": {
- "lineGroupId": 400159,
- "agencyId": 855111,
- "agencyName": "MTA Subway",
- "lineNumber": "4",
- "caption1": "Lexington Avenue Express",
- "caption2": "4 Lexington Avenue Express",
- "color": -16739524,
- "transitType": "Subway"
}, - "line": {
- "lineId": 3128894,
- "lineGroupId": 400159,
- "directionId": 0,
- "agencyId": 855111,
- "lineNumber": "4",
- "destination": "Woodlawn"
}, - "startTime": 1638084687000,
- "endTime": 1638085110000,
- "waitOnVehicle": 0,
- "metroId": 121
}, - {
- "legType": "Subway",
- "lineGroup": {
- "lineGroupId": 400159,
- "agencyId": 855111,
- "agencyName": "MTA Subway",
- "lineNumber": "4",
- "caption1": "Lexington Avenue Express",
- "caption2": "4 Lexington Avenue Express",
- "color": -16739524,
- "transitType": "Subway"
}, - "line": {
- "lineId": 3128894,
- "lineGroupId": 400159,
- "directionId": 0,
- "agencyId": 855111,
- "lineNumber": "4",
- "destination": "Woodlawn"
}, - "startTime": 1638085110000,
- "endTime": 1638086730000,
- "metroId": 121
}, - {
- "legType": "PathWayWalk",
- "startTime": 1638086730000,
- "endTime": 1638086940000
}, - {
- "legType": "Walk",
- "startTime": 1638086941000,
- "endTime": 1638087010000
}
]
}
}Server Type:
tp-app
Returns the shape of an Itinerary ID previously returned by one of the above trip plan search APIs. For public transit legs will return also the stops that the leg passes through. For walk and bike legs, will return also the turn-by-turn navigation data. An itinerary is available up to 24 hours following a search request.
| itineraryId required | string An ID of an itinerary previously returned by one of the trip plan search APIs |
{- "itineraryId": "f454ede7-6e74-41d4-92c5-32d98d5caae8#20180826559A27E097B54BE883A5501B532820C8:0#1"
}{- "itinerary": {
- "startTime": 1638084687000,
- "endTime": 1638087010000,
- "legs": [
- {
- "legType": "Wait",
- "lineGroup": {
- "lineGroupId": 400159,
- "agencyId": 855111,
- "agencyName": "MTA Subway",
- "lineNumber": "4",
- "caption1": "Lexington Avenue Express",
- "caption2": "4 Lexington Avenue Express",
- "color": -16739524,
- "transitType": "Subway"
}, - "line": {
- "lineId": 3128894,
- "lineGroupId": 400159,
- "directionId": 0,
- "agencyId": 855111,
- "lineNumber": "4",
- "destination": "Woodlawn"
}, - "stops": [
- {
- "stopId": 19919662,
- "location": {
- "lat": 40.751776,
- "lon": -73.976848
}, - "stopKey": "S9563494",
- "stopName": "Grand Central-42 St",
- "mainTransitType": "Subway",
- "mainAgencyId": 855111,
- "mainAgencyName": "MTA Subway",
- "accessible": 1
}, - {
- "stopId": 19919618,
- "location": {
- "lat": 40.862803,
- "lon": -73.901034
}, - "stopKey": "S9563316",
- "stopName": "Fordham Rd",
- "mainTransitType": "Subway",
- "mainAgencyId": 855111,
- "mainAgencyName": "MTA Subway",
- "accessible": 1
}
], - "startTime": 1638084687000,
- "endTime": 1638085110000,
- "waitOnVehicle": 0,
- "metroId": 121
}, - {
- "legType": "Subway",
- "lineGroup": {
- "lineGroupId": 400159,
- "agencyId": 855111,
- "agencyName": "MTA Subway",
- "lineNumber": "4",
- "caption1": "Lexington Avenue Express",
- "caption2": "4 Lexington Avenue Express",
- "color": -16739524,
- "transitType": "Subway"
}, - "line": {
- "lineId": 3128894,
- "lineGroupId": 400159,
- "directionId": 0,
- "agencyId": 855111,
- "lineNumber": "4",
- "destination": "Woodlawn"
}, - "stops": [
- {
- "stopId": 19919662,
- "location": {
- "lat": 40.751776,
- "lon": -73.976848
}, - "stopKey": "S9563494",
- "stopName": "Grand Central-42 St",
- "mainTransitType": "Subway",
- "mainAgencyId": 855111,
- "mainAgencyName": "MTA Subway",
- "accessible": 1
}, - {
- "stopId": 19919494,
- "location": {
- "lat": 40.762526,
- "lon": -73.967967
}, - "stopKey": "S9563273",
- "stopName": "Lexington Av/59 St",
- "mainTransitType": "Subway",
- "mainAgencyId": 855111,
- "mainAgencyName": "MTA Subway",
}, - {
- "stopId": 19919658,
- "location": {
- "lat": 40.779492,
- "lon": -73.955589
}, - "stopKey": "S9563353",
- "stopName": "86 St",
- "mainTransitType": "Subway",
- "mainAgencyId": 855111,
- "mainAgencyName": "MTA Subway",
}, - {
- "stopId": 19919653,
- "location": {
- "lat": 40.804138,
- "lon": -73.937594
}, - "stopKey": "S9563346",
- "stopName": "125 St",
- "mainTransitType": "Subway",
- "mainAgencyId": 855111,
- "mainAgencyName": "MTA Subway",
- "accessible": 1
}, - {
- "stopId": 19919625,
- "location": {
- "lat": 40.81841,
- "lon": -73.926718
}, - "stopKey": "S9563341",
- "stopName": "149 St-Grand Concourse",
- "mainTransitType": "Subway",
- "mainAgencyId": 855111,
- "mainAgencyName": "MTA Subway",
}, - {
- "stopId": 19919322,
- "location": {
- "lat": 40.827994,
- "lon": -73.925831
}, - "stopKey": "S9563561",
- "stopName": "161 St-Yankee Stadium",
- "mainTransitType": "Subway",
- "mainAgencyId": 855111,
- "mainAgencyName": "MTA Subway",
- "accessible": 1
}, - {
- "stopId": 19919624,
- "location": {
- "lat": 40.835537,
- "lon": -73.9214
}, - "stopKey": "S9563360",
- "stopName": "167 St",
- "mainTransitType": "Subway",
- "mainAgencyId": 855111,
- "mainAgencyName": "MTA Subway",
}, - {
- "stopId": 19919623,
- "location": {
- "lat": 40.840075,
- "lon": -73.917791
}, - "stopKey": "S9563362",
- "stopName": "170 St",
- "mainTransitType": "Subway",
- "mainAgencyId": 855111,
- "mainAgencyName": "MTA Subway",
}, - {
- "stopId": 19919622,
- "location": {
- "lat": 40.844434,
- "lon": -73.914685
}, - "stopKey": "S9563365",
- "stopName": "Mt Eden Av",
- "mainTransitType": "Subway",
- "mainAgencyId": 855111,
- "mainAgencyName": "MTA Subway",
}, - {
- "stopId": 19919621,
- "location": {
- "lat": 40.84848,
- "lon": -73.911794
}, - "stopKey": "S9563351",
- "stopName": "176 St",
- "mainTransitType": "Subway",
- "mainAgencyId": 855111,
- "mainAgencyName": "MTA Subway",
}, - {
- "stopId": 19919620,
- "location": {
- "lat": 40.853453,
- "lon": -73.907684
}, - "stopKey": "S9563313",
- "stopName": "Burnside Av",
- "mainTransitType": "Subway",
- "mainAgencyId": 855111,
- "mainAgencyName": "MTA Subway",
}, - {
- "stopId": 19919619,
- "location": {
- "lat": 40.858407,
- "lon": -73.903879
}, - "stopKey": "S9563314",
- "stopName": "183 St",
- "mainTransitType": "Subway",
- "mainAgencyId": 855111,
- "mainAgencyName": "MTA Subway",
}, - {
- "stopId": 19919618,
- "location": {
- "lat": 40.862803,
- "lon": -73.901034
}, - "stopKey": "S9563316",
- "stopName": "Fordham Rd",
- "mainTransitType": "Subway",
- "mainAgencyId": 855111,
- "mainAgencyName": "MTA Subway",
- "accessible": 1
}
], - "shape": "qivwFfrobMe@aDEUCKCICICGGQEGEGKMMK{~@sm@??aiBklA??se@e[y]oUsZcS}w@sh@??aXiQKI]U][o\\g[cCoBIGSMSK_@QUI_@MUGcKqCc@Kk@Qc@MUKuEcB??wJqD_@M]I]I]G[G]C[C[?[?[@[B[BYF[FWHmKdCSHQDODYD[De@Bi@A}@Kk@Mk@Sm@YsIiE??cn@uZ??yHyDs@a@e@a@]e@s@mAa@o@_@g@a@_@m@c@sGcE??gZmR??iXaQ??cIgFOIMK]Um@a@MKk@e@]Y][}LwK??_LwJOM][]WOM]U]U]Um@[yIsE??gQcJw@c@g@WWOSO{CwB",
- "startTime": 1638085110000,
- "endTime": 1638086730000,
- "metroId": 121
}, - {
- "legType": "PathWayWalk",
- "walkingOrigin": {
- "name": "Uptown & The Bronx",
- "location": {
- "lat": 40.862803,
- "lon": -73.901034
}, - "type": "PLATFORM"
}, - "walkingDestination": {
- "name": "Jerome Ave and Fordham Rd SW",
- "location": {
- "lat": 40.862562,
- "lon": -73.901367
}, - "type": "ENTRANCE_EXIT"
}, - "startTime": 1638086730000,
- "endTime": 1638086940000
}, - {
- "legType": "Walk",
- "walkingSteps": [
- {
- "direction": {
- "relativeDirection": "Right"
}, - "streetName": "Jerome Avenue",
- "lengthInMeters": 60,
- "travelTimeInMs": 46000,
- "startLocation": {
- "lat": 40.862515,
- "lon": -73.901216
}
}
], - "walkingOrigin": {
- "name": "Jerome Avenue",
- "location": {
- "lat": 40.862617,
- "lon": -73.901288
}
}, - "walkingDestination": {
- "location": {
- "lat": 40.862112,
- "lon": -73.901735
}
}, - "shape": "i~kxF`z`bMRM~A`A??Od@",
- "startTime": 1638086941000,
- "endTime": 1638087010000
}
]
}
}Server Type:
tp-app
Returns data as to all departures of PT legs for the current 24 hours for an Itinerary ID previously returned by one of the above trip plan search APIs. An itinerary is available up to 24 hours following a search request.
| itineraryId required | string An ID of an itinerary previously returned by one of the trip plan search APIs |
{- "itineraryId": "f454ede7-6e74-41d4-92c5-32d98d5caae8#20180826559A27E097B54BE883A5501B532820C8:0#1"
}{- "itinerary": {
- "startTime": 1638084687000,
- "endTime": 1638087010000,
- "legs": [
- {
- "legType": "Wait",
- "lineGroup": {
- "lineGroupId": 400159,
- "agencyId": 855111,
- "agencyName": "MTA Subway",
- "lineNumber": "4",
- "caption1": "Lexington Avenue Express",
- "caption2": "4 Lexington Avenue Express",
- "color": -16739524,
- "transitType": "Subway"
}, - "line": {
- "lineId": 3128894,
- "lineGroupId": 400159,
- "directionId": 0,
- "agencyId": 855111,
- "lineNumber": "4",
- "destination": "Woodlawn"
}, - "startTime": 1638084687000,
- "endTime": 1638085110000,
- "departures": [
- {
- "lineId": 3128894,
- "stopId": 19919662,
- "timestamp": 1638085110000,
- "timestampUtc": 1638103110000
}, - {
- "lineId": 3128894,
- "stopId": 19919662,
- "timestamp": 1638086010000,
- "timestampUtc": 1638104010000
}, - {
- "lineId": 3128894,
- "stopId": 19919662,
- "timestamp": 1638086910000,
- "timestampUtc": 1638104910000
}, - {
- "lineId": 3128894,
- "stopId": 19919662,
- "timestamp": 1638087810000,
- "timestampUtc": 1638105810000
}, - {
- "lineId": 3128894,
- "stopId": 19919662,
- "timestamp": 1638088680000,
- "timestampUtc": 1638106680000
}, - {
- "lineId": 3128894,
- "stopId": 19919662,
- "timestamp": 1638089460000,
- "timestampUtc": 1638107460000
}
], - "waitOnVehicle": 0,
- "metroId": 121
}, - {
- "legType": "Subway",
- "lineGroup": {
- "lineGroupId": 400159,
- "agencyId": 855111,
- "agencyName": "MTA Subway",
- "lineNumber": "4",
- "caption1": "Lexington Avenue Express",
- "caption2": "4 Lexington Avenue Express",
- "color": -16739524,
- "transitType": "Subway"
}, - "line": {
- "lineId": 3128894,
- "lineGroupId": 400159,
- "directionId": 0,
- "agencyId": 855111,
- "lineNumber": "4",
- "destination": "Woodlawn"
}, - "startTime": 1638085110000,
- "endTime": 1638086730000,
- "departures": [
- {
- "lineId": 3128894,
- "stopId": 19919662,
- "timestamp": 1638153420000,
- "isRT": 0,
- "timestampUtc": 1638171420000
}, - {
- "lineId": 3128894,
- "stopId": 19919662,
- "timestamp": 1638154620000,
- "isRT": 0,
- "timestampUtc": 1638172620000
}, - {
- "lineId": 3128894,
- "stopId": 19919662,
- "timestamp": 1638155820000,
- "isRT": 0,
- "timestampUtc": 1638173820000
}, - {
- "lineId": 3128894,
- "stopId": 19919662,
- "timestamp": 1638157020000,
- "isRT": 0,
- "timestampUtc": 1638175020000
}, - {
- "lineId": 3128894,
- "stopId": 19919662,
- "timestamp": 1638089460000,
- "isRT": 0,
- "timestampUtc": 1638107460000
}, - {
- "lineId": 3128894,
- "stopId": 19919662,
- "timestamp": 1638090210000,
- "isRT": 0,
- "timestampUtc": 1638108210000
}, - {
- "lineId": 3128894,
- "stopId": 19919662,
- "timestamp": 1638090930000,
- "isRT": 0,
- "timestampUtc": 1638108930000
}, - {
- "lineId": 3128894,
- "stopId": 19919662,
- "timestamp": 1638091680000,
- "isRT": 0,
- "timestampUtc": 1638109680000
}, - {
- "lineId": 3128894,
- "stopId": 19919662,
- "timestamp": 1638144210000,
- "isRT": 0,
- "timestampUtc": 1638162210000
}, - {
- "lineId": 3128894,
- "stopId": 19919662,
- "timestamp": 1638145140000,
- "isRT": 0,
- "timestampUtc": 1638163140000
}, - {
- "lineId": 3128894,
- "stopId": 19919662,
- "timestamp": 1638146460000,
- "isRT": 0,
- "timestampUtc": 1638164460000
}, - {
- "lineId": 3128894,
- "stopId": 19919662,
- "timestamp": 1638085110000,
- "isRT": 0,
- "timestampUtc": 1638103110000
}, - {
- "lineId": 3128894,
- "stopId": 19919662,
- "timestamp": 1638086010000,
- "isRT": 0,
- "timestampUtc": 1638104010000
}, - {
- "lineId": 3128894,
- "stopId": 19919662,
- "timestamp": 1638086910000,
- "isRT": 0,
- "timestampUtc": 1638104910000
}, - {
- "lineId": 3128894,
- "stopId": 19919662,
- "timestamp": 1638087810000,
- "isRT": 0,
- "timestampUtc": 1638105810000
}, - {
- "lineId": 3128894,
- "stopId": 19919662,
- "timestamp": 1638088680000,
- "isRT": 0,
- "timestampUtc": 1638106680000
}, - {
- "lineId": 3128894,
- "stopId": 19919662,
- "timestamp": 1638147660000,
- "isRT": 0,
- "timestampUtc": 1638165660000
}, - {
- "lineId": 3128894,
- "stopId": 19919662,
- "timestamp": 1638148860000,
- "isRT": 0,
- "timestampUtc": 1638166860000
}, - {
- "lineId": 3128894,
- "stopId": 19919662,
- "timestamp": 1638149790000,
- "isRT": 0,
- "timestampUtc": 1638167790000
}, - {
- "lineId": 3128894,
- "stopId": 19919662,
- "timestamp": 1638150990000,
- "isRT": 0,
- "timestampUtc": 1638168990000
}, - {
- "lineId": 3128894,
- "stopId": 19919662,
- "timestamp": 1638152190000,
- "isRT": 0,
- "timestampUtc": 1638170190000
}, - {
- "lineId": 3128894,
- "stopId": 19919662,
- "timestamp": 1638092370000,
- "isRT": 0,
- "timestampUtc": 1638110370000
}, - {
- "lineId": 3128894,
- "stopId": 19919662,
- "timestamp": 1638093090000,
- "isRT": 0,
- "timestampUtc": 1638111090000
}, - {
- "lineId": 3128894,
- "stopId": 19919662,
- "timestamp": 1638093810000,
- "isRT": 0,
- "timestampUtc": 1638111810000
}, - {
- "lineId": 3128894,
- "stopId": 19919662,
- "timestamp": 1638094530000,
- "isRT": 0,
- "timestampUtc": 1638112530000
}, - {
- "lineId": 3128894,
- "stopId": 19919662,
- "timestamp": 1638095250000,
- "isRT": 0,
- "timestampUtc": 1638113250000
}, - {
- "lineId": 3128894,
- "stopId": 19919662,
- "timestamp": 1638095970000,
- "isRT": 0,
- "timestampUtc": 1638113970000
}, - {
- "lineId": 3128894,
- "stopId": 19919662,
- "timestamp": 1638096630000,
- "isRT": 0,
- "timestampUtc": 1638114630000
}, - {
- "lineId": 3128894,
- "stopId": 19919662,
- "timestamp": 1638097110000,
- "isRT": 0,
- "timestampUtc": 1638115110000
}, - {
- "lineId": 3128894,
- "stopId": 19919662,
- "timestamp": 1638097590000,
- "isRT": 0,
- "timestampUtc": 1638115590000
}, - {
- "lineId": 3128894,
- "stopId": 19919662,
- "timestamp": 1638098070000,
- "isRT": 0,
- "timestampUtc": 1638116070000
}, - {
- "lineId": 3128894,
- "stopId": 19919662,
- "timestamp": 1638098430000,
- "isRT": 0,
- "timestampUtc": 1638116430000
}, - {
- "lineId": 3128894,
- "stopId": 19919662,
- "timestamp": 1638098970000,
- "isRT": 0,
- "timestampUtc": 1638116970000
}, - {
- "lineId": 3128894,
- "stopId": 19919662,
- "timestamp": 1638099330000,
- "isRT": 0,
- "timestampUtc": 1638117330000
}, - {
- "lineId": 3128894,
- "stopId": 19919662,
- "timestamp": 1638099810000,
- "isRT": 0,
- "timestampUtc": 1638117810000
}, - {
- "lineId": 3128894,
- "stopId": 19919662,
- "timestamp": 1638100410000,
- "isRT": 0,
- "timestampUtc": 1638118410000
}, - {
- "lineId": 3128894,
- "stopId": 19919662,
- "timestamp": 1638100770000,
- "isRT": 0,
- "timestampUtc": 1638118770000
}, - {
- "lineId": 3128894,
- "stopId": 19919662,
- "timestamp": 1638101250000,
- "isRT": 0,
- "timestampUtc": 1638119250000
}, - {
- "lineId": 3128894,
- "stopId": 19919662,
- "timestamp": 1638101850000,
- "isRT": 0,
- "timestampUtc": 1638119850000
}, - {
- "lineId": 3128894,
- "stopId": 19919662,
- "timestamp": 1638102210000,
- "isRT": 0,
- "timestampUtc": 1638120210000
}, - {
- "lineId": 3128894,
- "stopId": 19919662,
- "timestamp": 1638102690000,
- "isRT": 0,
- "timestampUtc": 1638120690000
}, - {
- "lineId": 3128894,
- "stopId": 19919662,
- "timestamp": 1638103290000,
- "isRT": 0,
- "timestampUtc": 1638121290000
}, - {
- "lineId": 3128894,
- "stopId": 19919662,
- "timestamp": 1638103650000,
- "isRT": 0,
- "timestampUtc": 1638121650000
}, - {
- "lineId": 3128894,
- "stopId": 19919662,
- "timestamp": 1638104130000,
- "isRT": 0,
- "timestampUtc": 1638122130000
}, - {
- "lineId": 3128894,
- "stopId": 19919662,
- "timestamp": 1638104730000,
- "isRT": 0,
- "timestampUtc": 1638122730000
}, - {
- "lineId": 3128894,
- "stopId": 19919662,
- "timestamp": 1638105090000,
- "isRT": 0,
- "timestampUtc": 1638123090000
}, - {
- "lineId": 3128894,
- "stopId": 19919662,
- "timestamp": 1638105570000,
- "isRT": 0,
- "timestampUtc": 1638123570000
}, - {
- "lineId": 3128894,
- "stopId": 19919662,
- "timestamp": 1638106170000,
- "isRT": 0,
- "timestampUtc": 1638124170000
}, - {
- "lineId": 3128894,
- "stopId": 19919662,
- "timestamp": 1638106530000,
- "isRT": 0,
- "timestampUtc": 1638124530000
}, - {
- "lineId": 3128894,
- "stopId": 19919662,
- "timestamp": 1638107010000,
- "isRT": 0,
- "timestampUtc": 1638125010000
}, - {
- "lineId": 3128894,
- "stopId": 19919662,
- "timestamp": 1638107610000,
- "isRT": 0,
- "timestampUtc": 1638125610000
}, - {
- "lineId": 3128894,
- "stopId": 19919662,
- "timestamp": 1638107970000,
- "isRT": 0,
- "timestampUtc": 1638125970000
}, - {
- "lineId": 3128894,
- "stopId": 19919662,
- "timestamp": 1638108450000,
- "isRT": 0,
- "timestampUtc": 1638126450000
}, - {
- "lineId": 3128894,
- "stopId": 19919662,
- "timestamp": 1638109050000,
- "isRT": 0,
- "timestampUtc": 1638127050000
}, - {
- "lineId": 3128894,
- "stopId": 19919662,
- "timestamp": 1638109410000,
- "isRT": 0,
- "timestampUtc": 1638127410000
}, - {
- "lineId": 3128894,
- "stopId": 19919662,
- "timestamp": 1638109890000,
- "isRT": 0,
- "timestampUtc": 1638127890000
}, - {
- "lineId": 3128894,
- "stopId": 19919662,
- "timestamp": 1638110490000,
- "isRT": 0,
- "timestampUtc": 1638128490000
}, - {
- "lineId": 3128894,
- "stopId": 19919662,
- "timestamp": 1638110850000,
- "isRT": 0,
- "timestampUtc": 1638128850000
}, - {
- "lineId": 3128894,
- "stopId": 19919662,
- "timestamp": 1638111330000,
- "isRT": 0,
- "timestampUtc": 1638129330000
}, - {
- "lineId": 3128894,
- "stopId": 19919662,
- "timestamp": 1638111930000,
- "isRT": 0,
- "timestampUtc": 1638129930000
}, - {
- "lineId": 3128894,
- "stopId": 19919662,
- "timestamp": 1638112290000,
- "isRT": 0,
- "timestampUtc": 1638130290000
}, - {
- "lineId": 3128894,
- "stopId": 19919662,
- "timestamp": 1638112770000,
- "isRT": 0,
- "timestampUtc": 1638130770000
}, - {
- "lineId": 3128894,
- "stopId": 19919662,
- "timestamp": 1638113370000,
- "isRT": 0,
- "timestampUtc": 1638131370000
}, - {
- "lineId": 3128894,
- "stopId": 19919662,
- "timestamp": 1638113730000,
- "isRT": 0,
- "timestampUtc": 1638131730000
}, - {
- "lineId": 3128894,
- "stopId": 19919662,
- "timestamp": 1638114210000,
- "isRT": 0,
- "timestampUtc": 1638132210000
}, - {
- "lineId": 3128894,
- "stopId": 19919662,
- "timestamp": 1638114810000,
- "isRT": 0,
- "timestampUtc": 1638132810000
}, - {
- "lineId": 3128894,
- "stopId": 19919662,
- "timestamp": 1638115170000,
- "isRT": 0,
- "timestampUtc": 1638133170000
}, - {
- "lineId": 3128894,
- "stopId": 19919662,
- "timestamp": 1638115650000,
- "isRT": 0,
- "timestampUtc": 1638133650000
}, - {
- "lineId": 3128894,
- "stopId": 19919662,
- "timestamp": 1638116250000,
- "isRT": 0,
- "timestampUtc": 1638134250000
}, - {
- "lineId": 3128894,
- "stopId": 19919662,
- "timestamp": 1638116610000,
- "isRT": 0,
- "timestampUtc": 1638134610000
}, - {
- "lineId": 3128894,
- "stopId": 19919662,
- "timestamp": 1638117090000,
- "isRT": 0,
- "timestampUtc": 1638135090000
}, - {
- "lineId": 3128894,
- "stopId": 19919662,
- "timestamp": 1638117690000,
- "isRT": 0,
- "timestampUtc": 1638135690000
}, - {
- "lineId": 3128894,
- "stopId": 19919662,
- "timestamp": 1638118050000,
- "isRT": 0,
- "timestampUtc": 1638136050000
}, - {
- "lineId": 3128894,
- "stopId": 19919662,
- "timestamp": 1638118530000,
- "isRT": 0,
- "timestampUtc": 1638136530000
}, - {
- "lineId": 3128894,
- "stopId": 19919662,
- "timestamp": 1638119130000,
- "isRT": 0,
- "timestampUtc": 1638137130000
}, - {
- "lineId": 3128894,
- "stopId": 19919662,
- "timestamp": 1638119490000,
- "isRT": 0,
- "timestampUtc": 1638137490000
}, - {
- "lineId": 3128894,
- "stopId": 19919662,
- "timestamp": 1638119970000,
- "isRT": 0,
- "timestampUtc": 1638137970000
}, - {
- "lineId": 3128894,
- "stopId": 19919662,
- "timestamp": 1638120570000,
- "isRT": 0,
- "timestampUtc": 1638138570000
}, - {
- "lineId": 3128894,
- "stopId": 19919662,
- "timestamp": 1638120930000,
- "isRT": 0,
- "timestampUtc": 1638138930000
}, - {
- "lineId": 3128894,
- "stopId": 19919662,
- "timestamp": 1638121410000,
- "isRT": 0,
- "timestampUtc": 1638139410000
}, - {
- "lineId": 3128894,
- "stopId": 19919662,
- "timestamp": 1638122010000,
- "isRT": 0,
- "timestampUtc": 1638140010000
}, - {
- "lineId": 3128894,
- "stopId": 19919662,
- "timestamp": 1638122370000,
- "isRT": 0,
- "timestampUtc": 1638140370000
}, - {
- "lineId": 3128894,
- "stopId": 19919662,
- "timestamp": 1638122850000,
- "isRT": 0,
- "timestampUtc": 1638140850000
}, - {
- "lineId": 3128894,
- "stopId": 19919662,
- "timestamp": 1638123450000,
- "isRT": 0,
- "timestampUtc": 1638141450000
}, - {
- "lineId": 3128894,
- "stopId": 19919662,
- "timestamp": 1638123810000,
- "isRT": 0,
- "timestampUtc": 1638141810000
}, - {
- "lineId": 3128894,
- "stopId": 19919662,
- "timestamp": 1638124290000,
- "isRT": 0,
- "timestampUtc": 1638142290000
}, - {
- "lineId": 3128894,
- "stopId": 19919662,
- "timestamp": 1638124890000,
- "isRT": 0,
- "timestampUtc": 1638142890000
}, - {
- "lineId": 3128894,
- "stopId": 19919662,
- "timestamp": 1638125250000,
- "isRT": 0,
- "timestampUtc": 1638143250000
}, - {
- "lineId": 3128894,
- "stopId": 19919662,
- "timestamp": 1638125730000,
- "isRT": 0,
- "timestampUtc": 1638143730000
}, - {
- "lineId": 3128894,
- "stopId": 19919662,
- "timestamp": 1638126390000,
- "isRT": 0,
- "timestampUtc": 1638144390000
}, - {
- "lineId": 3128894,
- "stopId": 19919662,
- "timestamp": 1638126780000,
- "isRT": 0,
- "timestampUtc": 1638144780000
}, - {
- "lineId": 3128894,
- "stopId": 19919662,
- "timestamp": 1638127380000,
- "isRT": 0,
- "timestampUtc": 1638145380000
}, - {
- "lineId": 3128894,
- "stopId": 19919662,
- "timestamp": 1638128100000,
- "isRT": 0,
- "timestampUtc": 1638146100000
}, - {
- "lineId": 3128894,
- "stopId": 19919662,
- "timestamp": 1638128820000,
- "isRT": 0,
- "timestampUtc": 1638146820000
}, - {
- "lineId": 3128894,
- "stopId": 19919662,
- "timestamp": 1638129540000,
- "isRT": 0,
- "timestampUtc": 1638147540000
}, - {
- "lineId": 3128894,
- "stopId": 19919662,
- "timestamp": 1638130260000,
- "isRT": 0,
- "timestampUtc": 1638148260000
}, - {
- "lineId": 3128894,
- "stopId": 19919662,
- "timestamp": 1638130980000,
- "isRT": 0,
- "timestampUtc": 1638148980000
}, - {
- "lineId": 3128894,
- "stopId": 19919662,
- "timestamp": 1638131700000,
- "isRT": 0,
- "timestampUtc": 1638149700000
}, - {
- "lineId": 3128894,
- "stopId": 19919662,
- "timestamp": 1638132420000,
- "isRT": 0,
- "timestampUtc": 1638150420000
}, - {
- "lineId": 3128894,
- "stopId": 19919662,
- "timestamp": 1638133140000,
- "isRT": 0,
- "timestampUtc": 1638151140000
}, - {
- "lineId": 3128894,
- "stopId": 19919662,
- "timestamp": 1638133860000,
- "isRT": 0,
- "timestampUtc": 1638151860000
}, - {
- "lineId": 3128894,
- "stopId": 19919662,
- "timestamp": 1638134580000,
- "isRT": 0,
- "timestampUtc": 1638152580000
}, - {
- "lineId": 3128894,
- "stopId": 19919662,
- "timestamp": 1638135300000,
- "isRT": 0,
- "timestampUtc": 1638153300000
}, - {
- "lineId": 3128894,
- "stopId": 19919662,
- "timestamp": 1638136020000,
- "isRT": 0,
- "timestampUtc": 1638154020000
}, - {
- "lineId": 3128894,
- "stopId": 19919662,
- "timestamp": 1638136740000,
- "isRT": 0,
- "timestampUtc": 1638154740000
}, - {
- "lineId": 3128894,
- "stopId": 19919662,
- "timestamp": 1638137460000,
- "isRT": 0,
- "timestampUtc": 1638155460000
}, - {
- "lineId": 3128894,
- "stopId": 19919662,
- "timestamp": 1638138180000,
- "isRT": 0,
- "timestampUtc": 1638156180000
}, - {
- "lineId": 3128894,
- "stopId": 19919662,
- "timestamp": 1638138900000,
- "isRT": 0,
- "timestampUtc": 1638156900000
}, - {
- "lineId": 3128894,
- "stopId": 19919662,
- "timestamp": 1638139620000,
- "isRT": 0,
- "timestampUtc": 1638157620000
}, - {
- "lineId": 3128894,
- "stopId": 19919662,
- "timestamp": 1638140340000,
- "isRT": 0,
- "timestampUtc": 1638158340000
}, - {
- "lineId": 3128894,
- "stopId": 19919662,
- "timestamp": 1638141060000,
- "isRT": 0,
- "timestampUtc": 1638159060000
}, - {
- "lineId": 3128894,
- "stopId": 19919662,
- "timestamp": 1638141780000,
- "isRT": 0,
- "timestampUtc": 1638159780000
}, - {
- "lineId": 3128894,
- "stopId": 19919662,
- "timestamp": 1638142500000,
- "isRT": 0,
- "timestampUtc": 1638160500000
}, - {
- "lineId": 3128894,
- "stopId": 19919662,
- "timestamp": 1638143280000,
- "isRT": 0,
- "timestampUtc": 1638161280000
}
], - "metroId": 121
}, - {
- "legType": "PathWayWalk",
- "startTime": 1638086730000,
- "endTime": 1638086940000
}, - {
- "legType": "Walk",
- "startTime": 1638086941000,
- "endTime": 1638087010000
}
]
}
}Server Type:
tp-app
Aggregates together all data as to the specified itinerary (previously returned by one of the above trip plan search APIs). This is a combination of data returned in Get Basic Itinerary, Get Detailed Itinerary Shape and Get Detailed Itinerary Schedules. An itinerary is available up to 24 hours following a search request.
| itineraryId required | string An ID of an itinerary previously returned by one of the trip plan search APIs |
{- "itineraryId": "f454ede7-6e74-41d4-92c5-32d98d5caae8#20180826559A27E097B54BE883A5501B532820C8:0#1"
}{- "itinerary": {
- "startTime": 1638084687000,
- "endTime": 1638087010000,
- "legs": [
- {
- "legType": "Wait",
- "lineGroup": {
- "lineGroupId": 400159,
- "agencyId": 855111,
- "agencyName": "MTA Subway",
- "lineNumber": "4",
- "caption1": "Lexington Avenue Express",
- "caption2": "4 Lexington Avenue Express",
- "color": -16739524,
- "transitType": "Subway"
}, - "line": {
- "lineId": 3128894,
- "lineGroupId": 400159,
- "directionId": 0,
- "agencyId": 855111,
- "lineNumber": "4",
- "destination": "Woodlawn"
}, - "stops": [
- {
- "stopId": 19919662,
- "location": {
- "lat": 40.751776,
- "lon": -73.976848
}, - "stopKey": "S9563494",
- "stopName": "Grand Central-42 St",
- "mainTransitType": "Subway",
- "mainAgencyId": 855111,
- "mainAgencyName": "MTA Subway",
- "accessible": 1
}, - {
- "stopId": 19919618,
- "location": {
- "lat": 40.862803,
- "lon": -73.901034
}, - "stopKey": "S9563316",
- "stopName": "Fordham Rd",
- "mainTransitType": "Subway",
- "mainAgencyId": 855111,
- "mainAgencyName": "MTA Subway",
- "accessible": 1
}
], - "startTime": 1638084687000,
- "endTime": 1638085110000,
- "departures": [
- {
- "lineId": 3128894,
- "stopId": 19919662,
- "timestamp": 1638085110000,
- "timestampUtc": 1638103110000
}, - {
- "lineId": 3128894,
- "stopId": 19919662,
- "timestamp": 1638086010000,
- "timestampUtc": 1638104010000
}, - {
- "lineId": 3128894,
- "stopId": 19919662,
- "timestamp": 1638086910000,
- "timestampUtc": 1638104910000
}, - {
- "lineId": 3128894,
- "stopId": 19919662,
- "timestamp": 1638087810000,
- "timestampUtc": 1638105810000
}, - {
- "lineId": 3128894,
- "stopId": 19919662,
- "timestamp": 1638088680000,
- "timestampUtc": 1638106680000
}, - {
- "lineId": 3128894,
- "stopId": 19919662,
- "timestamp": 1638089460000,
- "timestampUtc": 1638107460000
}
], - "waitOnVehicle": 0,
- "metroId": 121
}, - {
- "legType": "Subway",
- "lineGroup": {
- "lineGroupId": 400159,
- "agencyId": 855111,
- "agencyName": "MTA Subway",
- "lineNumber": "4",
- "caption1": "Lexington Avenue Express",
- "caption2": "4 Lexington Avenue Express",
- "color": -16739524,
- "transitType": "Subway"
}, - "line": {
- "lineId": 3128894,
- "lineGroupId": 400159,
- "directionId": 0,
- "agencyId": 855111,
- "lineNumber": "4",
- "destination": "Woodlawn"
}, - "stops": [
- {
- "stopId": 19919662,
- "location": {
- "lat": 40.751776,
- "lon": -73.976848
}, - "stopKey": "S9563494",
- "stopName": "Grand Central-42 St",
- "mainTransitType": "Subway",
- "mainAgencyId": 855111,
- "mainAgencyName": "MTA Subway",
- "accessible": 1
}, - {
- "stopId": 19919494,
- "location": {
- "lat": 40.762526,
- "lon": -73.967967
}, - "stopKey": "S9563273",
- "stopName": "Lexington Av/59 St",
- "mainTransitType": "Subway",
- "mainAgencyId": 855111,
- "mainAgencyName": "MTA Subway",
}, - {
- "stopId": 19919658,
- "location": {
- "lat": 40.779492,
- "lon": -73.955589
}, - "stopKey": "S9563353",
- "stopName": "86 St",
- "mainTransitType": "Subway",
- "mainAgencyId": 855111,
- "mainAgencyName": "MTA Subway",
}, - {
- "stopId": 19919653,
- "location": {
- "lat": 40.804138,
- "lon": -73.937594
}, - "stopKey": "S9563346",
- "stopName": "125 St",
- "mainTransitType": "Subway",
- "mainAgencyId": 855111,
- "mainAgencyName": "MTA Subway",
- "accessible": 1
}, - {
- "stopId": 19919625,
- "location": {
- "lat": 40.81841,
- "lon": -73.926718
}, - "stopKey": "S9563341",
- "stopName": "149 St-Grand Concourse",
- "mainTransitType": "Subway",
- "mainAgencyId": 855111,
- "mainAgencyName": "MTA Subway",
}, - {
- "stopId": 19919322,
- "location": {
- "lat": 40.827994,
- "lon": -73.925831
}, - "stopKey": "S9563561",
- "stopName": "161 St-Yankee Stadium",
- "mainTransitType": "Subway",
- "mainAgencyId": 855111,
- "mainAgencyName": "MTA Subway",
- "accessible": 1
}, - {
- "stopId": 19919624,
- "location": {
- "lat": 40.835537,
- "lon": -73.9214
}, - "stopKey": "S9563360",
- "stopName": "167 St",
- "mainTransitType": "Subway",
- "mainAgencyId": 855111,
- "mainAgencyName": "MTA Subway",
}, - {
- "stopId": 19919623,
- "location": {
- "lat": 40.840075,
- "lon": -73.917791
}, - "stopKey": "S9563362",
- "stopName": "170 St",
- "mainTransitType": "Subway",
- "mainAgencyId": 855111,
- "mainAgencyName": "MTA Subway",
}, - {
- "stopId": 19919622,
- "location": {
- "lat": 40.844434,
- "lon": -73.914685
}, - "stopKey": "S9563365",
- "stopName": "Mt Eden Av",
- "mainTransitType": "Subway",
- "mainAgencyId": 855111,
- "mainAgencyName": "MTA Subway",
}, - {
- "stopId": 19919621,
- "location": {
- "lat": 40.84848,
- "lon": -73.911794
}, - "stopKey": "S9563351",
- "stopName": "176 St",
- "mainTransitType": "Subway",
- "mainAgencyId": 855111,
- "mainAgencyName": "MTA Subway",
}, - {
- "stopId": 19919620,
- "location": {
- "lat": 40.853453,
- "lon": -73.907684
}, - "stopKey": "S9563313",
- "stopName": "Burnside Av",
- "mainTransitType": "Subway",
- "mainAgencyId": 855111,
- "mainAgencyName": "MTA Subway",
}, - {
- "stopId": 19919619,
- "location": {
- "lat": 40.858407,
- "lon": -73.903879
}, - "stopKey": "S9563314",
- "stopName": "183 St",
- "mainTransitType": "Subway",
- "mainAgencyId": 855111,
- "mainAgencyName": "MTA Subway",
}, - {
- "stopId": 19919618,
- "location": {
- "lat": 40.862803,
- "lon": -73.901034
}, - "stopKey": "S9563316",
- "stopName": "Fordham Rd",
- "mainTransitType": "Subway",
- "mainAgencyId": 855111,
- "mainAgencyName": "MTA Subway",
- "accessible": 1
}
], - "shape": "qivwFfrobMe@aDEUCKCICICGGQEGEGKMMK{~@sm@??aiBklA??se@e[y]oUsZcS}w@sh@??aXiQKI]U][o\\g[cCoBIGSMSK_@QUI_@MUGcKqCc@Kk@Qc@MUKuEcB??wJqD_@M]I]I]G[G]C[C[?[?[@[B[BYF[FWHmKdCSHQDODYD[De@Bi@A}@Kk@Mk@Sm@YsIiE??cn@uZ??yHyDs@a@e@a@]e@s@mAa@o@_@g@a@_@m@c@sGcE??gZmR??iXaQ??cIgFOIMK]Um@a@MKk@e@]Y][}LwK??_LwJOM][]WOM]U]U]Um@[yIsE??gQcJw@c@g@WWOSO{CwB",
- "startTime": 1638085110000,
- "endTime": 1638086730000,
- "departures": [
- {
- "lineId": 3128894,
- "stopId": 19919662,
- "timestamp": 1638153420000,
- "isRT": 0,
- "timestampUtc": 1638171420000
}, - {
- "lineId": 3128894,
- "stopId": 19919662,
- "timestamp": 1638154620000,
- "isRT": 0,
- "timestampUtc": 1638172620000
}, - {
- "lineId": 3128894,
- "stopId": 19919662,
- "timestamp": 1638155820000,
- "isRT": 0,
- "timestampUtc": 1638173820000
}, - {
- "lineId": 3128894,
- "stopId": 19919662,
- "timestamp": 1638157020000,
- "isRT": 0,
- "timestampUtc": 1638175020000
}, - {
- "lineId": 3128894,
- "stopId": 19919662,
- "timestamp": 1638089460000,
- "isRT": 0,
- "timestampUtc": 1638107460000
}, - {
- "lineId": 3128894,
- "stopId": 19919662,
- "timestamp": 1638090210000,
- "isRT": 0,
- "timestampUtc": 1638108210000
}, - {
- "lineId": 3128894,
- "stopId": 19919662,
- "timestamp": 1638090930000,
- "isRT": 0,
- "timestampUtc": 1638108930000
}, - {
- "lineId": 3128894,
- "stopId": 19919662,
- "timestamp": 1638091680000,
- "isRT": 0,
- "timestampUtc": 1638109680000
}, - {
- "lineId": 3128894,
- "stopId": 19919662,
- "timestamp": 1638144210000,
- "isRT": 0,
- "timestampUtc": 1638162210000
}, - {
- "lineId": 3128894,
- "stopId": 19919662,
- "timestamp": 1638145140000,
- "isRT": 0,
- "timestampUtc": 1638163140000
}, - {
- "lineId": 3128894,
- "stopId": 19919662,
- "timestamp": 1638146460000,
- "isRT": 0,
- "timestampUtc": 1638164460000
}, - {
- "lineId": 3128894,
- "stopId": 19919662,
- "timestamp": 1638085110000,
- "isRT": 0,
- "timestampUtc": 1638103110000
}, - {
- "lineId": 3128894,
- "stopId": 19919662,
- "timestamp": 1638086010000,
- "isRT": 0,
- "timestampUtc": 1638104010000
}, - {
- "lineId": 3128894,
- "stopId": 19919662,
- "timestamp": 1638086910000,
- "isRT": 0,
- "timestampUtc": 1638104910000
}, - {
- "lineId": 3128894,
- "stopId": 19919662,
- "timestamp": 1638087810000,
- "isRT": 0,
- "timestampUtc": 1638105810000
}, - {
- "lineId": 3128894,
- "stopId": 19919662,
- "timestamp": 1638088680000,
- "isRT": 0,
- "timestampUtc": 1638106680000
}, - {
- "lineId": 3128894,
- "stopId": 19919662,
- "timestamp": 1638147660000,
- "isRT": 0,
- "timestampUtc": 1638165660000
}, - {
- "lineId": 3128894,
- "stopId": 19919662,
- "timestamp": 1638148860000,
- "isRT": 0,
- "timestampUtc": 1638166860000
}, - {
- "lineId": 3128894,
- "stopId": 19919662,
- "timestamp": 1638149790000,
- "isRT": 0,
- "timestampUtc": 1638167790000
}, - {
- "lineId": 3128894,
- "stopId": 19919662,
- "timestamp": 1638150990000,
- "isRT": 0,
- "timestampUtc": 1638168990000
}, - {
- "lineId": 3128894,
- "stopId": 19919662,
- "timestamp": 1638152190000,
- "isRT": 0,
- "timestampUtc": 1638170190000
}, - {
- "lineId": 3128894,
- "stopId": 19919662,
- "timestamp": 1638092370000,
- "isRT": 0,
- "timestampUtc": 1638110370000
}, - {
- "lineId": 3128894,
- "stopId": 19919662,
- "timestamp": 1638093090000,
- "isRT": 0,
- "timestampUtc": 1638111090000
}, - {
- "lineId": 3128894,
- "stopId": 19919662,
- "timestamp": 1638093810000,
- "isRT": 0,
- "timestampUtc": 1638111810000
}, - {
- "lineId": 3128894,
- "stopId": 19919662,
- "timestamp": 1638094530000,
- "isRT": 0,
- "timestampUtc": 1638112530000
}, - {
- "lineId": 3128894,
- "stopId": 19919662,
- "timestamp": 1638095250000,
- "isRT": 0,
- "timestampUtc": 1638113250000
}, - {
- "lineId": 3128894,
- "stopId": 19919662,
- "timestamp": 1638095970000,
- "isRT": 0,
- "timestampUtc": 1638113970000
}, - {
- "lineId": 3128894,
- "stopId": 19919662,
- "timestamp": 1638096630000,
- "isRT": 0,
- "timestampUtc": 1638114630000
}, - {
- "lineId": 3128894,
- "stopId": 19919662,
- "timestamp": 1638097110000,
- "isRT": 0,
- "timestampUtc": 1638115110000
}, - {
- "lineId": 3128894,
- "stopId": 19919662,
- "timestamp": 1638097590000,
- "isRT": 0,
- "timestampUtc": 1638115590000
}, - {
- "lineId": 3128894,
- "stopId": 19919662,
- "timestamp": 1638098070000,
- "isRT": 0,
- "timestampUtc": 1638116070000
}, - {
- "lineId": 3128894,
- "stopId": 19919662,
- "timestamp": 1638098430000,
- "isRT": 0,
- "timestampUtc": 1638116430000
}, - {
- "lineId": 3128894,
- "stopId": 19919662,
- "timestamp": 1638098970000,
- "isRT": 0,
- "timestampUtc": 1638116970000
}, - {
- "lineId": 3128894,
- "stopId": 19919662,
- "timestamp": 1638099330000,
- "isRT": 0,
- "timestampUtc": 1638117330000
}, - {
- "lineId": 3128894,
- "stopId": 19919662,
- "timestamp": 1638099810000,
- "isRT": 0,
- "timestampUtc": 1638117810000
}, - {
- "lineId": 3128894,
- "stopId": 19919662,
- "timestamp": 1638100410000,
- "isRT": 0,
- "timestampUtc": 1638118410000
}, - {
- "lineId": 3128894,
- "stopId": 19919662,
- "timestamp": 1638100770000,
- "isRT": 0,
- "timestampUtc": 1638118770000
}, - {
- "lineId": 3128894,
- "stopId": 19919662,
- "timestamp": 1638101250000,
- "isRT": 0,
- "timestampUtc": 1638119250000
}, - {
- "lineId": 3128894,
- "stopId": 19919662,
- "timestamp": 1638101850000,
- "isRT": 0,
- "timestampUtc": 1638119850000
}, - {
- "lineId": 3128894,
- "stopId": 19919662,
- "timestamp": 1638102210000,
- "isRT": 0,
- "timestampUtc": 1638120210000
}, - {
- "lineId": 3128894,
- "stopId": 19919662,
- "timestamp": 1638102690000,
- "isRT": 0,
- "timestampUtc": 1638120690000
}, - {
- "lineId": 3128894,
- "stopId": 19919662,
- "timestamp": 1638103290000,
- "isRT": 0,
- "timestampUtc": 1638121290000
}, - {
- "lineId": 3128894,
- "stopId": 19919662,
- "timestamp": 1638103650000,
- "isRT": 0,
- "timestampUtc": 1638121650000
}, - {
- "lineId": 3128894,
- "stopId": 19919662,
- "timestamp": 1638104130000,
- "isRT": 0,
- "timestampUtc": 1638122130000
}, - {
- "lineId": 3128894,
- "stopId": 19919662,
- "timestamp": 1638104730000,
- "isRT": 0,
- "timestampUtc": 1638122730000
}, - {
- "lineId": 3128894,
- "stopId": 19919662,
- "timestamp": 1638105090000,
- "isRT": 0,
- "timestampUtc": 1638123090000
}, - {
- "lineId": 3128894,
- "stopId": 19919662,
- "timestamp": 1638105570000,
- "isRT": 0,
- "timestampUtc": 1638123570000
}, - {
- "lineId": 3128894,
- "stopId": 19919662,
- "timestamp": 1638106170000,
- "isRT": 0,
- "timestampUtc": 1638124170000
}, - {
- "lineId": 3128894,
- "stopId": 19919662,
- "timestamp": 1638106530000,
- "isRT": 0,
- "timestampUtc": 1638124530000
}, - {
- "lineId": 3128894,
- "stopId": 19919662,
- "timestamp": 1638107010000,
- "isRT": 0,
- "timestampUtc": 1638125010000
}, - {
- "lineId": 3128894,
- "stopId": 19919662,
- "timestamp": 1638107610000,
- "isRT": 0,
- "timestampUtc": 1638125610000
}, - {
- "lineId": 3128894,
- "stopId": 19919662,
- "timestamp": 1638107970000,
- "isRT": 0,
- "timestampUtc": 1638125970000
}, - {
- "lineId": 3128894,
- "stopId": 19919662,
- "timestamp": 1638108450000,
- "isRT": 0,
- "timestampUtc": 1638126450000
}, - {
- "lineId": 3128894,
- "stopId": 19919662,
- "timestamp": 1638109050000,
- "isRT": 0,
- "timestampUtc": 1638127050000
}, - {
- "lineId": 3128894,
- "stopId": 19919662,
- "timestamp": 1638109410000,
- "isRT": 0,
- "timestampUtc": 1638127410000
}, - {
- "lineId": 3128894,
- "stopId": 19919662,
- "timestamp": 1638109890000,
- "isRT": 0,
- "timestampUtc": 1638127890000
}, - {
- "lineId": 3128894,
- "stopId": 19919662,
- "timestamp": 1638110490000,
- "isRT": 0,
- "timestampUtc": 1638128490000
}, - {
- "lineId": 3128894,
- "stopId": 19919662,
- "timestamp": 1638110850000,
- "isRT": 0,
- "timestampUtc": 1638128850000
}, - {
- "lineId": 3128894,
- "stopId": 19919662,
- "timestamp": 1638111330000,
- "isRT": 0,
- "timestampUtc": 1638129330000
}, - {
- "lineId": 3128894,
- "stopId": 19919662,
- "timestamp": 1638111930000,
- "isRT": 0,
- "timestampUtc": 1638129930000
}, - {
- "lineId": 3128894,
- "stopId": 19919662,
- "timestamp": 1638112290000,
- "isRT": 0,
- "timestampUtc": 1638130290000
}, - {
- "lineId": 3128894,
- "stopId": 19919662,
- "timestamp": 1638112770000,
- "isRT": 0,
- "timestampUtc": 1638130770000
}, - {
- "lineId": 3128894,
- "stopId": 19919662,
- "timestamp": 1638113370000,
- "isRT": 0,
- "timestampUtc": 1638131370000
}, - {
- "lineId": 3128894,
- "stopId": 19919662,
- "timestamp": 1638113730000,
- "isRT": 0,
- "timestampUtc": 1638131730000
}, - {
- "lineId": 3128894,
- "stopId": 19919662,
- "timestamp": 1638114210000,
- "isRT": 0,
- "timestampUtc": 1638132210000
}, - {
- "lineId": 3128894,
- "stopId": 19919662,
- "timestamp": 1638114810000,
- "isRT": 0,
- "timestampUtc": 1638132810000
}, - {
- "lineId": 3128894,
- "stopId": 19919662,
- "timestamp": 1638115170000,
- "isRT": 0,
- "timestampUtc": 1638133170000
}, - {
- "lineId": 3128894,
- "stopId": 19919662,
- "timestamp": 1638115650000,
- "isRT": 0,
- "timestampUtc": 1638133650000
}, - {
- "lineId": 3128894,
- "stopId": 19919662,
- "timestamp": 1638116250000,
- "isRT": 0,
- "timestampUtc": 1638134250000
}, - {
- "lineId": 3128894,
- "stopId": 19919662,
- "timestamp": 1638116610000,
- "isRT": 0,
- "timestampUtc": 1638134610000
}, - {
- "lineId": 3128894,
- "stopId": 19919662,
- "timestamp": 1638117090000,
- "isRT": 0,
- "timestampUtc": 1638135090000
}, - {
- "lineId": 3128894,
- "stopId": 19919662,
- "timestamp": 1638117690000,
- "isRT": 0,
- "timestampUtc": 1638135690000
}, - {
- "lineId": 3128894,
- "stopId": 19919662,
- "timestamp": 1638118050000,
- "isRT": 0,
- "timestampUtc": 1638136050000
}, - {
- "lineId": 3128894,
- "stopId": 19919662,
- "timestamp": 1638118530000,
- "isRT": 0,
- "timestampUtc": 1638136530000
}, - {
- "lineId": 3128894,
- "stopId": 19919662,
- "timestamp": 1638119130000,
- "isRT": 0,
- "timestampUtc": 1638137130000
}, - {
- "lineId": 3128894,
- "stopId": 19919662,
- "timestamp": 1638119490000,
- "isRT": 0,
- "timestampUtc": 1638137490000
}, - {
- "lineId": 3128894,
- "stopId": 19919662,
- "timestamp": 1638119970000,
- "isRT": 0,
- "timestampUtc": 1638137970000
}, - {
- "lineId": 3128894,
- "stopId": 19919662,
- "timestamp": 1638120570000,
- "isRT": 0,
- "timestampUtc": 1638138570000
}, - {
- "lineId": 3128894,
- "stopId": 19919662,
- "timestamp": 1638120930000,
- "isRT": 0,
- "timestampUtc": 1638138930000
}, - {
- "lineId": 3128894,
- "stopId": 19919662,
- "timestamp": 1638121410000,
- "isRT": 0,
- "timestampUtc": 1638139410000
}, - {
- "lineId": 3128894,
- "stopId": 19919662,
- "timestamp": 1638122010000,
- "isRT": 0,
- "timestampUtc": 1638140010000
}, - {
- "lineId": 3128894,
- "stopId": 19919662,
- "timestamp": 1638122370000,
- "isRT": 0,
- "timestampUtc": 1638140370000
}, - {
- "lineId": 3128894,
- "stopId": 19919662,
- "timestamp": 1638122850000,
- "isRT": 0,
- "timestampUtc": 1638140850000
}, - {
- "lineId": 3128894,
- "stopId": 19919662,
- "timestamp": 1638123450000,
- "isRT": 0,
- "timestampUtc": 1638141450000
}, - {
- "lineId": 3128894,
- "stopId": 19919662,
- "timestamp": 1638123810000,
- "isRT": 0,
- "timestampUtc": 1638141810000
}, - {
- "lineId": 3128894,
- "stopId": 19919662,
- "timestamp": 1638124290000,
- "isRT": 0,
- "timestampUtc": 1638142290000
}, - {
- "lineId": 3128894,
- "stopId": 19919662,
- "timestamp": 1638124890000,
- "isRT": 0,
- "timestampUtc": 1638142890000
}, - {
- "lineId": 3128894,
- "stopId": 19919662,
- "timestamp": 1638125250000,
- "isRT": 0,
- "timestampUtc": 1638143250000
}, - {
- "lineId": 3128894,
- "stopId": 19919662,
- "timestamp": 1638125730000,
- "isRT": 0,
- "timestampUtc": 1638143730000
}, - {
- "lineId": 3128894,
- "stopId": 19919662,
- "timestamp": 1638126390000,
- "isRT": 0,
- "timestampUtc": 1638144390000
}, - {
- "lineId": 3128894,
- "stopId": 19919662,
- "timestamp": 1638126780000,
- "isRT": 0,
- "timestampUtc": 1638144780000
}, - {
- "lineId": 3128894,
- "stopId": 19919662,
- "timestamp": 1638127380000,
- "isRT": 0,
- "timestampUtc": 1638145380000
}, - {
- "lineId": 3128894,
- "stopId": 19919662,
- "timestamp": 1638128100000,
- "isRT": 0,
- "timestampUtc": 1638146100000
}, - {
- "lineId": 3128894,
- "stopId": 19919662,
- "timestamp": 1638128820000,
- "isRT": 0,
- "timestampUtc": 1638146820000
}, - {
- "lineId": 3128894,
- "stopId": 19919662,
- "timestamp": 1638129540000,
- "isRT": 0,
- "timestampUtc": 1638147540000
}, - {
- "lineId": 3128894,
- "stopId": 19919662,
- "timestamp": 1638130260000,
- "isRT": 0,
- "timestampUtc": 1638148260000
}, - {
- "lineId": 3128894,
- "stopId": 19919662,
- "timestamp": 1638130980000,
- "isRT": 0,
- "timestampUtc": 1638148980000
}, - {
- "lineId": 3128894,
- "stopId": 19919662,
- "timestamp": 1638131700000,
- "isRT": 0,
- "timestampUtc": 1638149700000
}, - {
- "lineId": 3128894,
- "stopId": 19919662,
- "timestamp": 1638132420000,
- "isRT": 0,
- "timestampUtc": 1638150420000
}, - {
- "lineId": 3128894,
- "stopId": 19919662,
- "timestamp": 1638133140000,
- "isRT": 0,
- "timestampUtc": 1638151140000
}, - {
- "lineId": 3128894,
- "stopId": 19919662,
- "timestamp": 1638133860000,
- "isRT": 0,
- "timestampUtc": 1638151860000
}, - {
- "lineId": 3128894,
- "stopId": 19919662,
- "timestamp": 1638134580000,
- "isRT": 0,
- "timestampUtc": 1638152580000
}, - {
- "lineId": 3128894,
- "stopId": 19919662,
- "timestamp": 1638135300000,
- "isRT": 0,
- "timestampUtc": 1638153300000
}, - {
- "lineId": 3128894,
- "stopId": 19919662,
- "timestamp": 1638136020000,
- "isRT": 0,
- "timestampUtc": 1638154020000
}, - {
- "lineId": 3128894,
- "stopId": 19919662,
- "timestamp": 1638136740000,
- "isRT": 0,
- "timestampUtc": 1638154740000
}, - {
- "lineId": 3128894,
- "stopId": 19919662,
- "timestamp": 1638137460000,
- "isRT": 0,
- "timestampUtc": 1638155460000
}, - {
- "lineId": 3128894,
- "stopId": 19919662,
- "timestamp": 1638138180000,
- "isRT": 0,
- "timestampUtc": 1638156180000
}, - {
- "lineId": 3128894,
- "stopId": 19919662,
- "timestamp": 1638138900000,
- "isRT": 0,
- "timestampUtc": 1638156900000
}, - {
- "lineId": 3128894,
- "stopId": 19919662,
- "timestamp": 1638139620000,
- "isRT": 0,
- "timestampUtc": 1638157620000
}, - {
- "lineId": 3128894,
- "stopId": 19919662,
- "timestamp": 1638140340000,
- "isRT": 0,
- "timestampUtc": 1638158340000
}, - {
- "lineId": 3128894,
- "stopId": 19919662,
- "timestamp": 1638141060000,
- "isRT": 0,
- "timestampUtc": 1638159060000
}, - {
- "lineId": 3128894,
- "stopId": 19919662,
- "timestamp": 1638141780000,
- "isRT": 0,
- "timestampUtc": 1638159780000
}, - {
- "lineId": 3128894,
- "stopId": 19919662,
- "timestamp": 1638142500000,
- "isRT": 0,
- "timestampUtc": 1638160500000
}, - {
- "lineId": 3128894,
- "stopId": 19919662,
- "timestamp": 1638143280000,
- "isRT": 0,
- "timestampUtc": 1638161280000
}
], - "metroId": 121
}, - {
- "legType": "PathWayWalk",
- "walkingOrigin": {
- "name": "Uptown & The Bronx",
- "location": {
- "lat": 40.862803,
- "lon": -73.901034
}, - "type": "PLATFORM"
}, - "walkingDestination": {
- "name": "Jerome Ave and Fordham Rd SW",
- "location": {
- "lat": 40.862562,
- "lon": -73.901367
}, - "type": "ENTRANCE_EXIT"
}, - "startTime": 1638086730000,
- "endTime": 1638086940000
}, - {
- "legType": "Walk",
- "walkingSteps": [
- {
- "direction": {
- "relativeDirection": "Right"
}, - "streetName": "Jerome Avenue",
- "lengthInMeters": 60,
- "travelTimeInMs": 46000,
- "startLocation": {
- "lat": 40.862515,
- "lon": -73.901216
}
}
], - "walkingOrigin": {
- "name": "Jerome Avenue",
- "location": {
- "lat": 40.862617,
- "lon": -73.901288
}
}, - "walkingDestination": {
- "location": {
- "lat": 40.862112,
- "lon": -73.901735
}
}, - "shape": "i~kxF`z`bMRM~A`A??Od@",
- "startTime": 1638086941000,
- "endTime": 1638087010000
}
]
}
}Server Type:
core-app
Returns up to three next Live Arrival times for a given line at a given stop
| lineNumber required | string The line number |
| agencyName required | string The agency name |
| directionId | integer Enum: 0 1 2 One of: |
required | stopKey (object) or stopCode (object) or stopId (object) |
{- "lineId": 3358900,
- "stopKey": 2945624
}{- "stopArrival": [
- {
- "lineGroupId": 759588,
- "lineId": 3358900,
- "lineNumber": "A",
- "lineDestination": "Battistini",
- "eta": 1592202100000,
- "isRT": 0,
- "agencyName": "ATAC",
- "patternId": 186096,
- "etaUtc": 1592194900000,
- "childStopInfo": {
- "stopName": "Re Di Roma",
- "stopKey": "AP12",
- "stopCode": "AP12"
}, - "tripId": 172396290
}, - {
- "lineGroupId": 759588,
- "lineId": 3358900,
- "lineNumber": "A",
- "lineDestination": "Battistini",
- "eta": 1592202280000,
- "isRT": 0,
- "agencyName": "ATAC",
- "patternId": 186096,
- "etaUtc": 1592195080000,
- "childStopInfo": {
- "stopName": "Re Di Roma",
- "stopKey": "AP12",
- "stopCode": "AP12"
}, - "tripId": 172396291
}, - {
- "lineGroupId": 759588,
- "lineId": 3358900,
- "lineNumber": "A",
- "lineDestination": "Battistini",
- "eta": 1592202520000,
- "isRT": 0,
- "agencyName": "ATAC",
- "patternId": 186096,
- "etaUtc": 1592195320000,
- "childStopInfo": {
- "stopName": "Re Di Roma",
- "stopKey": "AP12",
- "stopCode": "AP12"
}, - "tripId": 172396292
}
]
}Server Type:
core-app
Returns the next Live Arrival times for each stop within the specified line.
| lineNumber required | string The line number |
| agencyName required | string The agency name |
| directionId required | integer Enum: 0 1 2 One of: |
{- "lineId": 2355628
}{- "lineArrivals": [
- {
- "stopId": 33867374,
- "stopKey": "YsSrGb8kIUKBhT_ZaINL6g",
- "stopName": "Lisboa",
- "stopCode": "FAT015EB",
- "stopLocation": {
- "lat": -33.54466,
- "lon": 18.48415
}, - "lineGroupId": 595818,
- "lineId": 2355628,
- "lineNumber": "233a",
- "lineOrigin": "Atlantis",
- "lineDestination": "Lisboa",
- "eta": 1588273920000,
- "isRT": 1,
- "agencyName": "MyCiTi",
- "patternId": 2319723,
- "etaUtc": 1588266720000,
- "tripId": 817750076
}
]
}Server Type:
core-app
Returns the requested number of Live Arrivals for all lines arriving at the specified stop
| maxArrivals | integer [ 0 .. 15 ] Default: 15 The maximum arrivals to return per line. If not specified the system default will be used |
| maxFutureSec | integer [ 1 .. 86400 ] Default: 3600 The maximum time in the future to return arrivals for. If not specified the system default will be used. Units: seconds |
required | stopKey (object) or stopId (object) |
| transitType | string or null Enum: "Tram" "Subway" "Rail" "Bus" "Ferry" "CableCar" "Gondola" "Funicular" The transit type of the line. |
| agencyName | string The agency name |
{- "stopId": 2945624
}{- "stopArrival": [
- {
- "lineGroupId": 759588,
- "lineId": 3358901,
- "lineNumber": "A",
- "lineDestination": "Anagnina",
- "eta": 1588274081000,
- "isRT": 1,
- "agencyName": "ATAC",
- "patternId": 4486765,
- "etaUtc": 1588266881000,
- "childStopInfo": {
- "stopName": "Re Di Roma",
- "stopKey": "AD16",
- "stopCode": "AD16"
}, - "tripId": 98427895
}, - {
- "lineGroupId": 759588,
- "lineId": 3358900,
- "lineNumber": "A",
- "lineDestination": "Battistini",
- "eta": 1588274320000,
- "isRT": 0,
- "agencyName": "ATAC",
- "patternId": 4486763,
- "etaUtc": 1588267120000,
- "childStopInfo": {
- "stopName": "Re Di Roma",
- "stopKey": "AP12",
- "stopCode": "AP12"
}, - "tripId": 98432730
}, - {
- "lineGroupId": 759588,
- "lineId": 3358901,
- "lineNumber": "A",
- "lineDestination": "Anagnina",
- "eta": 1588274321000,
- "isRT": 0,
- "agencyName": "ATAC",
- "patternId": 4486765,
- "etaUtc": 1588267121000,
- "childStopInfo": {
- "stopName": "Re Di Roma",
- "stopKey": "AD16",
- "stopCode": "AD16"
}, - "tripId": 98427896
}, - {
- "lineGroupId": 759588,
- "lineId": 3358900,
- "lineNumber": "A",
- "lineDestination": "Battistini",
- "eta": 1588274560000,
- "isRT": 0,
- "agencyName": "ATAC",
- "patternId": 4486763,
- "etaUtc": 1588267360000,
- "childStopInfo": {
- "stopName": "Re Di Roma",
- "stopKey": "AP12",
- "stopCode": "AP12"
}, - "tripId": 98432743
}, - {
- "lineGroupId": 759588,
- "lineId": 3358901,
- "lineNumber": "A",
- "lineDestination": "Anagnina",
- "eta": 1588274561000,
- "isRT": 0,
- "agencyName": "ATAC",
- "patternId": 4486765,
- "etaUtc": 1588267361000,
- "childStopInfo": {
- "stopName": "Re Di Roma",
- "stopKey": "AD16",
- "stopCode": "AD16"
}, - "tripId": 98427897
}, - {
- "lineGroupId": 759588,
- "lineId": 3358900,
- "lineNumber": "A",
- "lineDestination": "Battistini",
- "eta": 1588274800000,
- "isRT": 0,
- "agencyName": "ATAC",
- "patternId": 4486763,
- "etaUtc": 1588267600000,
- "childStopInfo": {
- "stopName": "Re Di Roma",
- "stopKey": "AP12",
- "stopCode": "AP12"
}, - "tripId": 98432746
}
]
}Server Type:
core-app
Returns the requested number of Live Arrivals for all lines arriving for list of stops.
| maxArrivals | integer [ 0 .. 15 ] Default: 15 The maximum arrivals to return per line. If not specified the system default will be used |
| maxFutureSec | integer [ 1 .. 86400 ] Default: 3600 The maximum time in the future to return arrivals for. If not specified the system default will be used. Units: seconds |
| transitType | string or null Enum: "Tram" "Subway" "Rail" "Bus" "Ferry" "CableCar" "Gondola" "Funicular" The transit type of the line. |
| agencyName | string The agency name |
required | stopIds (object) or stopKeys (object) or stopCodes (object) Exactly one of these parameters is required |
{- "stopIds": [
- 2945624,
- 2945625,
- 2945626
]
}{- "stopArrivalsList": [
- {
- "stopId": 2945624,
- "arrivals": [
- {
- "lineGroupId": 759588,
- "lineId": 3358901,
- "lineNumber": "A",
- "lineDestination": "Anagnina",
- "eta": 1588274081000,
- "isRT": 0,
- "agencyName": "ATAC",
- "patternId": 4486765,
- "etaUtc": 1588266881000,
- "childStopInfo": {
- "stopName": "Re Di Roma",
- "stopKey": "AD16",
- "stopCode": "AD16"
}, - "tripId": 98427895
}, - {
- "lineGroupId": 759588,
- "lineId": 3358900,
- "lineNumber": "A",
- "lineDestination": "Battistini",
- "eta": 1588274320000,
- "isRT": 0,
- "agencyName": "ATAC",
- "patternId": 4486763,
- "etaUtc": 1588267120000,
- "childStopInfo": {
- "stopName": "Re Di Roma",
- "stopKey": "AP12",
- "stopCode": "AP12"
}, - "tripId": 98432730
}, - {
- "lineGroupId": 759588,
- "lineId": 3358901,
- "lineNumber": "A",
- "lineDestination": "Anagnina",
- "eta": 1588274321000,
- "isRT": 0,
- "agencyName": "ATAC",
- "patternId": 4486765,
- "etaUtc": 1588267121000,
- "childStopInfo": {
- "stopName": "Re Di Roma",
- "stopKey": "AD16",
- "stopCode": "AD16"
}, - "tripId": 98427896
}, - {
- "lineGroupId": 759588,
- "lineId": 3358900,
- "lineNumber": "A",
- "lineDestination": "Battistini",
- "eta": 1588274560000,
- "isRT": 0,
- "agencyName": "ATAC",
- "patternId": 4486763,
- "etaUtc": 1588267360000,
- "childStopInfo": {
- "stopName": "Re Di Roma",
- "stopKey": "AP12",
- "stopCode": "AP12"
}, - "tripId": 98432743
}, - {
- "lineGroupId": 759588,
- "lineId": 3358901,
- "lineNumber": "A",
- "lineDestination": "Anagnina",
- "eta": 1588274561000,
- "isRT": 0,
- "agencyName": "ATAC",
- "patternId": 4486765,
- "etaUtc": 1588267361000,
- "childStopInfo": {
- "stopName": "Re Di Roma",
- "stopKey": "AD16",
- "stopCode": "AD16"
}, - "tripId": 98427897
}, - {
- "lineGroupId": 759588,
- "lineId": 3358900,
- "lineNumber": "A",
- "lineDestination": "Battistini",
- "eta": 1588274800000,
- "isRT": 0,
- "agencyName": "ATAC",
- "patternId": 4486763,
- "etaUtc": 1588267600000,
- "childStopInfo": {
- "stopName": "Re Di Roma",
- "stopKey": "AP12",
- "stopCode": "AP12"
}, - "tripId": 98432746
}
], - "status": "OK"
}, - {
- "stopId": 2945625,
- "arrivals": [
- {
- "lineGroupId": 759588,
- "lineId": 3358900,
- "lineNumber": "A",
- "lineDestination": "Battistini",
- "eta": 1588274014000,
- "isRT": 0,
- "agencyName": "ATAC",
- "patternId": 4486763,
- "etaUtc": 1588266814000,
- "childStopInfo": {
- "stopName": "Repubblica",
- "stopKey": "AP17",
- "stopCode": "AP17"
}, - "tripId": 98432725
}, - {
- "lineGroupId": 759588,
- "lineId": 3358900,
- "lineNumber": "A",
- "lineDestination": "Battistini",
- "eta": 1588274194000,
- "isRT": 0,
- "agencyName": "ATAC",
- "patternId": 4486763,
- "etaUtc": 1588266994000,
- "childStopInfo": {
- "stopName": "Repubblica",
- "stopKey": "AP17",
- "stopCode": "AP17"
}, - "tripId": 98432728
}, - {
- "lineGroupId": 759588,
- "lineId": 3358901,
- "lineNumber": "A",
- "lineDestination": "Anagnina",
- "eta": 1588274207000,
- "isRT": 0,
- "agencyName": "ATAC",
- "patternId": 4486765,
- "etaUtc": 1588267007000,
- "childStopInfo": {
- "stopName": "Repubblica",
- "stopKey": "AD11",
- "stopCode": "AD11"
}, - "tripId": 98427897
}, - {
- "lineGroupId": 759588,
- "lineId": 3358901,
- "lineNumber": "A",
- "lineDestination": "Anagnina",
- "eta": 1588274447000,
- "isRT": 0,
- "agencyName": "ATAC",
- "patternId": 4486765,
- "etaUtc": 1588267247000,
- "childStopInfo": {
- "stopName": "Repubblica",
- "stopKey": "AD11",
- "stopCode": "AD11"
}, - "tripId": 98427898
}, - {
- "lineGroupId": 759588,
- "lineId": 3358900,
- "lineNumber": "A",
- "lineDestination": "Battistini",
- "eta": 1588274674000,
- "isRT": 0,
- "agencyName": "ATAC",
- "patternId": 4486763,
- "etaUtc": 1588267474000,
- "childStopInfo": {
- "stopName": "Repubblica",
- "stopKey": "AP17",
- "stopCode": "AP17"
}, - "tripId": 98432730
}, - {
- "lineGroupId": 759588,
- "lineId": 3358901,
- "lineNumber": "A",
- "lineDestination": "Anagnina",
- "eta": 1588274687000,
- "isRT": 0,
- "agencyName": "ATAC",
- "patternId": 4486765,
- "etaUtc": 1588267487000,
- "childStopInfo": {
- "stopName": "Repubblica",
- "stopKey": "AD11",
- "stopCode": "AD11"
}, - "tripId": 98427899
}
], - "status": "OK"
}, - {
- "stopId": 2945626,
- "arrivals": [
- {
- "lineGroupId": 759589,
- "lineId": 3358902,
- "lineNumber": "B",
- "lineDestination": "Jonio",
- "eta": 1588274081000,
- "isRT": 0,
- "agencyName": "ATAC",
- "patternId": 899776,
- "etaUtc": 1588266881000,
- "childStopInfo": {
- "stopName": "S.Agnese/Annibaliano",
- "stopKey": "BP23",
- "stopCode": "BP23"
}, - "tripId": 87045517
}, - {
- "lineGroupId": 759589,
- "lineId": 3358904,
- "lineNumber": "B",
- "lineDestination": "Laurentina",
- "eta": 1588274301000,
- "isRT": 0,
- "agencyName": "ATAC",
- "patternId": 899777,
- "etaUtc": 1588267101000,
- "childStopInfo": {
- "stopName": "S.Agnese/Annibaliano",
- "stopKey": "BD23",
- "stopCode": "BD23"
}, - "tripId": 87045723
}, - {
- "lineGroupId": 759589,
- "lineId": 3358902,
- "lineNumber": "B",
- "lineDestination": "Jonio",
- "eta": 1588274621000,
- "isRT": 0,
- "agencyName": "ATAC",
- "patternId": 899776,
- "etaUtc": 1588267421000,
- "childStopInfo": {
- "stopName": "S.Agnese/Annibaliano",
- "stopKey": "BP23",
- "stopCode": "BP23"
}, - "tripId": 87045518
}, - {
- "lineGroupId": 759589,
- "lineId": 3358904,
- "lineNumber": "B",
- "lineDestination": "Laurentina",
- "eta": 1588274841000,
- "isRT": 0,
- "agencyName": "ATAC",
- "patternId": 899777,
- "etaUtc": 1588267641000,
- "childStopInfo": {
- "stopName": "S.Agnese/Annibaliano",
- "stopKey": "BD23",
- "stopCode": "BD23"
}, - "tripId": 87045724
}, - {
- "lineGroupId": 759589,
- "lineId": 3358902,
- "lineNumber": "B",
- "lineDestination": "Jonio",
- "eta": 1588275161000,
- "isRT": 0,
- "agencyName": "ATAC",
- "patternId": 899776,
- "etaUtc": 1588267961000,
- "childStopInfo": {
- "stopName": "S.Agnese/Annibaliano",
- "stopKey": "BP23",
- "stopCode": "BP23"
}, - "tripId": 87045519
}, - {
- "lineGroupId": 759589,
- "lineId": 3358904,
- "lineNumber": "B",
- "lineDestination": "Laurentina",
- "eta": 1588275381000,
- "isRT": 0,
- "agencyName": "ATAC",
- "patternId": 899777,
- "etaUtc": 1588268181000,
- "childStopInfo": {
- "stopName": "S.Agnese/Annibaliano",
- "stopKey": "BD23",
- "stopCode": "BD23"
}, - "tripId": 87045725
}
], - "status": "OK"
}
]
}Server Type:
core-app
External Stop services
| maxArrivals | integer [ 0 .. 15 ] Default: 15 The maximum arrivals to return per line. If not specified the system default will be used |
| maxFutureSec | integer [ 1 .. 86400 ] Default: 3600 The maximum time in the future to return arrivals for. If not specified the system default will be used. Units: seconds |
| transitType | string or null Enum: "Tram" "Subway" "Rail" "Bus" "Ferry" "CableCar" "Gondola" "Funicular" The transit type of the line. |
| agencyName | string The agency name |
required | stopIds (object) or stopKeys (object) or stopCodes (object) Exactly one of these parameters is required |
{- "stopIds": [
- 2945624,
- 2945625,
- 2945626
]
}{- "stopArrivalsList": [
- {
- "stopId": 2945624,
- "arrivals": [
- {
- "lineGroupId": 759588,
- "lineId": 3358901,
- "lineNumber": "A",
- "lineDestination": "Anagnina",
- "eta": 1588274081000,
- "isRT": 0,
- "agencyName": "ATAC",
- "patternId": 4486765,
- "etaUtc": 1588266881000,
- "childStopInfo": {
- "stopName": "Re Di Roma",
- "stopKey": "AD16",
- "stopCode": "AD16"
}, - "tripId": 98427895
}, - {
- "lineGroupId": 759588,
- "lineId": 3358900,
- "lineNumber": "A",
- "lineDestination": "Battistini",
- "eta": 1588274320000,
- "isRT": 0,
- "agencyName": "ATAC",
- "patternId": 4486763,
- "etaUtc": 1588267120000,
- "childStopInfo": {
- "stopName": "Re Di Roma",
- "stopKey": "AP12",
- "stopCode": "AP12"
}, - "tripId": 98432730
}, - {
- "lineGroupId": 759588,
- "lineId": 3358901,
- "lineNumber": "A",
- "lineDestination": "Anagnina",
- "eta": 1588274321000,
- "isRT": 0,
- "agencyName": "ATAC",
- "patternId": 4486765,
- "etaUtc": 1588267121000,
- "childStopInfo": {
- "stopName": "Re Di Roma",
- "stopKey": "AD16",
- "stopCode": "AD16"
}, - "tripId": 98427896
}, - {
- "lineGroupId": 759588,
- "lineId": 3358900,
- "lineNumber": "A",
- "lineDestination": "Battistini",
- "eta": 1588274560000,
- "isRT": 0,
- "agencyName": "ATAC",
- "patternId": 4486763,
- "etaUtc": 1588267360000,
- "childStopInfo": {
- "stopName": "Re Di Roma",
- "stopKey": "AP12",
- "stopCode": "AP12"
}, - "tripId": 98432743
}, - {
- "lineGroupId": 759588,
- "lineId": 3358901,
- "lineNumber": "A",
- "lineDestination": "Anagnina",
- "eta": 1588274561000,
- "isRT": 0,
- "agencyName": "ATAC",
- "patternId": 4486765,
- "etaUtc": 1588267361000,
- "childStopInfo": {
- "stopName": "Re Di Roma",
- "stopKey": "AD16",
- "stopCode": "AD16"
}, - "tripId": 98427897
}, - {
- "lineGroupId": 759588,
- "lineId": 3358900,
- "lineNumber": "A",
- "lineDestination": "Battistini",
- "eta": 1588274800000,
- "isRT": 0,
- "agencyName": "ATAC",
- "patternId": 4486763,
- "etaUtc": 1588267600000,
- "childStopInfo": {
- "stopName": "Re Di Roma",
- "stopKey": "AP12",
- "stopCode": "AP12"
}, - "tripId": 98432746
}
], - "status": "OK"
}, - {
- "stopId": 2945625,
- "arrivals": [
- {
- "lineGroupId": 759588,
- "lineId": 3358900,
- "lineNumber": "A",
- "lineDestination": "Battistini",
- "eta": 1588274014000,
- "isRT": 0,
- "agencyName": "ATAC",
- "patternId": 4486763,
- "etaUtc": 1588266814000,
- "childStopInfo": {
- "stopName": "Repubblica",
- "stopKey": "AP17",
- "stopCode": "AP17"
}, - "tripId": 98432725
}, - {
- "lineGroupId": 759588,
- "lineId": 3358900,
- "lineNumber": "A",
- "lineDestination": "Battistini",
- "eta": 1588274194000,
- "isRT": 0,
- "agencyName": "ATAC",
- "patternId": 4486763,
- "etaUtc": 1588266994000,
- "childStopInfo": {
- "stopName": "Repubblica",
- "stopKey": "AP17",
- "stopCode": "AP17"
}, - "tripId": 98432728
}, - {
- "lineGroupId": 759588,
- "lineId": 3358901,
- "lineNumber": "A",
- "lineDestination": "Anagnina",
- "eta": 1588274207000,
- "isRT": 0,
- "agencyName": "ATAC",
- "patternId": 4486765,
- "etaUtc": 1588267007000,
- "childStopInfo": {
- "stopName": "Repubblica",
- "stopKey": "AD11",
- "stopCode": "AD11"
}, - "tripId": 98427897
}, - {
- "lineGroupId": 759588,
- "lineId": 3358901,
- "lineNumber": "A",
- "lineDestination": "Anagnina",
- "eta": 1588274447000,
- "isRT": 0,
- "agencyName": "ATAC",
- "patternId": 4486765,
- "etaUtc": 1588267247000,
- "childStopInfo": {
- "stopName": "Repubblica",
- "stopKey": "AD11",
- "stopCode": "AD11"
}, - "tripId": 98427898
}, - {
- "lineGroupId": 759588,
- "lineId": 3358900,
- "lineNumber": "A",
- "lineDestination": "Battistini",
- "eta": 1588274674000,
- "isRT": 0,
- "agencyName": "ATAC",
- "patternId": 4486763,
- "etaUtc": 1588267474000,
- "childStopInfo": {
- "stopName": "Repubblica",
- "stopKey": "AP17",
- "stopCode": "AP17"
}, - "tripId": 98432730
}, - {
- "lineGroupId": 759588,
- "lineId": 3358901,
- "lineNumber": "A",
- "lineDestination": "Anagnina",
- "eta": 1588274687000,
- "isRT": 0,
- "agencyName": "ATAC",
- "patternId": 4486765,
- "etaUtc": 1588267487000,
- "childStopInfo": {
- "stopName": "Repubblica",
- "stopKey": "AD11",
- "stopCode": "AD11"
}, - "tripId": 98427899
}
], - "status": "OK"
}, - {
- "stopId": 2945626,
- "arrivals": [
- {
- "lineGroupId": 759589,
- "lineId": 3358902,
- "lineNumber": "B",
- "lineDestination": "Jonio",
- "eta": 1588274081000,
- "isRT": 0,
- "agencyName": "ATAC",
- "patternId": 899776,
- "etaUtc": 1588266881000,
- "childStopInfo": {
- "stopName": "S.Agnese/Annibaliano",
- "stopKey": "BP23",
- "stopCode": "BP23"
}, - "tripId": 87045517
}, - {
- "lineGroupId": 759589,
- "lineId": 3358904,
- "lineNumber": "B",
- "lineDestination": "Laurentina",
- "eta": 1588274301000,
- "isRT": 0,
- "agencyName": "ATAC",
- "patternId": 899777,
- "etaUtc": 1588267101000,
- "childStopInfo": {
- "stopName": "S.Agnese/Annibaliano",
- "stopKey": "BD23",
- "stopCode": "BD23"
}, - "tripId": 87045723
}, - {
- "lineGroupId": 759589,
- "lineId": 3358902,
- "lineNumber": "B",
- "lineDestination": "Jonio",
- "eta": 1588274621000,
- "isRT": 0,
- "agencyName": "ATAC",
- "patternId": 899776,
- "etaUtc": 1588267421000,
- "childStopInfo": {
- "stopName": "S.Agnese/Annibaliano",
- "stopKey": "BP23",
- "stopCode": "BP23"
}, - "tripId": 87045518
}, - {
- "lineGroupId": 759589,
- "lineId": 3358904,
- "lineNumber": "B",
- "lineDestination": "Laurentina",
- "eta": 1588274841000,
- "isRT": 0,
- "agencyName": "ATAC",
- "patternId": 899777,
- "etaUtc": 1588267641000,
- "childStopInfo": {
- "stopName": "S.Agnese/Annibaliano",
- "stopKey": "BD23",
- "stopCode": "BD23"
}, - "tripId": 87045724
}, - {
- "lineGroupId": 759589,
- "lineId": 3358902,
- "lineNumber": "B",
- "lineDestination": "Jonio",
- "eta": 1588275161000,
- "isRT": 0,
- "agencyName": "ATAC",
- "patternId": 899776,
- "etaUtc": 1588267961000,
- "childStopInfo": {
- "stopName": "S.Agnese/Annibaliano",
- "stopKey": "BP23",
- "stopCode": "BP23"
}, - "tripId": 87045519
}, - {
- "lineGroupId": 759589,
- "lineId": 3358904,
- "lineNumber": "B",
- "lineDestination": "Laurentina",
- "eta": 1588275381000,
- "isRT": 0,
- "agencyName": "ATAC",
- "patternId": 899777,
- "etaUtc": 1588268181000,
- "childStopInfo": {
- "stopName": "S.Agnese/Annibaliano",
- "stopKey": "BD23",
- "stopCode": "BD23"
}, - "tripId": 87045725
}
], - "status": "OK"
}
]
}Server Type:
core-app
Returns a list of all active service alerts, that are defined in the metro or agency level, and are not connected to a specific line or stop. Each element in the list is an alert summary. For details of a specific alert, call Get Service Alert Details API with the relevant alert ID.
curl -L -X POST 'https://api.moovitapp.com/services-app/services/EX/API/GetMetroServiceAlerts' -H 'API_KEY: <<YOUR_API_KEY>>' -H 'MOOVIT_METRO_ID: 121' -H 'Content-Type: application/json' --data-raw ''
{- "alerts": [
- {
- "alertId": "42125411",
- "alertSummary": "Complimentary ferry service between NJ & NYC for all medical workers and first responders through 5/15/20",
- "publicationDate": 1588250122144,
- "category": "Modified",
- "alertLevel": "Line"
}, - {
- "alertId": "42114882",
- "alertSummary": "New Haven",
- "publicationDate": 1588209149104,
- "category": "Modified",
- "alertLevel": "Line"
}, - {
- "alertId": "42114884",
- "alertSummary": "Danbury",
- "publicationDate": 1588209149108,
- "category": "Modified",
- "alertLevel": "Line"
}, - {
- "alertId": "42114885",
- "alertSummary": "Harlem",
- "publicationDate": 1588209149112,
- "category": "Modified",
- "alertLevel": "Line"
}
]
}Server Type:
core-app
Returns details as to the alert with the specified ID.
Natural Language Example: “Show me more details”
Textual Output: “Due to unexpected construction work University station is closed and line 5 will detour via King Street station. Expected resolution time is yet unknown”
| alertId required | string <string> ID of the alert |
{- "alertId": "41754097"
}{- "alertId": "41754097",
- "agencyId": 10369,
- "agencyName": "CT Transit- Stamford",
- "category": "Modified",
- "lineGroupIds": [
- 10413907
], - "publicationDate": 1587404823339,
- "title": "Reduced Service Schedule on Route 351 (Updated)",
- "desc": "<div>\n <p>MNR will be operating hourly service on the New Haven Line effective Monday, 4/13. The 351 route will continue to operate a reduced schedule until further notice.</p>\n </div>",
- "effect": "SA_REDUCED_SERVICE",
- "alertLevel": "Line"
}Server Type:
core-app
Returns a list of all public transit agencies operating in the metro specified according to the request header.
POST with empty body
curl -L -X POST 'https://api.moovitapp.com/services-app/services/EX/API/GetMetroAgencies' -H 'API_KEY: <<YOUR_API_KEY>>' -H 'MOOVIT_METRO_ID: 121' -H 'Content-Type: application/json' --data-raw ''
{- "agencies": [
- {
- "agencyId": 427,
- "agencyKey": "1",
- "agencyName": "Metro-North Railroad"
}, - {
- "agencyId": 516,
- "agencyKey": "NJB",
- "agencyName": "NJ Transit"
}, - {
- "agencyId": 5844,
- "agencyKey": "151",
- "agencyName": "PATH"
}, - {
- "agencyId": 10169,
- "agencyKey": "NJT",
- "agencyName": "NJ Transit Rail"
}, - {
- "agencyId": 10170,
- "agencyKey": "NJT",
- "agencyName": "NJ Transit Rail"
}
]
}Server Type:
core-app
Returns a list of all public transit types (bus, subway, etc.) supported in the metro specified according to the request header.
POST with empty body
curl -L -X POST 'https://api.moovitapp.com/services-app/services/EX/API/GetMetroSupportedTransitTypes' -H 'API_KEY: <<YOUR_API_KEY>>' -H 'MOOVIT_METRO_ID: 121' -H 'Content-Type: application/json' --data-raw ''
{- "transitTypes": [
- "BUS",
- "RAIL",
- "SUBWAY",
- "TRAM",
- "CABLE_CAR",
- "FERRY"
]
}Server Type:
core-app
This service has two flavors. By default returns all trip updates for the metro specified in the request. When vehiclePositions = 1 will return Vehicle Positions data. Results can be filtered based on agency ID and transit type.
| metroId required | number Example: metroId=121 The requested Moovit metro ID. |
| vehiclePositions | boolean Example: vehiclePositions=1 Return Vehicle Positions feed entity data. |
| agencyId | number Example: agencyId=8903 Filter results based on agencyId ID. |
| transitType | string Enum: "TRAM" "SUBWAY" "RAIL" "BUS" "FERRY" "CABLECAR" "GONDOLA" "FUNICULAR" Example: transitType=BUS Filter results based on transit type. |
curl -L -X GET 'https://api.moovitapp.com/services-app/services/EX/API/RtGtfs?metroId=121&transitType=BUS' -H 'API_KEY: <<YOUR_API_KEY>>' -H 'Content-Type: application/json'
{- "entity": [
- {
- "id": "string",
- "tripUpdate": {
- "trip": {
- "tripId": "string"
}, - "stopTimeUpdate": [
- {
- "stopSequence": 0,
- "arrival": {
- "time": 0,
- "delay": 0
}, - "stopId": "string"
}
], - "vehicle": {
- "id": "string"
}
}
}
], - "header": {
- "gtfsRealtimeVersion": "string",
- "incrementality": "string",
- "timestamp": 0
}
}Server Type:
core-app
Returns all service alerts for the metro specified in the request.
| metroId required | number Example: metroId=121 The requested Moovit metro ID. |
| agencyId | number Example: agencyId=8903 Filter results based on agencyId ID. |
| transitType | string Enum: "TRAM" "SUBWAY" "RAIL" "BUS" "FERRY" "CABLECAR" "GONDOLA" "FUNICULAR" Example: transitType=BUS Filter results based on transit type. |
curl -L -X GET 'https://api.moovitapp.com/services-app/services/EX/API/RtGtfs?SaRtGtfs=121&agencyId=8903' -H 'API_KEY: <<YOUR_API_KEY>>' -H 'Content-Type: application/json'
{- "header": {
- "gtfsRealtimeVersion": "string"
}, - "entity": [
- {
- "id": "string",
- "alert": {
- "activePeriod": [
- {
- "start": "string",
- "end": "string"
}
], - "informedEntity": [
- {
- "agencyId": "string",
- "routeId": "string",
- "stopId": "string"
}
], - "effect": "string",
- "headerText": {
- "translation": [
- {
- "text": "string",
- "language": "string"
}
]
}, - "descriptionText": {
- "translation": [
- {
- "text": "string",
- "language": "string"
}
]
}
}
}
]
}Server Type:
core-app
This API is similar to the RT GTFS API but returns only RT data relevant to a predefined geographic area. Additionally, the results can be limited to a specific set of line groups. In order to use this API, these settings should be defined via the Moovit account manager.
| metroId required | number Example: metroId=121 The requested Moovit metro ID. |
| vehiclePositions | boolean Example: vehiclePositions=1 Return Vehicle Positions feed entity data. |
curl -L -X GET 'https://api.moovitapp.com/services-app/services/EX/API/PolygonRtGtfs?metroId=121' -H 'API_KEY: <<YOUR_API_KEY>>' -H 'Content-Type: application/json'
{- "entity": [
- {
- "id": "string",
- "tripUpdate": {
- "trip": {
- "tripId": "string"
}, - "stopTimeUpdate": [
- {
- "stopSequence": 0,
- "arrival": {
- "time": 0,
- "delay": 0
}, - "stopId": "string"
}
], - "vehicle": {
- "id": "string"
}
}
}
], - "header": {
- "gtfsRealtimeVersion": "string",
- "incrementality": "string",
- "timestamp": 0
}
}Server Type:
search
Returns all stops matching the query. Results can be filtered based on transit type.
| query required | string Text to be searched. |
| maxResults | number [ 1 .. 1000 ] Default: 1000 The maximum number of results returned. |
| transitTypes | Array of strings Items Enum: "Tram" "Subway" "Rail" "Bus" "Ferry" "Cable_Car" "Gondola" "Funicular" Allow only a specific set of public transit types to be returned. |
{- "query": "Washington",
- "maxResults": 10,
- "transitTypes": [
- "Rail"
]
}{- "stops": [
- {
- "stopId": 2044717,
- "location": {
- "lat": 40.737429,
- "lon": -73.996927
}, - "stopKey": "26722",
- "stopName": "14th Street",
- "stopCode": "14TH",
- "mainTransitType": "Rail",
- "mainAgencyId": 5844,
- "mainAgencyName": "PATH",
}, - {
- "stopId": 2044716,
- "location": {
- "lat": 40.743018,
- "lon": -73.992807
}, - "stopKey": "26723",
- "stopName": "23rd Street",
- "stopCode": "23RD",
- "mainTransitType": "Rail",
- "mainAgencyId": 5844,
- "mainAgencyName": "PATH",
}, - {
- "stopId": 2044715,
- "location": {
- "lat": 40.74912,
- "lon": -73.98827
}, - "stopKey": "26724",
- "stopName": "33rd Street",
- "stopCode": "33RD",
- "mainTransitType": "Rail",
- "mainAgencyId": 5844,
- "mainAgencyName": "PATH",
}, - {
- "stopId": 2044718,
- "location": {
- "lat": 40.73424,
- "lon": -73.9991
}, - "stopKey": "26725",
- "stopName": "9th Street",
- "stopCode": "9TH",
- "mainTransitType": "Rail",
- "mainAgencyId": 5844,
- "mainAgencyName": "PATH",
}, - {
- "stopId": 24883316,
- "location": {
- "lat": 40.808161,
- "lon": -74.208605
}, - "stopKey": "MOOVIT#24883316",
- "stopName": "Bay Street",
- "mainTransitType": "Rail",
- "mainAgencyId": 10169,
- "mainAgencyName": "NJ Transit Rail",
}, - {
- "stopId": 2044719,
- "location": {
- "lat": 40.73295,
- "lon": -74.00707
}, - "stopKey": "26726",
- "stopName": "Christopher Street",
- "stopCode": "CHR",
- "mainTransitType": "Rail",
- "mainAgencyId": 5844,
- "mainAgencyName": "PATH",
}, - {
- "stopId": 24391670,
- "location": {
- "lat": 40.758116,
- "lon": -73.830878
}, - "stopKey": "MOOVIT#24391670",
- "stopName": "Flushing - Main Street",
- "mainTransitType": "Rail",
- "mainAgencyId": 726988,
- "mainAgencyName": "LIRR",
- "accessible": 1
}, - {
- "stopId": 24391771,
- "location": {
- "lat": 40.858022,
- "lon": -73.621128
}, - "stopKey": "MOOVIT#24391771",
- "stopName": "Glen Street",
- "mainTransitType": "Rail",
- "mainAgencyId": 726988,
- "mainAgencyName": "LIRR",
- "accessible": 1
}, - {
- "stopId": 2044725,
- "location": {
- "lat": 40.719729,
- "lon": -74.042336
}, - "stopKey": "26728",
- "stopName": "Grove Street",
- "stopCode": "GRV",
- "mainTransitType": "Rail",
- "mainAgencyId": 5844,
- "mainAgencyName": "PATH",
}, - {
- "stopId": 34192498,
- "location": {
- "lat": 40.719598,
- "lon": -74.042761
}, - "stopName": "Grove Street",
- "mainTransitType": "Rail",
- "mainAgencyId": 5844,
- "mainAgencyName": "PATH",
}
]
}Server Type:
search
Returns all lines matching the query.
| text required | string Text to be searched. |
{- "text": "M-3"
}{- "lineGroups": [
- {
- "lineGroupId": 296602,
- "agencyId": 854612,
- "agencyName": "Metro de Madrid",
- "lineNumber": "M-3",
- "caption1": "Villaverde Alto - Moncloa",
- "caption2": "M-3 Villaverde Alto - Moncloa",
- "color": -79080,
- "transitType": "Subway"
}, - {
- "lineGroupId": 175142,
- "agencyId": 6067,
- "agencyName": "Metro Ligero",
- "lineNumber": "ML-3",
- "caption1": "Colonia Jardín - Puerta de Boadilla",
- "caption2": "ML-3 Colonia Jardín - Puerta de Boadilla",
- "color": -1027522,
- "transitType": "Tram"
}, - {
- "lineGroupId": 347433,
- "agencyId": 182,
- "agencyName": "EMT",
- "lineNumber": "3",
- "caption1": "Puerta de Toledo - Plaza de San Amaro",
- "caption2": "3 Puerta de Toledo - Plaza de San Amaro",
- "color": -16680772,
- "transitType": "Bus"
}, - {
- "lineGroupId": 347461,
- "agencyId": 182,
- "agencyName": "EMT",
- "lineNumber": "30",
- "caption1": "Avenida de Felipe II - Pavones",
- "caption2": "30 Avenida de Felipe II - Pavones",
- "color": -16680772,
- "transitType": "Bus"
}, - {
- "lineGroupId": 347462,
- "agencyId": 182,
- "agencyName": "EMT",
- "lineNumber": "31",
- "caption1": "Plaza Mayor - Aluche",
- "caption2": "31 Plaza Mayor - Aluche",
- "color": -16680772,
- "transitType": "Bus"
}, - {
- "lineGroupId": 347463,
- "agencyId": 182,
- "agencyName": "EMT",
- "lineNumber": "32",
- "caption1": "Plaza de Jacinto Benavente - Pavones",
- "caption2": "32 Plaza de Jacinto Benavente - Pavones",
- "color": -16680772,
- "transitType": "Bus"
}, - {
- "lineGroupId": 347464,
- "agencyId": 182,
- "agencyName": "EMT",
- "lineNumber": "33",
- "caption1": "Principe Pio - Casa de Campo",
- "caption2": "33 Principe Pio - Casa de Campo",
- "color": -16680772,
- "transitType": "Bus"
}, - {
- "lineGroupId": 347465,
- "agencyId": 182,
- "agencyName": "EMT",
- "lineNumber": "34",
- "caption1": "Plaza de Cibeles - las Aguilas",
- "caption2": "34 Plaza de Cibeles - las Aguilas",
- "color": -16680772,
- "transitType": "Bus"
}, - {
- "lineGroupId": 347466,
- "agencyId": 182,
- "agencyName": "EMT",
- "lineNumber": "35",
- "caption1": "Plaza Mayor - Carabanchel Alto",
- "caption2": "35 Plaza Mayor - Carabanchel Alto",
- "color": -16680772,
- "transitType": "Bus"
}, - {
- "lineGroupId": 347467,
- "agencyId": 182,
- "agencyName": "EMT",
- "lineNumber": "36",
- "caption1": "Atocha - Campamento",
- "caption2": "36 Atocha - Campamento",
- "color": -16680772,
- "transitType": "Bus"
}
]
}