Twinkle HubTwinkle Hub

英國 食品衛生評級搜尋 (FSA FHRS · 60萬家)

uk_search_food_premises

🇬🇧 Royaume-Unilecture seule

關鍵字 / Keywords: 英國 食品 衛生 評級 餐廳 外賣 搜尋 UK food hygiene rating FHRS FSA restaurant takeaway premises council scores

Scope: UK Food Standards Agency · ~600k rated food premises.

Search the Food Hygiene Rating Scheme (England / Wales / NI · 0-5 scale) + FHIS (Scotland · Pass/Fail). Daily-fresh upstream.

Args: name: business name (partial OK · e.g. "McDonalds"). address: address fragment (street / town / postcode). local_authority: council name (e.g. "Camden"). min_rating: only premises rated >= this (0-5) · excludes Scottish Pass/Fail premises when set. limit: max results (default 20, cap 50).

Returns dict with data: [{fhrs_id, name, type, rating, rating_date, address, postcode, local_authority, scheme, scores, url}, ...].

License: OGL v3.

Paramètres

NomTypeDescription
namestring
addressstring
local_authoritystring
min_ratinginteger
limitinteger
Schéma JSON brut
{
  "properties": {
    "name": {
      "default": "",
      "title": "Name",
      "type": "string"
    },
    "address": {
      "default": "",
      "title": "Address",
      "type": "string"
    },
    "local_authority": {
      "default": "",
      "title": "Local Authority",
      "type": "string"
    },
    "min_rating": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "title": "Min Rating"
    },
    "limit": {
      "default": 20,
      "title": "Limit",
      "type": "integer"
    }
  },
  "title": "uk_search_food_premisesArguments",
  "type": "object"
}

Comment appeler

Amorce — paramètres dans le tableau
uk_search_food_premises({ name: "…" })