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.

Try it
Ready-made, maintained by usRecords, 13 fieldsv1.0

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

Operatoroptional
Which operator: kmb (buses), mtr (trains) or both. For both, routes is for KMB and mtr_lines for MTR.
Routesoptional
KMB bus routes, for example 1A. For operator mtr this may also hold MTR line codes. One per line, or separated by commas.
Example: 1A
Service typeoptional
KMB service type, 1 for the normal service (default).
Mtr linesoptional
MTR line codes such as TKL, TML, EAL, TWL, ISL, KTL, SIL, TCL, AEL or DRL. One per line, or separated by commas.
Example: TKL
Stationsoptional
MTR station codes such as TKO, with the line in mtr_lines. One per line, or separated by commas.
Example: TKO

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
Endpoint
POSThttps://pullrow.dev/v1/apis/hong-kong-transport-eta/run
  • Small runs answer in the same request; longer ones answer 202 with a run to poll.
  • fields returns only the fields you name. The examples send the ones picked on this page.
  • Idempotency-Key is optional. A retry with it is never charged twice.
  • You pay for records returned. Zero records cost zero.

Every run option, explained

Calling it needs a key
10,000 free records of this API to start. No card.
curl
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.

operatortext
Which operator: kmb (buses), mtr (trains) or both. For both, routes is for KMB and mtr_lines for MTR.
default: kmbexample: bothone of: kmb, mtr, both
routeslist
KMB bus routes, for example 1A. For operator mtr this may also hold MTR line codes.
example: 1A
service_typenumber
KMB service type, 1 for the normal service (default).
default: 1
mtr_lineslist
MTR line codes such as TKL, TML, EAL, TWL, ISL, KTL, SIL, TCL, AEL or DRL.
example: TKL
stationslist
MTR station codes such as TKO, with the line in mtr_lines.
example: TKO

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 nameTypeShown on this page asFilled
idtextID (hidden)3 of 3
operatortextOperator3 of 3
routetextRoute3 of 3
directiontextDirection3 of 3
service_typenumberService type3 of 3
stop_idtextStop ID (hidden)0 of 3
stop_seqnumberStop seq3 of 3
destination_entextDestination en3 of 3
etadate and timeETA3 of 3
eta_seqnumberETA seq3 of 3
remark_entextRemark en3 of 3
platformtextPlatform0 of 3
data_timestampdate and timeData timestamp3 of 3

How it reads the site

Runs on a reader we built and maintain by hand for this site.

Sample records

Sample records
RecordOperatorRouteDirectionService typeStop seqDestination enETA seqRemark enPlatformETAData timestamp
1KMB1AO11STAR FERRY1Scheduled Bus—Dec 6, 2026Dec 6, 2026
2KMB1AO11STAR FERRY2Scheduled Bus—Dec 6, 2026Dec 6, 2026
3KMB1AO11STAR FERRY3Scheduled Bus—Dec 6, 2026Dec 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.
Known limits
  • 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.