{"api":{"id":"api_33a1d1425a8af6fa551746d4","slug":"hong-kong-border-passenger-traffic","name":"Hong Kong Border Passenger Traffic API","description":"Daily passenger counts at each Hong Kong border control point (airport, rail, bridge, land and ferry crossings) by direction, split into Hong Kong residents, mainland visitors and other visitors, with a total. From 2021 to today.","kind":"ready_made","visibility":"public","domain":"www.immd.gov.hk","source_url":"https://www.immd.gov.hk/opendata/eng/transport/immigration_clearance/statistics_on_daily_passenger_traffic.csv","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":8,"created_at":"2026-12-06T03:57:27.667Z","updated_at":"2026-12-06T03:57:27.667Z","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":"Day, control point and direction joined, such as 2026-12-05|Airport|Arrival.","required":true,"coverage":1,"example":"2026-12-05|Airport|Arrival"},{"name":"date","type":"date","description":"The day the passengers were counted.","required":false,"coverage":1,"example":"2026-12-05"},{"name":"control_point","type":"string","description":"Border control point, such as Airport or Lo Wu.","required":false,"coverage":1,"example":"Airport"},{"name":"direction","type":"string","description":"Arrival or Departure.","required":false,"coverage":1,"example":"Arrival"},{"name":"hong_kong_residents","type":"integer","description":"Hong Kong residents counted.","required":false,"coverage":1,"example":30353},{"name":"mainland_visitors","type":"integer","description":"Mainland China visitors counted.","required":false,"coverage":1,"example":10863},{"name":"other_visitors","type":"integer","description":"Visitors from other places counted.","required":false,"coverage":1,"example":25605},{"name":"total","type":"integer","description":"All passengers counted that day at that control point and direction.","required":false,"coverage":1,"example":66821}],"inputs":[{"name":"control_points","type":"array","description":"Control points to include, such as Airport, Lo Wu, Shenzhen Bay or Hong Kong-Zhuhai-Macao Bridge. Leave empty for all of them.","example":["Airport"]},{"name":"from_date","type":"string","description":"Only days on or after this date, as YYYY-MM-DD.","example":"2026-11-01"},{"name":"to_date","type":"string","description":"Only days on or before this date, as YYYY-MM-DD.","example":"2026-12-05"},{"name":"direction","type":"string","description":"Arrival or Departure. Leave empty for both.","example":"Arrival","enum":["Arrival","Departure"]}],"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":true,"properties":{"control_point":{"description":"Border control point, such as Airport or Lo Wu.","type":"string"},"date":{"description":"The day the passengers were counted.","format":"date","type":"string"},"direction":{"description":"Arrival or Departure.","type":"string"},"hong_kong_residents":{"description":"Hong Kong residents counted.","type":"integer"},"id":{"description":"Day, control point and direction joined, such as 2026-12-05|Airport|Arrival.","type":"string"},"mainland_visitors":{"description":"Mainland China visitors counted.","type":"integer"},"other_visitors":{"description":"Visitors from other places counted.","type":"integer"},"total":{"description":"All passengers counted that day at that control point and direction.","type":"integer"}},"required":["id"],"title":"Hong Kong Border Passenger Traffic API","type":"object"},"samples":[{"id":"2026-12-05|Airport|Arrival","date":"2026-12-05","control_point":"Airport","direction":"Arrival","hong_kong_residents":30353,"mainland_visitors":10863,"other_visitors":25605,"total":66821},{"id":"2026-12-05|Airport|Departure","date":"2026-12-05","control_point":"Airport","direction":"Departure","hong_kong_residents":34433,"mainland_visitors":9097,"other_visitors":22470,"total":66000},{"id":"2026-12-04|Airport|Arrival","date":"2026-12-04","control_point":"Airport","direction":"Arrival","hong_kong_residents":30858,"mainland_visitors":12065,"other_visitors":28168,"total":71091}],"validation":{"checked_at":"2026-12-06T03:57:27.599Z","field_coverage":{"control_point":1,"date":1,"direction":1,"hong_kong_residents":1,"id":1,"mainland_visitors":1,"other_visitors":1,"total":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_33a1d1425a8af6fa551746d4/run","openapi":"https://pullrow.dev/v1/apis/api_33a1d1425a8af6fa551746d4/openapi.json","contract":"https://pullrow.dev/v1/apis/api_33a1d1425a8af6fa551746d4/contract.json","page":"https://pullrow.dev/catalog/hong-kong-border-passenger-traffic"},"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":["One run returns at most 5,000 daily rows, newest day first. Use from_date and to_date or a control point to reach older days.","Each row is one day, one control point and one direction; there is no hourly detail.","The Immigration Department publishes the figures for the previous day, so the newest day can be missing or still change.","Control points that opened or closed during the period (Heung Yuan Wai, Huanggang, Hung Hom, some ferry terminals) only have rows for the days they operated; a closed crossing shows zeros or no rows.","Counts are as published by the source. Our API does not estimate or fill in missing days.","The source is one file of about 3 MB that we read in full on every run, so a run takes a few seconds whatever the filters.","Free to reuse under the DATA.GOV.HK terms with credit to the Hong Kong Immigration Department. Not affiliated with or endorsed by the Immigration Department."]},"plain":{"summary":null,"source":"rules","fields":[{"name":"id","label":"ID","description":"Day, control point and direction joined, such as 2026-12-05|Airport|Arrival.","group":"Technical","shown":false,"written":false},{"name":"date","label":"Date","description":"The day the passengers were counted.","group":"Dates","shown":true,"written":false},{"name":"control_point","label":"Control point","description":"Border control point, such as Airport or Lo Wu.","group":"Basics","shown":true,"written":false},{"name":"direction","label":"Direction","description":"Arrival or Departure.","group":"Basics","shown":true,"written":false},{"name":"hong_kong_residents","label":"Hong Kong residents counted","description":"","group":"Basics","shown":true,"written":false},{"name":"mainland_visitors","label":"Mainland China visitors counted","description":"","group":"Basics","shown":true,"written":false},{"name":"other_visitors","label":"Other visitors","description":"Visitors from other places counted.","group":"Basics","shown":true,"written":false},{"name":"total","label":"Total","description":"All passengers counted that day at that control point and direction.","group":"Basics","shown":true,"written":false}],"inputs":[{"name":"control_points","label":"Control points","help":"Control points to include, such as Airport, Lo Wu, Shenzhen Bay or Hong Kong-Zhuhai-Macao Bridge. Leave empty for all of them.","example":"Airport","written":false},{"name":"from_date","label":"From date","help":"Only days on or after this date, as YYYY-MM-DD.","example":"2026-11-01","written":false},{"name":"to_date","label":"To date","help":"Only days on or before this date, as YYYY-MM-DD.","example":"2026-12-05","written":false},{"name":"direction","label":"Direction","help":"Arrival or Departure. Leave empty for both.","example":"Arrival","written":false}]}},"incidents":[]}