This API is designed to show the travel log of buses in Oahu, Hawaii. The data extracted shows each bus’ ID, trip ID, direction it is headed in, vehicle number, and estimated time of arrival. I have attached the link to the data dictionary below if you wish to view all the fields. Locals on the island could utilize this service to see the planned schedule for the buses in their area. Public transportation can be difficult to plan around, as delays and traffic can affect the estimated times of arrival for each bus. Bus riders can see the updated estimations and adjust their planned bus rides.

The setup is straight forward, as I have established an endpoint and have gained access to my unique api key. All users will need their own api key and a stop id they wish to see. Users can go to http://hea.thebus.org/api_info.asp to gain access to their unique api key. There is an api available for bus arrivals, vehicles, and routes. I have chosen to use the arrivals api, so please make sure to chose that api. There is also an option to use the XML and JSON files, so please use the JSON option. To find what street or stop id you wish to find, you can look it up at http://hea.thebus.org/default.asp?q=&c=Find+bus+stop. You will need to find the stop id in order to use the function built into this file, so please take the time to look at your most common stops.

The table below is an example of what information can be found after the user puts their api key and stop id. All users will have a different api key, but can chose whichever stop id they wish to view. I have chosen South King Street and University Avenue, or stop id “2107” to illustrate the results. It is important to note that the “stopTime” is in Hawaii-Aleutian Standard Time, so they are 5-6 hours behind Eastern Standard Time depending on the time of year. After typing in my api key and stop id into the function, these are the results that can be found.

id trip route headsign direction vehicle estimated stopTime date longitude latitude shape canceled
1603377650 4469389 1 KALIHI TRANSIT CENTER Westbound ??? 0 4:47 AM 4/5/2023 0 0 10482 0
1603384517 4469244 1 KALIHI TRANSIT CENTER Westbound ??? 0 5:07 AM 4/5/2023 0 0 10459 0
1603362905 4469211 1 KALIHI TRANSIT CENTER Westbound ??? 2 5:25 AM 4/5/2023 0 0 10459 0
1603416461 4481241 1 KALIHI TRANSIT CENTER Westbound ??? 2 5:43 AM 4/5/2023 0 0 10456 0
1603370584 4469210 1 KALIHI TRANSIT CENTER Westbound ??? 2 5:54 AM 4/5/2023 0 0 10459 0
1603384590 4469324 1 KALIHI TRANSIT CENTER Westbound ??? 2 6:04 AM 4/5/2023 0 0 10459 0
1603422140 4469242 1 KALIHI TRANSIT CENTER Westbound ??? 2 6:14 AM 4/5/2023 0 0 10456 0
1603384888 4469325 1 KALIHI TRANSIT CENTER Westbound ??? 2 6:27 AM 4/5/2023 0 0 10459 0
1603364527 4469326 1 KALIHI TRANSIT CENTER Westbound ??? 2 6:38 AM 4/5/2023 0 0 10459 0
1603416313 4469243 1 KALIHI TRANSIT CENTER Westbound ??? 2 6:44 AM 4/5/2023 0 0 10456 0
1603384958 4469327 1 KALIHI TRANSIT CENTER Westbound ??? 2 6:50 AM 4/5/2023 0 0 10459 0
1603491901 4469382 1 KALIHI TRANSIT CENTER Westbound ??? 2 6:56 AM 4/5/2023 0 0 10459 0
1603370586 4469328 1 KALIHI TRANSIT CENTER Westbound ??? 2 7:02 AM 4/5/2023 0 0 10459 0
1603384519 4469329 1 KALIHI TRANSIT CENTER Westbound ??? 2 7:13 AM 4/5/2023 0 0 10459 0
1603472201 4471608 1L KALIHI TRANSIT CENTER - Limited Stops Westbound ??? 2 7:17 AM 4/5/2023 0 0 1L0097 0
1603385365 4469330 1 KALIHI TRANSIT CENTER Westbound ??? 2 7:24 AM 4/5/2023 0 0 10459 0
1603492266 4481245 1 KALIHI TRANSIT CENTER Westbound ??? 2 7:35 AM 4/5/2023 0 0 10459 0
1603384760 4469331 1 KALIHI TRANSIT CENTER Westbound ??? 2 7:46 AM 4/5/2023 0 0 10459 0
1603414061 4471609 1L KALIHI TRANSIT CENTER - Limited Stops Westbound ??? 2 7:50 AM 4/5/2023 0 0 1L0097 0
1603364528 4469332 1 KALIHI TRANSIT CENTER Westbound ??? 2 7:57 AM 4/5/2023 0 0 10459 0
1603384889 4469333 1 KALIHI TRANSIT CENTER Westbound ??? 2 8:09 AM 4/5/2023 0 0 10459 0
1603385656 4469334 1 KALIHI TRANSIT CENTER Westbound ??? 2 8:20 AM 4/5/2023 0 0 10459 0
1603385481 4471610 1L KALIHI TRANSIT CENTER - Limited Stops Westbound ??? 2 8:24 AM 4/5/2023 0 0 1L0097 0
1603370968 4469335 1 KALIHI TRANSIT CENTER Westbound ??? 2 8:32 AM 4/5/2023 0 0 10459 0
1603362906 4469336 1 KALIHI TRANSIT CENTER Westbound ??? 2 8:43 AM 4/5/2023 0 0 10459 0

Data Dictionary found at “http://hea.thebus.org/api/documentation/arrivalsJSON.pdf