Hong Kong Trade Statistics API (C&SD)
Pricing
Pay per usage
Hong Kong Trade Statistics API (C&SD)
Get Hong Kong's official monthly trade data (C&SD): imports, exports and re-exports by country and SITC product group, with year-on-year change. Track HK trade with China, the US and more. Export to CSV, Excel or JSON.
Pricing
Pay per usage
Rating
0.0
(0)
Developer
Pulse Data
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
4 days ago
Last modified
Categories
Share
Hong Kong Trade Statistics API (C&SD) — HK Trade Pulse
Get Hong Kong's official external merchandise trade figures — imports, domestic exports, re-exports, total exports and total trade — as clean, analysis-ready rows. Break them down by country/territory and by SITC commodity group, with year-on-year change calculated for you.
Data comes from the Census and Statistics Department's (C&SD) Trade-IDDS API, published on DATA.GOV.HK. No scraping, no logins, no personal data.
What you get
One row per period × trade type × country × commodity:
| Field | Example |
|---|---|
period | 202608 |
tradeType | Total Exports |
countryCode / country | CN / CHINESE MAINLAND |
commodityCode / commodity | 77 / ELECTRICAL MACHINERY… |
valueHkdThousands | 352599371 |
valueYearAgoHkdThousands | value for the same period a year earlier |
yoyChangePct | year-on-year change in % |
source | attribution line |
Export as JSON, CSV, Excel, or pull it through the Apify API.
Typical uses
- Monthly tracking of Hong Kong exports to a given market (e.g. US, Chinese Mainland, ASEAN members).
- Watching a product group — semiconductors (SITC 776), telecoms equipment (SITC 76), electrical machinery (SITC 77).
- Feeding dashboards, research notes or AI agents with the latest official figures on a schedule.
Input
- Trade types — any of imports, domestic exports, re-exports, total exports, total trade.
- Frequency — monthly (default) or annual.
- Months back — defaults to the last 12 published months. Or set a start/end period.
- Countries — C&SD two-letter codes (e.g.
CN,US,JP), orALL. Empty = Hong Kong totals. - Commodity breakdown — none, or SITC 1-, 2- or 3-digit codes.
- Year-on-year — on by default.
FAQ
Is it free? Yes. The Actor itself is free; you only pay Apify's platform usage, which for a typical run is a fraction of a cent.
How current is the data? C&SD publishes each month's figures roughly four to six weeks after the month ends. The Actor checks which month is the latest published and uses it automatically, so a scheduled run always picks up the newest data.
Which country codes should I use? C&SD's two-letter codes, e.g. CN for the Chinese Mainland and US for the United States. Leave the field empty for Hong Kong totals, or use ALL for every trading partner.
What is SITC? The UN's Standard International Trade Classification. One digit is a section (7 = machinery and transport equipment), two digits a division (77 = electrical machinery), three digits a group (776 = semiconductors and integrated circuits).
Can I run it every month automatically? Yes. Create a schedule in Apify (e.g. the 10th of each month) and connect the output to Google Sheets, a webhook, Make, Zapier or your own API client.
Can an AI agent use it? Yes. It works through the Apify API and Apify's MCP server, so assistants and agents can call it with plain inputs like "total exports to the US, last 12 months".
Are the values adjusted? No. They are the published HK$ thousand values at current prices, including C&SD's later revisions if you re-run for an earlier period.
Notes
- Values are in HK$ thousands, as published. C&SD publishes monthly figures with a lag of about a month; the Actor finds the latest published month automatically.
- Figures are as published by C&SD and may be revised by them later. Read C&SD's footnotes for definitions (e.g. re-exports, country of consignment).
- This Actor is not affiliated with or endorsed by the HKSAR Government.
Source and licence
Source: Census and Statistics Department, HKSAR Government — Interactive Data Dissemination Service for Trade Statistics (Trade-IDDS), via DATA.GOV.HK. C&SD states these statistics are free for commercial and non-commercial use, subject to its Intellectual Property Rights Notice. Every output row carries this attribution.