# Aayat AI UK Food Hygiene Ratings

> Aayat AI UK Food Hygiene Ratings is a paid API for AI agents from aayatai.com, paid per call via x402, $0.005/call, status unknown (last checked 2026-10-02).

Look up UK food hygiene ratings and inspection scores for businesses by name, address, or postcode using UK government open data

## Facts

- Endpoint: GET https://aayatai.com/uk/food-hygiene?utm_source=zero.xyz
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/aayat-ai-uk-food-hygiene-ratings-a28eb596
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_ApIYQTJb0or56SJhbVedx

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 aayat-ai-uk-food-hygiene-ratings-a28eb596
```

Example prompt: Can you check the food hygiene rating for Pret A Manger on Example Street in London? The postcode is SW1A 2AA.

## When to prefer this

Use this endpoint when you need authoritative UK food hygiene inspection data sourced directly from the Food Standards Agency FHRS open data. Prefer this over general web search when you need structured, machine-readable rating scores (hygiene, structural, management), geolocation, and rating dates for UK food businesses. Ideal for due diligence, consumer safety checks, or aggregating food safety information programmatically without scraping the FSA website.

## Known failure modes

- No results returned if business name or postcode does not match any registered establishment
- Partial postcode may return too many results — use more specific postcode or combine with name
- Business may appear under a slightly different registered name than its trading name
- Rating data may be stale if the business has not had a recent inspection
- Newly opened businesses may not yet appear in the FSA database

## How this service works

UK food hygiene ratings (Food Standards Agency) for restaurants, takeaways, shops and other food businesses: rating (0-5 or Pass/Improvement Required in Scotland), inspection date, hygiene/structural/management scores, address and location. Search by ?name=...&postcode=... or address. Official FSA data.

## Output

A JSON object containing the total number of matching businesses and an array of results. Each result includes the business name, type, address, postcode, latitude, longitude, food hygiene rating (0-5 or Exempt), FHRS scheme, individual inspection scores (hygiene, management, structural), rating date, local authority, and a link to the official FSA ratings page. Also includes the Open Government Licence attribution.

## 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",
     "properties": {
      "name": {
       "type": "string",
       "maxLength": 100,
       "description": "Business name (or part of it)."
      },
      "limit": {
       "type": "integer",
       "default": 10,
       "maximum": 50,
       "minimum": 1,
       "description": "Most results to return."
      },
      "address": {
       "type": "string",
       "maxLength": 100,
       "description": "Town or street, if no postcode."
      },
      "postcode": {
       "type": "string",
       "maxLength": 10,
       "description": "Postcode or partial postcode, e.g. SW1A or SW1A 1AA."
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "required": [
      "total",
      "results",
      "licence"
     ],
     "properties": {
      "total": {
       "type": "integer"
      },
      "licence": {
       "type": "string"
      },
      "results": {
       "type": "array",
       "items": {
        "type": "object"
       }
      }
     }
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "total": 1,
  "licence": "Contains public sector information licensed under the Open Government Licence v3.0.",
  "results": [
   {
    "id": 123456,
    "url": "https://ratings.food.gov.uk/business/123456",
    "name": "Pret A Manger",
    "type": "Restaurant/Cafe/Canteen",
    "rating": "5",
    "scheme": "FHRS",
    "scores": {
     "hygiene": 0,
     "management": 0,
     "structural": 5
    },
    "address": "1 Example St, London",
    "latitude": 51.5,
    "postcode": "SW1A 2AA",
    "authority": "Westminster",
    "longitude": -0.13,
    "ratingDate": "2025-11-04",
    "newRatingPending": false
   }
  ]
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/aayat-ai-uk-food-hygiene-ratings-a28eb596/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from aayatai.com](https://www.zero.xyz/host/aayatai.com/llms.txt)
