KMB Bus Stops (with Coordinates)
Source
Section titled “Source”Kowloon Motor Bus (KMB)
- API Base: https://data.etabus.gov.hk/
- Stops Endpoint:
https://data.etabus.gov.hk/v1/transport/kmb/stop
Format
Section titled “Format”JSON Real-time. No API key. CORS-enabled.
~5,000
KMB Stops
WGS84
Coordinate System
Real-time
Update Frequency
Schema / Fields
Section titled “Schema / Fields”| Field | Type | Example | Description |
|---|---|---|---|
stop | string | "9D208FE439765DDC" | Unique stop ID (hex) |
name_en | string | "Sheung Wan Station" | English stop name |
name_tc | string | "上環站" | Traditional Chinese stop name |
name_sc | string | "上环站" | Simplified Chinese stop name |
lat | string | "22.286417" | Latitude (WGS84, as string) |
long | string | "114.150611" | Longitude (WGS84, as string) |
Example API Call
Section titled “Example API Call”# All KMB stopscurl "https://data.etabus.gov.hk/v1/transport/kmb/stop" | jq '.data[0:5]'
# Get specific stop detailscurl "https://data.etabus.gov.hk/v1/transport/kmb/stop/9D208FE439765DDC"
# Find stops near Sheung Wan (post-process with distance filter)curl "https://data.etabus.gov.hk/v1/transport/kmb/stop" | jq \ '[.data[] | select((.lat | tonumber) > 22.28 and (.lat | tonumber) < 22.30 and (.long | tonumber) > 114.14 and (.long | tonumber) < 114.16)]'Example Response
Section titled “Example Response”{ "type": "StopList", "version": "2.0", "generated_timestamp": "2024-01-15T08:30:00+08:00", "data": [ { "stop": "9D208FE439765DDC", "name_en": "Sheung Wan Station", "name_tc": "上環站", "name_sc": "上环站", "lat": "22.286417", "long": "114.150611" }, { "stop": "B4E6DA0E81F80815", "name_en": "Western Market", "name_tc": "西港城", "name_sc": "西港城", "lat": "22.286971", "long": "114.149234" } ]}Used By
Section titled “Used By”| Model | How |
|---|---|
| Catchment Area | Stop coordinates seed isochrone calculation — buffer + network analysis around each stop |
Notes / Gotchas
Section titled “Notes / Gotchas”- Stop IDs are hex strings that are stable across API calls — safe to use as join keys with route-stop mapping
- To find which routes serve a specific stop:
https://data.etabus.gov.hk/v1/transport/kmb/stop-route/{stop_id} - KMB stops on HK Island are rare — for HKI bus stops, use CTB data
- Stop names are often the same as MTR station names where buses interchange — be careful of duplicates in a combined stop dataset