Station Information - Destinatation

GET {{bartBaseUrl}}/stn.aspx?cmd=stninfo&orig={{destinationStation}}&json=y

Request Params

KeyDatatypeRequiredDescription
cmdstringBART API command
origstringAbbreviated station name
jsonstringJSON response

RESPONSES

status: OK

{"?xml":{"@version":"1.0","@encoding":"utf-8"},"root":{"@id":"1","uri":{"#cdata-section":"http://api.bart.gov/api/stn.aspx?cmd=stninfo\u0026orig=MONT\u0026json=y"},"stations":{"station":{"name":"Montgomery St.","abbr":"MONT","gtfs_latitude":"37.789405","gtfs_longitude":"-122.401066","address":"598 Market Street","city":"San Francisco","county":"sanfrancisco","state":"CA","zipcode":"94104","north_routes":{"route":["ROUTE 12","ROUTE 6","ROUTE 8","ROUTE 2"]},"south_routes":{"route":["ROUTE 11","ROUTE 5","ROUTE 7","ROUTE 1"]},"north_platforms":{"platform":["2"]},"south_platforms":{"platform":["1"]},"platform_info":"Always check destination signs and listen for departure announcements.","intro":{"#cdata-section":"Located in the heart of San Francisco's Financial District on Market Street, Montgomery Station features excellent access to San Francisco Muni and destinations throughout the city. Due to COVID-19, several entrances at Montgomery St. Station are closed. Please click here to see the station map."},"cross_street":{"#cdata-section":"Between: Montgomery \u0026 2nd St."},"food":{"#cdata-section":"Nearby restaurant reviews from \u003ca href=\"http://www.yelp.com/search?find_desc=Restaurant+\u0026ns=1\u0026rpp=10\u0026find_loc=598 Market Street, San Francisco, CA 94105\"\u003eyelp.com\u003c/a\u003e"},"shopping":{"#cdata-section":"Local shopping from \u003ca href=\"http://www.yelp.com/search?find_desc=Shopping+\u0026ns=1\u0026rpp=10\u0026find_loc=598 Market Street, San Francisco, CA 94105\"\u003eyelp.com\u003c/a\u003e"},"attraction":{"#cdata-section":"More station area attractions from \u003ca href=\"http://www.yelp.com/search?find_desc=+\u0026ns=1\u0026rpp=10\u0026find_loc=598 Market Street, San Francisco, CA 94105\"\u003eyelp.com\u003c/a\u003e and \u003ca href=\"http://www.sfgate.com/cgi-bin/article.cgi?f=/c/a/2007/06/21/NSG47QG76H1.DTL\"\u003esfgate.com\u003c/a\u003e"},"link":{"#cdata-section":"http://www.bart.gov/stations/MONT"}}},"message":""}}