Food Factory Licences (FEHD)
Source
Section titled “Source”Food and Environmental Hygiene Department (FEHD)
- Department URL: https://www.fehd.gov.hk/english/licensing/license/
- CKAN Search:
https://data.gov.hk/en-data/api/3/action/package_search?q=food+factory+licence
Format
Section titled “Format”XML Updated periodically. No authentication required.
~2,000+
Licensed Factories
XML
Format
Monthly
Update Frequency
Schema / Fields
Section titled “Schema / Fields”Fields follow the same FEHD licence schema as restaurant licences:
| Field | Type | Example | Description |
|---|---|---|---|
TYPE | string | FF | Licence type: FF (Food Factory) |
DIST | integer | 7 | FEHD district code |
SS | string | Hong Kong Bakery Ltd. | Business name |
ADR | string | Unit 5, 3/F, Yip On Factory Building... | Full address |
Fields verified via CKAN metadata and FEHD XML schema pattern.
Example API Call
Section titled “Example API Call”# Search CKAN for the datasetcurl "https://data.gov.hk/en-data/api/3/action/package_search?q=food+factory+licence&rows=5"
# Direct FEHD feed (verify current URL from CKAN result)curl -o food_factories.xml \ "https://www.fehd.gov.hk/english/licensing/license/text/LP_FoodFactory_EN.XML"Example Response
Section titled “Example Response”{ "success": true, "result": { "count": 2, "results": [ { "title": "List of Food Factory Licences", "resources": [ { "format": "XML", "url": "https://www.fehd.gov.hk/english/licensing/license/text/LP_FoodFactory_EN.XML" } ] } ] }}Used By
Section titled “Used By”| Model | How |
|---|---|
| Site Rating | Industrial food production density as proxy for supply chain access |
| Competition Analysis | Central kitchens near site indicate shared supplier competition |
Notes / Gotchas
Section titled “Notes / Gotchas”- Same geocoding limitation as restaurant licences: no coordinates in raw feed
- District codes match FEHD internal system, not Census districts
- Cross-reference with restaurant licences to identify vertically integrated operators