One Bus Away API down?

69 views
Skip to first unread message

Romain Boces

unread,
Jan 4, 2022, 1:17:16 PM1/4/22
to onebusaway-developers
Hello,

Is the API down, I am trying this sample request from the documentation http://api.onebusaway.org/api/where/vehicles-for-agency/1.xml?key=TEST and I et an 403 error?

Thank you and happy new year!

Sean Barbeau

unread,
Jan 4, 2022, 1:20:57 PM1/4/22
to onebusaway-developers
Hi!

Which documentation were you looking at?

That's an old URL prior to OneBusAway being deployed in multiple regions. For Puget Sound, use this URL instead:

Other regional URLs are visible in the Regions API response:

You'll need to request API keys from each region - for more info see:

Sean

Sean Barbeau
Center for Urban Transportation Research
University of South Florida

Romain Boces

unread,
Jan 4, 2022, 1:55:12 PM1/4/22
to onebusaway-developers
Hello,

Thank you for your quick reply.

I see in your documentation there's an available endpoint for GTFS-rt. The trip ids that are returned in the pb by the api (https://api.pugetsound.onebusaway.org/api/gtfs_realtime/vehicle-positions-for-agency/40.pb) do not match the trip ids found the static GTFS (http://developer.onebusaway.org/tmp/sound/gtfs/modified/40_gtfs.zip available on sound's transit's developer page).

Is there any way to match real time with static data?

Thank you

Chris Karnes

unread,
Jan 5, 2022, 3:45:29 PM1/5/22
to onebusaway-developers
Hello,

Thank you for this question.  The data that is on developer.onebusaway.org is no longer being updated.  Those URL's have been updated to locations following Sound Transit's migration to a cloud hosted instance of OneBusAway.  The new URL's are in the process of being updated by our web team, but I will provide them here.

King County Metro: https://gtfs.sound.obaweb.org/prod/1_gtfs.zip
Pierce Transit: https://gtfs.sound.obaweb.org/prod/3_gtfs.zip
Intercity Transit: https://gtfs.sound.obaweb.org/prod/19_gtfs.zip
Community Transit: https://gtfs.sound.obaweb.org/prod/29_gtfs.zip
Sound Transit: https://gtfs.sound.obaweb.org/prod/40_gtfs.zip
Washington State Ferries https://gtfs.sound.obaweb.org/prod/95_gtfs.zip
Seattle Center Monorail https://gtfs.sound.obaweb.org/prod/96_gtfs.zip
Everett Transit: https://gtfs.sound.obaweb.org/prod/97_gtfs.zip
Seattle Children’s Hospital: https://gtfs.sound.obaweb.org/prod/98_gtfs.zip
Puget Sound Consolidated GTFS: https://gtfs.sound.obaweb.org/prod/gtfs_puget_sound_consolidated.zip

Chris Karnes
Senior Software Engineer, Operations | Information Technology | Sound Transit

Reply all
Reply to author
Forward
0 new messages