{"help": "https://data.gov.hk/en-data/api/3/action/help_show?name=package_show", "success": true, "result": {"author": null, "author_email": null, "creator_user_id": "77dc1126-bc02-45e6-a89b-bf2c5ae85737", "data_dictionary": "https://tradeidds.censtatd.gov.hk/MetadataLink/ApiSpec/API_eng.pdf", "id": "d58caf8c-7958-4e3c-870d-03c166e338e0", "isopen": false, "license_id": null, "license_title": null, "maintainer": "Trade Analysis Section, Census and Statistics Department", "maintainer_email": "trade@censtatd.gov.hk", "maintainer_phone": "(852) 3863 2596", "metadata_created": "2021-07-02T04:14:43.210523", "metadata_modified": "2026-06-29T17:30:21.009941", "name": "hk-censtatd-trade-idds-trade", "notes": "Interactive Data Dissemination Service for Trade Statistics", "num_resources": 2, "num_tags": 0, "organization": {"id": "88e98d98-89b0-437d-a95a-1dd00ba44454", "name": "hk-censtatd", "title": "Census and Statistics Department", "type": "organization", "description": "", "image_url": "https://data.gov.hk/filestore/provider-images/hk-censtatd.png", "created": "2021-07-02T10:54:44.837117", "is_organization": true, "approval_status": "approved", "state": "active"}, "owner_org": "88e98d98-89b0-437d-a95a-1dd00ba44454", "private": false, "state": "active", "title": "Interactive Data Dissemination Service for Trade Statistics", "type": "dataset", "update_frequency": "Monthly", "url": null, "version": null, "groups": [{"description": "", "display_name": "Commerce and Industry", "id": "7632b17c-87f4-47c9-b5e2-67ab465752cb", "image_display_url": "", "name": "commerce-and-industry", "title": "Commerce and Industry"}], "resources": [{"cache_last_updated": null, "cache_url": null, "created": "2026-06-29T17:30:20.046092", "dateCreated": "2018-03-07", "datePublished": "2018-03-07", "description": "Interactive Data Dissemination Service for Trade Statistics", "format": "XLS", "hash": "", "id": "fd3ee900-77d2-4218-ae19-f02005893a31", "inLanguage": "en, zh-Hant, zh-Hans", "is_api": "N", "last_modified": null, "metadata_modified": "2026-06-29T17:30:20.033877", "mimetype": null, "mimetype_inner": null, "name": "Interactive Data Dissemination Service for Trade Statistics", "package_id": "d58caf8c-7958-4e3c-870d-03c166e338e0", "position": 0, "resource_type": null, "shared_id": "338a191473e011f1a80e0a58c0a81aaf", "size": null, "state": "active", "url": "https://tradeidds.censtatd.gov.hk", "url_type": null}, {"cache_last_updated": null, "cache_url": null, "created": "2026-06-29T17:30:21.025670", "dateCreated": "2018-11-15", "datePublished": "2018-12-14", "description": "###Data Request Format: HTTP GET request method\n     https://tradeidds.censtatd.gov.hk/api/get?lang=<param>&sv=<param,...>&freq=<param>&period=<start,end>&ttype=<param>&tm=<param>&coclass=<param>&co=<param,...>&ccclass=<param>&cc=<param,...>&codeclass=<param>&code=<param,...>\nFor annual data:\n[https://tradeidds.censtatd.gov.hk/api/bb6578c6535a4269b76c5e7034a3b337/get?lang=en&sv=VCy&freq=A&period=2015,2017&ttype=ALL](https://tradeidds.censtatd.gov.hk/api/bb6578c6535a4269b76c5e7034a3b337/get?lang=en&sv=VCy&freq=A&period=2015,2017&ttype=ALL)\n\nFor monthly data:\n[https://tradeidds.censtatd.gov.hk/api/df5eaaf5f7fb498397408c731c5823e6/get?lang=en&sv=VCm&freq=M&period=201501,201712&ttype=ALL](https://tradeidds.censtatd.gov.hk/api/df5eaaf5f7fb498397408c731c5823e6/get?lang=en&sv=VCm&freq=M&period=201501,201712&ttype=ALL)\n###Query string parameters:\n- **lang**: Language for the descriptions in the Data Response (JSON). Mandatory. One value only. Valid values are:\n    - **EN**: English\n    - **TC**: Traditional Chinese\n    - **SC**: Simplified Chinese\n- **sv**: Statistics. Mandatory. Allow multiple values (e.g. sv=VCm,VCy). Valid values are:\n    - **VCm**: Value (Monthly)\n    - **QCm**: Quantity (Monthly)\n    - **VCy**: Value (Annual/Year-to-date)\n    - **QCy**: Quantity (Annual/Year-to-date)\n- **freq**: Frequency. Mandatory. One value only. Valid values are:\n    - **A**: Annual\n    - **M**: Monthly\n- **period**: Period. Mandatory. Range of values (e.g. period=2015,2017 queries for Year 2015 to 2017). Valid value formats are:\n    - **_YYYY,YYYY_**: For Annual, e.g. 2015,2017\n    - **_YYYYMM,YYYYMM_**: For Monthly, e.g. 201701,201712\n- **ttype**: Trade Type. Mandatory. One value only. Valid values are:\n    - **1**: Imports\n    - **2**: Domestic exports\n    - **3**: Re-exports\n    - **4**: Total exports\n    - **5**: Total trade\n    - **ALL**: All\n- **tm**: Transport Mode. Optional. One value only. Nil is default or unspecified. Valid value is:\n    - **Y**: Yes\n- **coclass**: Origin class. Optional. One value only. Nil is default or unspecified. Valid values are:\n    - **R**: Region\n    - **C**: Country/Territory\n- **co**: Origin. Optional. Allow multiple values (e.g. co=CN,US). Nil is default or unspecified.\n    - Refer to Annex 1 of the [Documentation](https://tradeidds.censtatd.gov.hk/MetadataLink/ApiSpec/API_eng.pdf) for valid values.\n- **ccclass**: Consignment class. Optional. One value only. Nil is default or unspecified. Valid values are:\n    - **R**: Region\n    - **C**: Country/Territory\n- **cc**: Consignment. Optional. Allow multiple values (e.g. cc=CN,US). Nil is default or unspecified.\n    - Refer to Annex 1 of the [Documentation](https://tradeidds.censtatd.gov.hk/MetadataLink/ApiSpec/API_eng.pdf) for valid values.\n- **codeclass**: Commodity Classification. Optional. One value only. Nil is default or unspecified. Valid values are:\n    - HKHS\n        - **HKHS2**: 2-digit (division)\n        - **HKHS4**: 4-digit (heading)\n        - **HKHS6**: 6-digit (subheading)\n        - **HKHS8**: 8-digit (code)\n    - SITC\n        - **SITC1**: 1-digit (section)\n        - **SITC2**: 2-digit (division)\n        - **SITC3**: 3-digit (group)\n        - **SITC5**: 5-digit (item)\n    - EUC\n        - **EUC**: End-Use Category\n- **code**: Commodity codes. Optional. Allow multiple values (e.g. code=06,07). Nil is default or unspecified.\n    - 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.\n    - For EUC, no need to specify.\n###HTTP Response:\n- The response is encoded in UTF-8\n- Refer to the [Documentation](https://tradeidds.censtatd.gov.hk/MetadataLink/ApiSpec/API_eng.pdf) for details.", "format": "JSON", "hash": "", "id": "173a8d40-24ff-4e8e-b9f2-456b20208fa4", "inLanguage": "en, zh-Hant, zh-Hans", "is_api": "Y", "last_modified": null, "metadata_modified": "2026-06-29T17:30:21.019463", "mimetype": null, "mimetype_inner": null, "name": "Interactive Data Dissemination Service for Trade Statistics - API Enquiry", "package_id": "d58caf8c-7958-4e3c-870d-03c166e338e0", "position": 1, "resource_type": null, "shared_id": "3422877673e011f1a80e0a58c0a81aaf", "size": null, "state": "active", "url": "https://tradeidds.censtatd.gov.hk/api/get", "url_type": null}], "tags": [], "relationships_as_subject": [], "relationships_as_object": []}}