﻿# Interactive Data Dissemination Service for Trade Statistics

[← Text catalogue home](/index.md)

[HTML](/datasets/hk-censtatd-trade-idds-trade/) · [JSON](/datasets/hk-censtatd-trade-idds-trade.json) · [Markdown](/datasets/hk-censtatd-trade-idds-trade.md)

- ID: ` hk-censtatd-trade-idds-trade `
- Publisher: [Census and Statistics Department](/publishers/88e98d98-89b0-437d-a95a-1dd00ba44454/) · [Markdown](/publishers/88e98d98-89b0-437d-a95a-1dd00ba44454/index.md)
- Categories: [Commerce and Industry](/categories/commerce-and-industry/) · [Markdown](/categories/commerce-and-industry/index.md)
- Tags: Not stated
- Resources: 2
- Updated: 2026-06-29T17:30:21.009941
- Update frequency (publisher metadata): Monthly
- Harvest started: 2026-10-20T22:31:00.105Z
- Licence: Not stated
- Source: [Official metadata record](<https://data.gov.hk/en-data/api/3/action/package_show?id=hk-censtatd-trade-idds-trade>)

Harvest started is the source harvest start associated with this record, not its precise retrieval time. Updated is an upstream metadata claim.

## Description

Interactive Data Dissemination Service for Trade Statistics

## Resources

These are upstream resource links from metadata. Resource contents and endpoint availability have not been verified here.

### [Interactive Data Dissemination Service for Trade Statistics - API Enquiry](<https://tradeidds.censtatd.gov.hk/api/get>)

- Resource ID: ` 173a8d40-24ff-4e8e-b9f2-456b20208fa4 `
- Format: JSON
- Language: en, zh-Hant, zh-Hans
- Updated: 2026-06-29T17:30:21.019463
- API flag (publisher metadata): Y
- Original URL: ` https://tradeidds.censtatd.gov.hk/api/get `

\#\#\#Data Request Format: HTTP GET request method  
     https://tradeidds\.censtatd\.gov\.hk/api/get?lang\=&lt;param&gt;&amp;sv\=&lt;param,\.\.\.&gt;&amp;freq\=&lt;param&gt;&amp;period\=&lt;start,end&gt;&amp;ttype\=&lt;param&gt;&amp;tm\=&lt;param&gt;&amp;coclass\=&lt;param&gt;&amp;co\=&lt;param,\.\.\.&gt;&amp;ccclass\=&lt;param&gt;&amp;cc\=&lt;param,\.\.\.&gt;&amp;codeclass\=&lt;param&gt;&amp;code\=&lt;param,\.\.\.&gt;  
For annual data:  
\[https://tradeidds\.censtatd\.gov\.hk/api/bb6578c6535a4269b76c5e7034a3b337/get?lang\=en&amp;sv\=VCy&amp;freq\=A&amp;period\=2015,2017&amp;ttype\=ALL\]\(https://tradeidds\.censtatd\.gov\.hk/api/bb6578c6535a4269b76c5e7034a3b337/get?lang\=en&amp;sv\=VCy&amp;freq\=A&amp;period\=2015,2017&amp;ttype\=ALL\)  
  
For monthly data:  
\[https://tradeidds\.censtatd\.gov\.hk/api/df5eaaf5f7fb498397408c731c5823e6/get?lang\=en&amp;sv\=VCm&amp;freq\=M&amp;period\=201501,201712&amp;ttype\=ALL\]\(https://tradeidds\.censtatd\.gov\.hk/api/df5eaaf5f7fb498397408c731c5823e6/get?lang\=en&amp;sv\=VCm&amp;freq\=M&amp;period\=201501,201712&amp;ttype\=ALL\)  
\#\#\#Query string parameters:  
\- \*\*lang\*\*: Language for the descriptions in the Data Response \(JSON\)\. Mandatory\. One value only\. Valid values are:  
    \- \*\*EN\*\*: English  
    \- \*\*TC\*\*: Traditional Chinese  
    \- \*\*SC\*\*: Simplified Chinese  
\- \*\*sv\*\*: Statistics\. Mandatory\. Allow multiple values \(e\.g\. sv\=VCm,VCy\)\. Valid values are:  
    \- \*\*VCm\*\*: Value \(Monthly\)  
    \- \*\*QCm\*\*: Quantity \(Monthly\)  
    \- \*\*VCy\*\*: Value \(Annual/Year\-to\-date\)  
    \- \*\*QCy\*\*: Quantity \(Annual/Year\-to\-date\)  
\- \*\*freq\*\*: Frequency\. Mandatory\. One value only\. Valid values are:  
    \- \*\*A\*\*: Annual  
    \- \*\*M\*\*: Monthly  
\- \*\*period\*\*: Period\. Mandatory\. Range of values \(e\.g\. period\=2015,2017 queries for Year 2015 to 2017\)\. Valid value formats are:  
    \- \*\*\_YYYY,YYYY\_\*\*: For Annual, e\.g\. 2015,2017  
    \- \*\*\_YYYYMM,YYYYMM\_\*\*: For Monthly, e\.g\. 201701,201712  
\- \*\*ttype\*\*: Trade Type\. Mandatory\. One value only\. Valid values are:  
    \- \*\*1\*\*: Imports  
    \- \*\*2\*\*: Domestic exports  
    \- \*\*3\*\*: Re\-exports  
    \- \*\*4\*\*: Total exports  
    \- \*\*5\*\*: Total trade  
    \- \*\*ALL\*\*: All  
\- \*\*tm\*\*: Transport Mode\. Optional\. One value only\. Nil is default or unspecified\. Valid value is:  
    \- \*\*Y\*\*: Yes  
\- \*\*coclass\*\*: Origin class\. Optional\. One value only\. Nil is default or unspecified\. Valid values are:  
    \- \*\*R\*\*: Region  
    \- \*\*C\*\*: Country/Territory  
\- \*\*co\*\*: Origin\. Optional\. Allow multiple values \(e\.g\. co\=CN,US\)\. Nil is default or unspecified\.  
    \- Refer to Annex 1 of the \[Documentation\]\(https://tradeidds\.censtatd\.gov\.hk/MetadataLink/ApiSpec/API\_eng\.pdf\) for valid values\.  
\- \*\*ccclass\*\*: Consignment class\. Optional\. One value only\. Nil is default or unspecified\. Valid values are:  
    \- \*\*R\*\*: Region  
    \- \*\*C\*\*: Country/Territory  
\- \*\*cc\*\*: Consignment\. Optional\. Allow multiple values \(e\.g\. cc\=CN,US\)\. Nil is default or unspecified\.  
    \- Refer to Annex 1 of the \[Documentation\]\(https://tradeidds\.censtatd\.gov\.hk/MetadataLink/ApiSpec/API\_eng\.pdf\) for valid values\.  
\- \*\*codeclass\*\*: Commodity Classification\. Optional\. One value only\. Nil is default or unspecified\. Valid values are:  
    \- HKHS  
        \- \*\*HKHS2\*\*: 2\-digit \(division\)  
        \- \*\*HKHS4\*\*: 4\-digit \(heading\)  
        \- \*\*HKHS6\*\*: 6\-digit \(subheading\)  
        \- \*\*HKHS8\*\*: 8\-digit \(code\)  
    \- SITC  
        \- \*\*SITC1\*\*: 1\-digit \(section\)  
        \- \*\*SITC2\*\*: 2\-digit \(division\)  
        \- \*\*SITC3\*\*: 3\-digit \(group\)  
        \- \*\*SITC5\*\*: 5\-digit \(item\)  
    \- EUC  
        \- \*\*EUC\*\*: End\-Use Category  
\- \*\*code\*\*: Commodity codes\. Optional\. Allow multiple values \(e\.g\. code\=06,07\)\. Nil is default or unspecified\.  
    \- For HKHS and SITC, refer to Annex 2 of the \[Documentation\]\(https://tradeidds\.censtatd\.gov\.hk/MetadataLink/ApiSpec/API\_eng\.pdf\) for valid values\. Max 20\.  
    \- For EUC, no need to specify\.  
\#\#\#HTTP Response:  
\- The response is encoded in UTF\-8  
\- Refer to the \[Documentation\]\(https://tradeidds\.censtatd\.gov\.hk/MetadataLink/ApiSpec/API\_eng\.pdf\) for details\.

### [Interactive Data Dissemination Service for Trade Statistics](<https://tradeidds.censtatd.gov.hk/>)

- Resource ID: ` fd3ee900-77d2-4218-ae19-f02005893a31 `
- Format: XLS
- Language: en, zh-Hant, zh-Hans
- Updated: 2026-06-29T17:30:20.033877
- API flag (publisher metadata): N
- Original URL: ` https://tradeidds.censtatd.gov.hk `

Interactive Data Dissemination Service for Trade Statistics

## Specifications (source links)

### Publisher documentation

- [Data dictionary](<https://tradeidds.censtatd.gov.hk/MetadataLink/ApiSpec/API_eng.pdf>) — source-linked; Dataset: data\_dictionary

Original links supplied in publisher metadata. A source link does not mean that document content is hosted, parsed or verified here; any hosted extraction and its review scope are listed separately below.


Upstream metadata associations only; these links do not validate individual resources or document sections. No extracted document body is hosted here.

## Document availability

Parsed specifications and data dictionaries: not available for this dataset. [Document availability](/documents.md).
