# UK Food Hygiene Ratings Lookup

> UK Food Hygiene Ratings Lookup is a paid API for AI agents from uk-food-hygiene.agent-fee-check.workers.dev, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-10).

Retrieves live UK Food Standards Agency hygiene ratings for food businesses by postcode or business name, including scores, inspection dates, and summary statistics.

## Facts

- Endpoint: GET https://uk-food-hygiene.agent-fee-check.workers.dev/ratings?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-10
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/uk-food-hygiene-ratings-lookup-bd09a1af
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_1sDRK-gx2mrH6jkUC017x

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability uk-food-hygiene-ratings-lookup-bd09a1af
```

Example prompt: What's the food hygiene rating for Pizza Palace in Manchester? Also give me the inspection date and score breakdown.

## When to prefer this

Use this endpoint when you need live, authoritative UK food hygiene rating data sourced directly from the Food Standards Agency. It is the right choice when you have a UK postcode or a food business name (optionally with town) and need structured ratings, scores, and inspection history — particularly for due diligence, compliance checking, consumer safety queries, or local food business discovery. Prefer this over general web search when you need structured, parseable rating data with score breakdowns rather than unstructured text.

## Known failure modes

- No matching establishments found — returns empty list and zero count, not charged
- Invalid or unrecognised UK postcode format — may return no results or an error
- Ambiguous business name with no town specified — may return many unrelated results
- FSA upstream API unavailable — live fetch may fail with a service error
- Business name spelling mismatch — results may be empty if name does not closely match FSA records

## How this service works

UK food hygiene ratings from the Food Standards Agency, fetched live. Give a postcode, or a business name with an optional town; get each food business with its rating (0-5, or Scotland pass/improvement), inspection date, score breakdown, business type, address and council, plus the average and lowest rating. Use for checking restaurants, takeaways and food suppliers, due diligence and local prospecting. Not charged when nothing matches.

## Output

Returns a list of matching food establishments with their hygiene rating (0–5 numeric or Scotland pass/improvement required), last inspection date, detailed score breakdown, business type, full address, and responsible local council. Also includes aggregate statistics: total match count, average rating across results, and the lowest-rated establishment. A plain-English summary string is included. Returns an empty result set (not charged) when no businesses match the query.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [],
     "properties": {
      "name": {
       "type": "string",
       "description": "Business name, 2 to 100 characters"
      },
      "location": {
       "type": "string",
       "description": "Optional town or area with name"
      },
      "postcode": {
       "type": "string",
       "description": "Full UK postcode (or use name)"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "count": 3,
  "query": {
   "postcode": "LU6 3BS"
  },
  "summary": "3 food businesses for LU6 3BS, average rating 5 out of 5.",
  "lowest_rated": {
   "name": "Lucky Corner",
   "rating": "5",
   "rating_date": "2025-02-20"
  },
  "retrieved_at": "2026-10-11T18:16:44.590Z",
  "total_matches": 3,
  "average_rating": 5,
  "establishments": [
   {
    "name": "Lucky Corner",
    "fsa_id": 958300,
    "rating": "5",
    "scheme": "FHRS",
    "scores": {
     "hygiene": 5,
     "structural": 5,
     "confidence_in_management": 0
    },
    "address": "54 Langdale Road, Dunstable, Beds",
    "postcode": "LU6 3BS",
    "rating_date": "2025-02-20",
    "business_type": "Takeaway/sandwich shop",
    "rating_numeric": 5,
    "local_authority": "Central Bedfordshire",
    "new_rating_pending": false
   },
   {
    "name": "Ocean Breeze",
    "fsa_id": 576950,
    "rating": "5",
    "scheme": "FHRS",
    "scores": {
     "hygiene": 0,
     "structural": 5,
     "confidence_in_management": 5
    },
    "address": "58 Langdale Road, Dunstable, Bedfordshire",
    "postcode": "LU6 3BS",
    "rating_date": "2025-02-11",
    "business_type": "Takeaway/sandwich shop",
    "rating_numeric": 5,
    "local_authority": "Central Bedfordshire",
    "new_rating_pending": false
   }
  ]
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/uk-food-hygiene-ratings-lookup-bd09a1af/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from uk-food-hygiene.agent-fee-check.workers.dev](https://www.zero.xyz/host/uk-food-hygiene.agent-fee-check.workers.dev/llms.txt)
