The RidePSTA API provides a gateway into near-real-time PSTA bus locations and estimated arrival times. You can use the official RidePSTA (PSTA Real Time Bus Information) service via Web or mobile device.
To use this API, you must agree to the Terms of Service and apply for a key. You'll also need a
Each bus has a device that uses the Global Positioning System (GPS) to determine where it is, make announcements as buses approach stops, and report back information about the bus to our servers. It helps us see where buses are and make service and schedules better and it can help bus riders make decisions about when to head out to a bus stop.
Estimated arrival times and this API are provided through a system called "BusTime," a product made by Clever Devices, Inc.
The API makes it easy for developers to get specific information from RidePSTA.net to incorporate estimated arrivals and location information into innovative apps--mobile, online, or at locations.
First, you'll need to get a RidePSTA.net account. If you don't have one, sign up and activate your account first. Then:
We'll need to review your application. Once we assign you a key, you'll get an e-mail containing the key right away. Meanwhile, feel free to review the documentation.
Q: How fresh is the data?
A: About as fresh as it can get—RidePSTA.net data is updated about every minute, both on our site and in the API.
Q: How does RidePSTA.net determine when a bus is likely to arrive at a stop?
A: The BusTime system makes estimations based on scheduled travel times and vehicle locations. Extraneous circumstances can have an impact on travel times, which is why BusTime can only provide an estimate.
Q: What happens when a bus goes "off-route?"
A: When buses go off of their regular route, RidePSTA.net will stop showing them because it isn't able to automatically tell which stops a bus will be able to cover before it continues its
Q: Why might a bus not appear on RidePSTA.net?
A: In addition to situations where a bus goes off-route, a bus might also not appear on RidePSTA.net due to a hardware or communications problem that causes a bus to not report in to the BusTime system. Generally, these circumstances are rare, but you should be aware of them if providing RidePSTA.net data to your users.
Q: Is there a limit to how much data I can transfer?
A: By default, the RidePSTA API has a transaction limit of 10,000 transactions/day. This helps us manage bandwidth better (it's not free)—but you can ask us to increase that limit, which we'll evaluate on a case-by-case basis.
Q: How far in the future does RidePSTA.net estimate arrivals?
A: Estimated arrival times are only available up to about a half-hour in the future. If you are interested in making estimations beyond that, try using scheduled service data via our GTFS feed.
Q: Why is some seemingly-similar information in the RidePSTA API slightly different than what's in the GTFS feed?
A: These feeds are essentially pathways into data we use for pre-existing systems. For example, routes are "patterns" in the RidePSTA API and routes are "shapes" in the GTFS feed. While these are very similar each is processed a little differently to serve the needs of
...See the documentation for even more FAQs!▲ Back to Top