Search for stops
get/stops/{stop_key}
Request
- Base URL: https://transit.land/api/v2/rest
- URL: https://transit.land/api/v2/rest/stops/{stop_key}
- Auth: none declared
Path parameters
stop_keystring required
Stop lookup key; can be an integer ID, a '<feed onestop_id>:<gtfs stop_id>' key, or a Onestop ID
Query parameters
include_alerts'true' | 'false'
Include alerts from GTFS Realtime feeds
include_routes'true' | 'false'
Include routes that serve this stop
limitinteger
Maximum number of records to return
format'json' | 'geojson' | 'geojsonl'
Response format
Response
ok
Example response
{
"stops": [
{
"alerts": [
{
"informed_entity": [
{
"trip": {
"start_date": "2019-11-15",
"start_time": "15:21:04"
}
}
]
}
],
"feed_version": {
"fetched_at": "2019-11-15T00:45:55.409906",
"sha1": "ab5bdc8b6cedd06792d42186a9b542504c5eef9a"
},
"onestop_id": "s-dr5ruvgnyk-madisonav~e69st",
"parent": {
"alerts": [
{
"informed_entity": [
{
"trip": {
"start_date": "2019-11-15",
"start_time": "15:21:04"
}
}
]
}
],
"stop_id": "400029",
"stop_name": "MADISON AV/E 68 ST"
},
"stop_desc": "NW Corner of Broadway and 14th",
"stop_id": "400029",
"stop_name": "MADISON AV/E 68 ST",
"stop_timezone": "America/Los_Angeles"
}
]
}Changes
No recorded changes to this operation across all 1 revision of this API.