---
id: "gb_fhrs_id"
kind: "datatype"
status: "draft"
is_pii: false
categories: ["agriculture", "companies"]
country: ["GB"]
langs: ["common"]
quality: 90
url: "https://registry.apicrafter.io/datatype/gb_fhrs_id"
---

# UK Food Hygiene Rating Scheme establishment ID (FHRSID) (`gb_fhrs_id`)

> **Draft.** Draft records have not been reviewed yet and may be incomplete or wrong; do not treat them as authoritative for legal or compliance decisions.

Numeric identifier of a food business establishment in the food hygiene ratings open data and API of the UK Food Standards Agency, covering the Food Hygiene Rating Scheme (England, Wales, Northern Ireland) and the Food Hygiene Information Scheme (Scotland). It is used in the address ratings.food.gov.uk/business/<id>.

- Personal data (PII): no
- Categories: Agriculture, livestock and food (agriculture), Companies/business/organizations (companies)
- Countries: United Kingdom (GB)
- Languages: Common to most languages (common)
- Classification: identifier

## Detection

Regular expression (Python `re`):

```
^[1-9]\d{0,7}$
```

## Examples

- `544099` — The Fat Duck; Wikidata example
- `1610312` — Jamaica Inn; Wikidata example
- `1916465` — Establishment in Westminster rated 5
- `0544099` (invalid example) — Leading zero

## Mappings

- wikidata: `P12523`

## Translations

- ru: Идентификатор предприятия в рейтинге гигиены питания Великобритании (FHRSID): Числовой идентификатор предприятия общественного питания или торговли продуктами в открытых данных рейтинга гигиены питания Агентства по пищевым стандартам Великобритании (FSA).

## Sources

- doc: <https://api.ratings.food.gov.uk/help>
- doc: <https://ratings.food.gov.uk/open-data>
- wikidata: <https://www.wikidata.org/wiki/Property:P12523>

## Quality

Score 90/100. Missing: detector coverage.

JSON: <https://registry.apicrafter.io/api/v1/datatypes/gb_fhrs_id.json> · Edit: <https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/GB/agriculture/gb_fhrs_id.yaml>
