{"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},"version":"1.0","contract_hash":"7189f21c42b4b309e724c0b27ec964ec6b1c0e8c06d3b2a847fe8c3a65677893","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},"changelog":[{"version":"1.0","change_kind":"initial","note":"Imported from the ready-made source catalog.","created_at":"2026-12-06T04:06:22.105Z","activated_at":"2026-12-06T04:06:22.105Z","active":true,"contract_hash":"7189f21c42b4b309e724c0b27ec964ec6b1c0e8c06d3b2a847fe8c3a65677893","fields_count":13}]}