stop Method
Retrieve info for a specific stop by id.
Example Request
https://api.pugetsound.onebusaway.org/api/where/stop/1_75403.json?key=TEST
Example Response
{"code":200,"currentTime":1710978183498,"data":{"entry":{"code":"75403","direction":"SW","id":"1_75403","lat":47.654503,"locationType":0,"lon":-122.30513,"name":"East Stevens Way NE & Benton Ln","parent":"","routeIds":["1_100225","1_100259","1_100214"],"staticRouteIds":["1_100225","1_100259","1_100214"],"wheelchairBoarding":"ACCESSIBLE"},"references":{"agencies":[{"disclaimer":"","email":"","fareUrl":"https://kingcounty.gov/en/dept/metro/fares-and-payment/prices","id":"1","lang":"EN","name":"Metro Transit","phone":"206-553-3000","privateService":false,"timezone":"America/Los_Angeles","url":"https://kingcounty.gov/en/dept/metro"}],"routes":[{"agencyId":"1","color":"","description":"Loyal Heights - University District","id":"1_100225","longName":"","nullSafeShortName":"45","shortName":"45","textColor":"","type":3,"url":"https://kingcounty.gov/en/dept/metro/routes-and-service/schedules-and-maps/045.html"},{"agencyId":"1","color":"","description":"Northgate - Roosevelt - University District","id":"1_100259","longName":"","nullSafeShortName":"67","shortName":"67","textColor":"","type":3,"url":"https://kingcounty.gov/en/dept/metro/routes-and-service/schedules-and-maps/067.html"},{"agencyId":"1","color":"","description":"UW/Cascadia College - University District","id":"1_100214","longName":"","nullSafeShortName":"372","shortName":"372","textColor":"","type":3,"url":"https://kingcounty.gov/en/dept/metro/routes-and-service/schedules-and-maps/372.html"}],"situations":[],"stopTimes":[],"stops":[],"trips":[]}},"text":"OK","version":2}
Request Parameters
id
- the id of the requested stop, encoded directly in the URL:http://api.pugetsound.onebusaway.org/api/where/stop/[ID GOES HERE].xml
Response
See details about the various properties of the <stop/>
element.