Transport for Honolulu, US API
Overview
The Honolulu TheBus API provides real-time information about bus arrivals, routes, and stops for Oahu public transit in Hawaii. You can look up the next bus arrival at any stop or retrieve route details using a simple HTTP request. An API key is required and can be requested from hea.thebus.org.
Beginner Tip
Start by querying a known stop ID (e.g., stop 4487 near Ala Moana Center) to test your connection before building a full app. Stop IDs are printed on physical bus stop signs across Honolulu.
Available Data
Example Response
{
"route": "Line 1",
"origin": "Station A",
"destination": "Station B",
"departure": "08:30",
"arrival": "09:15",
"status": "On Time",
"delays_min": 0
} Field Reference
Arrival An XML element representing a single upcoming bus arrival at the queried stop. Route The route number of the arriving bus, such as 8 or 42. Headsign The destination sign text displayed on the bus, indicating where the bus is headed. ArrivalTime Estimated arrival time at the stop, typically in minutes from now or as a clock time. StopTime The scheduled time the bus is due at this stop according to the timetable. Implementation Example
const url = "http://hea.thebus.org/";
// Replace headers or query params with the values required by this API.
const response = await fetch(url, {
headers: {
"X-API-Key": "YOUR_API_KEY"
}
});
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
const data = await response.json();
console.log(data); What Can You Build?
Note: These code examples are AI-generated and unverified. Always refer to the official API documentation for accurate usage.
Common Errors & Troubleshooting
Matrix Score Breakdown
Partially tested on Apr 5, 2026
Technical Specifications
Related Tags
Similar APIs
View All →AIS Hub
AIS Hub aggregates real-time Automatic Identification System data from a global network of shore-based receivers to track marine vessels.
AZ511
AZ511 is the official Arizona Department of Transportation traffic data API providing real-time road conditions, incidents, and camera information for Arizona highways.
Bay Area Rapid Transit
⭐ Beginner's PickThe BART API provides real-time train arrival predictions, station information, and service advisories for the Bay Area Rapid Transit system in the San Francisco Bay Area.
BlaBlaCar
⚠ UnavailableBlaBlaCar provides programmatic access to search car sharing trips via REST API.
Boston MBTA Transit
⭐ Beginner's PickThe Boston MBTA Transit API gives you real-time data for the Massachusetts Bay Transportation Authority, including train, bus, and ferry arrivals.