KMB Bus Routes
Source
Section titled “Source”Kowloon Motor Bus (KMB) / Long Win Bus
- API Base: https://data.etabus.gov.hk/
- Routes Endpoint:
https://data.etabus.gov.hk/v1/transport/kmb/route
Format
Section titled “Format”JSON Real-time. No API key. CORS-enabled.
~400
KMB Routes
Real-time
Update Frequency
Free
No Auth
Schema / Fields
Section titled “Schema / Fields”| Field | Type | Example | Description |
|---|---|---|---|
route | string | "1A" | Route number |
bound | string | "O" | Direction: O (outbound) or I (inbound) |
service_type | string | "1" | Service variant (1=main, 2=special) |
orig_en | string | "STAR FERRY" | English origin terminal name |
orig_tc | string | "尖沙咀碼頭" | Chinese origin terminal name |
dest_en | string | "CHUK YUEN (NORTH) ESTATE" | English destination terminal name |
dest_tc | string | "竹園(北)邨" | Chinese destination terminal name |
Example API Call
Section titled “Example API Call”# All KMB routescurl "https://data.etabus.gov.hk/v1/transport/kmb/route" | jq '.data[0:5]'
# Filter routes serving Sheung Wan area (post-process)curl "https://data.etabus.gov.hk/v1/transport/kmb/route" | \ jq '[.data[] | select(.orig_en | test("SHEUNG WAN|CENTRAL|HONG KONG"; "i"))]'Example Response
Section titled “Example Response”{ "type": "RouteList", "version": "2.0", "generated_timestamp": "2024-01-15T08:30:00+08:00", "data": [ { "route": "1A", "bound": "O", "service_type": "1", "orig_en": "STAR FERRY", "orig_tc": "尖沙咀碼頭", "dest_en": "CHUK YUEN (NORTH) ESTATE", "dest_tc": "竹園(北)邨" }, { "route": "40", "bound": "I", "service_type": "1", "orig_en": "TUEN MUN FERRY PIER", "orig_tc": "屯門碼頭", "dest_en": "CENTRAL (MACAU FERRY PIER)", "dest_tc": "中環(澳門碼頭)" } ]}Used By
Section titled “Used By”| Model | How |
|---|---|
| Catchment Area | Bus routes extending catchment beyond walking distance and MTR network |
Notes / Gotchas
Section titled “Notes / Gotchas”- Route data alone doesn’t give stop locations — combine with
transport-kmb-stopsfor geographic analysis - Service types: type “1” is the main service; type “2” and above are peak-hour or special variants
- Real-time ETA is available at:
https://data.etabus.gov.hk/v1/transport/kmb/eta/{stop_id}/{route}/{service_type} - For Hong Kong Island buses, use CTB data (
transport-ctb-routes)