﻿---
schema_version: 1
metadata_language: "zh-Hant"
resource_metadata_source: "en"
dataset_id: "hk-censtatd-trade-idds-trade"
title: "貿易統計網上互動數據發布服務"
publisher: {"id":"hk-censtatd","name":"政府統計處","html_url":"/zh-hant/?publisher=hk-censtatd","markdown_url":"/zh-hant/datasets/index.md?publisher=hk-censtatd"}
categories: [{"id":"commerce-and-industry","name":"工商業","html_url":"/zh-hant/?category=commerce-and-industry","markdown_url":"/zh-hant/datasets/index.md?category=commerce-and-industry"}]
tags: []
resource_count: 2
metadata_modified: "2026-06-29T17:30:21.285296"
update_frequency: "Monthly"
harvest_started: "2026-12-04T22:30:55.537Z"
license: null
source_url: "https://data.gov.hk/tc-data/api/3/action/package_show?id=hk-censtatd-trade-idds-trade"
html_url: "/zh-hant/datasets/hk-censtatd-trade-idds-trade/"
json_url: "/zh-hant/datasets/hk-censtatd-trade-idds-trade.json"
markdown_url: "/zh-hant/datasets/hk-censtatd-trade-idds-trade.md"
---

# 貿易統計網上互動數據發布服務

[← 文字目錄首頁](/zh-hant/index.md)

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

[API 資源](/zh-hant/datasets/hk-censtatd-trade-idds-trade/resources.md?api=true) · [所有資源連結](/zh-hant/datasets/hk-censtatd-trade-idds-trade/resources.md)

[官方詮釋資料紀錄](<https://data.gov.hk/tc-data/api/3/action/package_show?id=hk-censtatd-trade-idds-trade>)

## 簡介

貿易統計網上互動數據發布服務。發布機構：政府統計處。已記錄的資源數量：2。已記錄的資源格式：JSON、XLS。

## API 文件

[API reference](</reference/?api=trade-interactive-data-dissemination-service-trade-idds-api>)

[Source documentation](<https://tradeidds.censtatd.gov.hk/MetadataLink/ApiSpec/API_eng.pdf>)

<details>
<summary>JSON and YAML</summary>

[JSON](</openapi/trade-interactive-data-dissemination-service-trade-idds-api.json>) · [YAML](</openapi/trade-interactive-data-dissemination-service-trade-idds-api.yaml>)

</details>


## 發布機構文件

- Data dictionary — [官方 PDF](<https://tradeidds.censtatd.gov.hk/MetadataLink/ApiSpec/API_eng.pdf>) · [API reference: Trade-Interactive Data Dissemination Service (Trade-IDDS) API](/reference/trade-interactive-data-dissemination-service-trade-idds-api/) (資料集背景)

## 資源

資料集名稱及介紹採用官方繁體中文詮釋資料；資源欄位沿用英文目錄來源的原文，資源內容語言另列。

以下為詮釋資料提供的上游資源連結；本站未驗證資源內容或端點是否可用。

已知資源格式（發布機構詮釋資料）: JSON, XLS. 資源內容語言: en, zh-Hant, zh-Hans.

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

  格式: JSON

  \#\#\#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/>)

  格式: XLS

  原始網址: ` https://tradeidds.censtatd.gov.hk `
