# UK Food Hygiene Ratings Lookup

> UK Food Hygiene Ratings Lookup is a paid API for AI agents from 2s.io, paid per call via x402, $0.001/call, status unknown (last checked 2026-10-12).

Search UK food business hygiene ratings from the Food Standards Agency by business name, postcode, or area

## Facts

- Endpoint: GET https://2s.io/api/food/hygiene-uk?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-12
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/uk-food-hygiene-ratings-lookup-7e89e889
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_RM0AOwPguQEOmZHoP9bIX

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-7e89e889
```

Example prompt: What's the food hygiene rating for Greggs near EC1A 1AA — can you show me up to 5 results including their hygiene, structural, and management scores?

## When to prefer this

Use this endpoint when you need authoritative, government-sourced UK food hygiene rating data for one or more food businesses. Ideal for restaurant discovery workflows where safety ratings matter, compliance checks, or consumer-facing apps that display FHRS scores. Prefer this over scraping or third-party food review sites when ground-truth FSA data is required. Best for UK-specific queries — not applicable to food safety data in other countries.

## Known failure modes

- No results found if name or postcode does not match any registered establishment
- Partial postcode may return too many results; use limit parameter to cap
- Stale data if FSA upstream has not yet published a recent inspection
- Invalid query parameters (e.g. limit outside 1-50) may cause error or default behavior
- Business may exist but not yet have a rating if newly registered

## How this service works

UK Food Standards Agency food hygiene ratings (FHRS) for an establishment. Search by business name and/or postcode and get matching establishments with their hygiene rating (0-5 in England/Wales/NI; Pass / Improvement Required in Scotland), rating date, the three component scores (hygiene, structural, confidence in management — lower is better), business type, local authority, full address + postcode, and geocode. Free, Open Government Licence (commercial use permitted). Authoritative inspection data an LLM cannot recall — for food, hospitality, and consumer-safety agents.

## Output

Returns a list of matched UK food establishments (up to 50), each with their FHRS ID, full address, lat/lon, postcode, business type, local authority, rating date, overall rating value (e.g. '5'), and individual component scores for hygiene, structural, and management. Also includes total result count and source/license metadata from the Food Standards Agency.

## 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",
    "queryParams"
   ],
   "properties": {
    "type": {
     "const": "http"
    },
    "method": {
     "const": "GET"
    },
    "queryParams": {
     "properties": {
      "name": {
       "type": "string",
       "description": "Business name (partial)."
      },
      "limit": {
       "type": "integer",
       "description": "Max establishments (1-50, default 10)."
      },
      "postcode": {
       "type": "string",
       "description": "Postcode or area (partial)."
      }
     }
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/uk-food-hygiene-ratings-lookup-7e89e889/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from 2s.io](https://www.zero.xyz/host/2s.io/llms.txt)
