{"api":{"id":"api_c9d5c8108b343045b266a8af","slug":"hong-kong-transport-eta","name":"Hong Kong Bus and MTR Arrival Times API","description":"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.","kind":"ready_made","visibility":"public","domain":"data.gov.hk","source_url":"https://data.etabus.gov.hk/v1/transport/kmb/route-eta/{route}/{service_type}","category":"travel","record_type":"generic","active_version":"1.0","units_per_1k":500,"health":"unknown","auto_repair":false,"last_checked_at":null,"last_run_at":null,"fields_count":13,"created_at":"2026-12-06T04:06:22.105Z","updated_at":"2026-12-06T04:06:22.105Z","runnable":true,"egress":null,"repairs":[],"repairs_total":0,"how":"Runs on a reader we built and maintain by hand for this site.","fields":[{"name":"id","type":"string","description":"Stable key of one arrival: operator, route, direction, stop and queue position.","required":true,"coverage":1,"example":"KMB:1A:O:1:1:1"},{"name":"operator","type":"string","description":"KMB or MTR.","required":true,"coverage":1,"example":"KMB"},{"name":"route","type":"string","description":"Bus route number or MTR line code.","required":false,"coverage":1,"example":"1A"},{"name":"direction","type":"string","description":"KMB: O outbound or I inbound. MTR: UP or DOWN.","required":false,"coverage":1,"example":"O"},{"name":"service_type","type":"integer","description":"KMB service type of the route; empty for MTR.","required":false,"coverage":1,"example":1},{"name":"stop_id","type":"string","description":"MTR station code; empty for buses.","required":false,"coverage":0,"example":null},{"name":"stop_seq","type":"integer","description":"KMB: the stop's number along the route; empty for MTR.","required":false,"coverage":1,"example":1},{"name":"destination_en","type":"string","description":"Destination in English (MTR: station code).","required":false,"coverage":1,"example":"STAR FERRY"},{"name":"eta","type":"datetime","description":"Expected arrival (UTC); empty when the operator shows no time.","required":false,"coverage":1,"example":"2026-12-06T04:06:00.000Z"},{"name":"eta_seq","type":"integer","description":"Order of the arrival at that stop: 1 is the next vehicle.","required":false,"coverage":1,"example":1},{"name":"remark_en","type":"string","description":"Operator remark, such as Scheduled Bus (KMB).","required":false,"coverage":0.8,"example":"Scheduled Bus"},{"name":"platform","type":"string","description":"MTR platform number; empty for buses.","required":false,"coverage":0,"example":null},{"name":"data_timestamp","type":"datetime","description":"When the operator produced this figure (UTC).","required":false,"coverage":1,"example":"2026-12-06T04:02:36.000Z"}],"inputs":[{"name":"operator","type":"string","description":"Which operator: kmb (buses), mtr (trains) or both. For both, routes is for KMB and mtr_lines for MTR.","default":"kmb","example":"both","enum":["kmb","mtr","both"]},{"name":"routes","type":"array","description":"KMB bus routes, for example 1A. For operator mtr this may also hold MTR line codes.","example":["1A"]},{"name":"service_type","type":"integer","description":"KMB service type, 1 for the normal service (default).","default":1},{"name":"mtr_lines","type":"array","description":"MTR line codes such as TKL, TML, EAL, TWL, ISL, KTL, SIL, TCL, AEL or DRL.","example":["TKL"]},{"name":"stations","type":"array","description":"MTR station codes such as TKO, with the line in mtr_lines.","example":["TKO"]}],"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":true,"properties":{"data_timestamp":{"description":"When the operator produced this figure (UTC).","format":"date-time","type":"string"},"destination_en":{"description":"Destination in English (MTR: station code).","type":"string"},"direction":{"description":"KMB: O outbound or I inbound. MTR: UP or DOWN.","type":"string"},"eta":{"description":"Expected arrival (UTC); empty when the operator shows no time.","format":"date-time","type":"string"},"eta_seq":{"description":"Order of the arrival at that stop: 1 is the next vehicle.","type":"integer"},"id":{"description":"Stable key of one arrival: operator, route, direction, stop and queue position.","type":"string"},"operator":{"description":"KMB or MTR.","type":"string"},"platform":{"description":"MTR platform number; empty for buses.","type":"string"},"remark_en":{"description":"Operator remark, such as Scheduled Bus (KMB).","type":"string"},"route":{"description":"Bus route number or MTR line code.","type":"string"},"service_type":{"description":"KMB service type of the route; empty for MTR.","type":"integer"},"stop_id":{"description":"MTR station code; empty for buses.","type":"string"},"stop_seq":{"description":"KMB: the stop's number along the route; empty for MTR.","type":"integer"}},"required":["id","operator"],"title":"Hong Kong Bus and MTR Arrival Times API","type":"object"},"samples":[{"id":"KMB:1A:O:1:1:1","operator":"KMB","route":"1A","direction":"O","service_type":1,"stop_id":null,"stop_seq":1,"destination_en":"STAR FERRY","eta":"2026-12-06T04:06:00.000Z","eta_seq":1,"remark_en":"Scheduled Bus","platform":null,"data_timestamp":"2026-12-06T04:02:36.000Z"},{"id":"KMB:1A:O:1:1:2","operator":"KMB","route":"1A","direction":"O","service_type":1,"stop_id":null,"stop_seq":1,"destination_en":"STAR FERRY","eta":"2026-12-06T04:13:00.000Z","eta_seq":2,"remark_en":"Scheduled Bus","platform":null,"data_timestamp":"2026-12-06T04:02:36.000Z"},{"id":"KMB:1A:O:1:1:3","operator":"KMB","route":"1A","direction":"O","service_type":1,"stop_id":null,"stop_seq":1,"destination_en":"STAR FERRY","eta":"2026-12-06T04:20:00.000Z","eta_seq":3,"remark_en":"Scheduled Bus","platform":null,"data_timestamp":"2026-12-06T04:02:36.000Z"}],"validation":{"checked_at":"2026-12-06T04:06:22.092Z","field_coverage":{"data_timestamp":1,"destination_en":1,"direction":1,"eta":1,"eta_seq":1,"id":1,"operator":1,"platform":0,"remark_en":1,"route":1,"service_type":1,"stop_id":0,"stop_seq":1},"fresh_read":false,"identity_unique":true,"issues":["Imported from a hand-built source. Field names and types come from its published schema; no live read was made for this check."],"level":"preview","pages_checked":0,"passed":true,"records_checked":3},"links":{"run":"https://pullrow.dev/v1/apis/api_c9d5c8108b343045b266a8af/run","openapi":"https://pullrow.dev/v1/apis/api_c9d5c8108b343045b266a8af/openapi.json","contract":"https://pullrow.dev/v1/apis/api_c9d5c8108b343045b266a8af/contract.json","page":"https://pullrow.dev/catalog/hong-kong-transport-eta"},"runs_30d":0,"success_rate_30d":null,"price_per_1k_usd":0.5,"featured":false,"reliability":{"window_days":30,"runs":0,"completed":0,"succeeded":0,"failed":0,"success_rate":null,"last_run_at":null},"demo":{"available":false,"max_records":0,"reason":"Every run of this API costs us money, so it has no free live demo. The sample records on its page show what it returns.","code":"demo_not_available"},"meta":{"limitations":["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."]},"plain":{"summary":null,"source":"rules","fields":[{"name":"id","label":"ID","description":"Stable key of one arrival: operator, route, direction, stop and queue position.","group":"Technical","shown":false,"written":false},{"name":"operator","label":"Operator","description":"KMB or MTR.","group":"Basics","shown":true,"written":false},{"name":"route","label":"Route","description":"Bus route number or MTR line code.","group":"Basics","shown":true,"written":false},{"name":"direction","label":"Direction","description":"KMB: O outbound or I inbound. MTR: UP or DOWN.","group":"Basics","shown":true,"written":false},{"name":"service_type","label":"Service type","description":"KMB service type of the route; empty for MTR.","group":"Basics","shown":true,"written":false},{"name":"stop_id","label":"Stop ID","description":"MTR station code; empty for buses.","group":"Technical","shown":false,"written":false},{"name":"stop_seq","label":"Stop seq","description":"KMB: the stop's number along the route; empty for MTR.","group":"Basics","shown":true,"written":false},{"name":"destination_en","label":"Destination en","description":"Destination in English (MTR: station code).","group":"Basics","shown":true,"written":false},{"name":"eta","label":"ETA","description":"Expected arrival (UTC); empty when the operator shows no time.","group":"Dates","shown":true,"written":false},{"name":"eta_seq","label":"ETA seq","description":"Order of the arrival at that stop: 1 is the next vehicle.","group":"Basics","shown":true,"written":false},{"name":"remark_en","label":"Remark en","description":"Operator remark, such as Scheduled Bus (KMB).","group":"Basics","shown":true,"written":false},{"name":"platform","label":"Platform","description":"MTR platform number; empty for buses.","group":"Basics","shown":true,"written":false},{"name":"data_timestamp","label":"Data timestamp","description":"When the operator produced this figure (UTC).","group":"Dates","shown":true,"written":false}],"inputs":[{"name":"operator","label":"Operator","help":"Which operator: kmb (buses), mtr (trains) or both. For both, routes is for KMB and mtr_lines for MTR.","example":"both","written":false},{"name":"routes","label":"Routes","help":"KMB bus routes, for example 1A. For operator mtr this may also hold MTR line codes.","example":"1A","written":false},{"name":"service_type","label":"Service type","help":"KMB service type, 1 for the normal service (default).","example":"","written":false},{"name":"mtr_lines","label":"Mtr lines","help":"MTR line codes such as TKL, TML, EAL, TWL, ISL, KTL, SIL, TCL, AEL or DRL.","example":"TKL","written":false},{"name":"stations","label":"Stations","help":"MTR station codes such as TKO, with the line in mtr_lines.","example":"TKO","written":false}]}},"incidents":[]}