Hong Kong Bus and MTR Arrival Times API
Live Hong Kong arrival times: KMB bus ETAs along a route (every stop, both directions) and MTR train arrivals by line and station, with destination, platform, arrival time, queue position and remark.
$0.50 per 1,000 records
You pay only for the records you get. Zero records cost zero. 10,000 free records of this API to start (5,000 at the base price of $1 per 1,000), no card.
Data from data.etabus.gov.hk/v1/transport/kmb/route-eta/%7Broute%7D/%7Bservice_type%7D
Get this data
Try it here with a few records, download the sample, fill a Google Sheet, or call it from your own code.
Try it
Run it on this page, or call it from your code with the endpoint in the developer section. A free key covers 10,000 records of this API, no card. Create a free key
For developers: the API and MCPThe endpoint, code in curl, JavaScript and Python, every input, and files for your tools
- Small runs answer in the same request; longer ones answer
202with a run to poll. fieldsreturns only the fields you name. The examples send the ones picked on this page.Idempotency-Keyis optional. A retry with it is never charged twice.- You pay for records returned. Zero records cost zero.
curl -X POST "https://pullrow.dev/v1/apis/hong-kong-transport-eta/run" \
-H "Authorization: Bearer $PULLROW_API_KEY" \
-H "Content-Type: application/json" \
-d '{"input":{"operator":"both"},"max_items":50}'Inputs
Send them as input in the request body. Leave one out to use its default.
What's in each record
13 fields: 11 here, 2 technical ones under Technical details.
Basics
- Operator
KMB or MTR.
Example KMB
- Route
Bus route number or MTR line code.
Example 1A
- Direction
KMB: O outbound or I inbound. MTR: UP or DOWN.
Example O
- Service type
KMB service type of the route; empty for MTR.
Example 1
- Stop seq
KMB: the stop's number along the route; empty for MTR.
Example 1
- Destination en
Destination in English (MTR: station code).
Example STAR FERRY
- ETA seq
Order of the arrival at that stop: 1 is the next vehicle.
Example 1
- Remark en
Operator remark, such as Scheduled Bus (KMB).
Example Scheduled Bus
- Platform
MTR platform number; empty for buses.
Dates
- ETA
Expected arrival (UTC); empty when the operator shows no time.
Example Dec 6, 2026
- Data timestamp
When the operator produced this figure (UTC).
Example Dec 6, 2026
Technical detailsField names and types for developers, and the 2 fields hidden above
Hidden by default
These 2 fields come with each record too. They are internal codes, notes about how the record was read or a copy of what was searched for, so the lists above leave them out.
- ID
idStable key of one arrival: operator, route, direction, stop and queue position. - Stop ID
stop_idMTR station code; empty for buses.
Field names and types
The names your code reads in each record. "Filled" counts how many of the 3 sample records carry the field.
| Field name | Type | Shown on this page as | Filled |
|---|---|---|---|
id | text | ID (hidden) | 3 of 3 |
operator | text | Operator | 3 of 3 |
route | text | Route | 3 of 3 |
direction | text | Direction | 3 of 3 |
service_type | number | Service type | 3 of 3 |
stop_id | text | Stop ID (hidden) | 0 of 3 |
stop_seq | number | Stop seq | 3 of 3 |
destination_en | text | Destination en | 3 of 3 |
eta | date and time | ETA | 3 of 3 |
eta_seq | number | ETA seq | 3 of 3 |
remark_en | text | Remark en | 3 of 3 |
platform | text | Platform | 0 of 3 |
data_timestamp | date and time | Data timestamp | 3 of 3 |
How it reads the site
Runs on a reader we built and maintain by hand for this site.
Save as pipeline
A pipeline remembers this API, your inputs and the fields you picked. It can run on a schedule and email you the results.
Sample records
| Record | Operator | Route | Direction | Service type | Stop seq | Destination en | ETA seq | Remark en | Platform | ETA | Data timestamp |
|---|---|---|---|---|---|---|---|---|---|---|---|
| 1 | KMB | 1A | O | 1 | 1 | STAR FERRY | 1 | Scheduled Bus | — | Dec 6, 2026 | Dec 6, 2026 |
| 2 | KMB | 1A | O | 1 | 1 | STAR FERRY | 2 | Scheduled Bus | — | Dec 6, 2026 | Dec 6, 2026 |
| 3 | KMB | 1A | O | 1 | 1 | STAR FERRY | 3 | Scheduled Bus | — | Dec 6, 2026 | Dec 6, 2026 |
Sample records from the example output this API publishes. Email addresses and phone numbers in them are masked. Hover over a column name to see the field name your code reads.
Reliability
Counted from real runs. Our own health checks are left out. A run succeeded when it finished and the site neither blocked it nor broke it.
Incidents and repairs
How it is kept working What a repair can't do
A ready-made API, maintained by us. It is not part of the daily check or the automatic rebuild yet.
- You pay only for records returned. A run that returns none costs nothing.
- Live snapshot only: each run returns the arrivals the operators publish at that moment (a few minutes ahead, often 1 to 3 per stop); there is no history.
- KMB data covers KMB routes only (not Citybus, minibus or tram). MTR covers the lines and stations you name; the MTR feed shows the next trains, roughly four per direction.
- bus rows carry stop_seq (stop number along the route) but no stop id or name, and MTR rows carry stop_id (the station code) and platform but no stop_seq; destination_en is the full name for buses and the station code (for example POA) for MTR.
- Times are UTC. Data from DATA.GOV.HK, free to reuse with credit to the data providers (KMB, MTR Corporation and the Hong Kong Government); requests are paced at one every half second.
Version history
A run uses the live version unless the request names another one with version.
Manage this API
Only your workspace sees this part.
Automatic repair
Off: a rebuilt version is stored and waits for you in the version history.
Delete this API
Removes the API, its versions and the saved records of its runs. Calls to its address then answer 404. Records already charged stay charged. This cannot be undone.