Station Information - Origin
GET {{bartBaseUrl}}/stn.aspx?cmd=stninfo&orig={{originStation}}&json=y
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
cmd | string | BART API command | |
orig | string | Abbreviated station name | |
json | string | JSON 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=BALB\u0026json=y"},"stations":{"station":{"name":"Balboa Park","abbr":"BALB","gtfs_latitude":"37.721585","gtfs_longitude":"-122.447506","address":"401 Geneva Avenue","city":"San Francisco","county":"sanfrancisco","state":"CA","zipcode":"94112","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":"Balboa Park is the name of both a San Francisco neighborhood and a public park between Mission Street and I-280 north of Geneva Avenue. The park features a public swimming pool, children's playground, baseball diamonds and tennis courts."},"cross_street":{"#cdata-section":"Nearby Cross: San Jose Ave."},"food":{"#cdata-section":"Nearby restaurant reviews from \u003ca href=\"http://www.yelp.com/search?find_desc=Restaurant+\u0026ns=1\u0026rpp=10\u0026find_loc=401 Geneva Avenue San Francisco, CA 94112\"\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=401 Geneva Avenue San Francisco, CA 94112\"\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=401 Geneva Avenue San Francisco, CA 94112\"\u003eyelp.com\u003c/a\u003e"},"link":{"#cdata-section":"http://www.bart.gov/stations/BALB"}}},"message":""}}