CKAN API

The DATA.GOV.HK catalogue is powered by CKAN, a powerful open source data portal software that includes a robust API which serves metadata about datasets. The metadata includes URLs and descriptions of dataset.

The full CKAN API documentation is available at http://docs.ckan.org/en/latest/api/index.html. The CKAN API endpoint prefixes in DATA.GOV.HK are:

The responses are in JSON format.

Examples

https://data.gov.hk/en-data/api/3/action/package_list
https://data.gov.hk/tc-data/api/3/action/package_show?id=hk-td-tis-traffic-snapshot-images
https://data.gov.hk/en-data/api/3/action/group_list
https://data.gov.hk/sc-data/api/3/action/group_show?id=environment