21trust / 100
Uk Food Hygiene
by Aayat AI in Weather & location
x402 APIFailing, checked 3 h ago
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.
GET https://aayatai.com/uk/food-hygiene
Last 30 days
All checks passedSome failedAll failedNot checked
- Uptime
- 6.7%
- Response time
- 927 ms typical, 927 ms slowest 5%
- Last check
- 3 h ago: Expected HTTP 402, got 410
- Next check
- any minute now
How to call it
# See the payment challenge (nothing is charged)
curl -i -X GET "https://aayatai.com/uk/food-hygiene?name=Pret&postcode=SW1A"import { wrapFetchWithPayment } from "@x402/fetch";
import { x402Client } from "@x402/core/client";
import { ExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";
const client = new x402Client().register(
"eip155:8453",
new ExactEvmScheme(privateKeyToAccount(process.env.AGENT_KEY)),
);
const pay = wrapFetchWithPayment(fetch, client);
// Not sure it's safe to pay? Preflight it first for $0.005:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Faayatai.com%2Fuk%2Ffood-hygiene
const res = await pay("https://aayatai.com/uk/food-hygiene?name=Pret&postcode=SW1A");
console.log(await res.json());Example input
{
"name": "Pret",
"postcode": "SW1A"
}Example output
{
"licence": "Contains public sector information licensed under the Open Government Licence v3.0.",
"results": [
{
"address": "1 Example St, London",
"authority": "Westminster",
"id": 123456,
"latitude": 51.5,
"longitude": -0.13,
"name": "Pret A Manger",
"newRatingPending": false,
"postcode": "SW1A 2AA",
"rating": "5",
"ratingDate": "2025-11-04",
"scheme": "FHRS",
"scores": {
"hygiene": 0,
"management": 0,
"structural": 5
},
"type": "Restaurant/Cafe/Canteen",
"url": "https://ratings.food.gov.uk/business/123456"
}
],
"total": 1
}Security scan
- No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.
Recent checks
| When | Result | HTTP | Time | Price |
|---|---|---|---|---|
| 3 h ago | Expected HTTP 402, got 410 | 410 | 116 ms | - |
| 8 h ago | Expected HTTP 402, got 410 | 410 | 132 ms | - |
| 12 h ago | Expected HTTP 402, got 410 | 410 | 42 ms | - |
| 16 h ago | Expected HTTP 402, got 410 | 410 | 111 ms | - |
| 20 h ago | Expected HTTP 402, got 410 | 410 | 36 ms | - |
| 24 h ago | Expected HTTP 402, got 410 | 410 | 36 ms | - |
| 28 h ago | Expected HTTP 402, got 410 | 410 | 37 ms | - |
| 33 h ago | Expected HTTP 402, got 410 | 410 | 38 ms | - |
| 36 h ago | Expected HTTP 402, got 410 | 410 | 195 ms | - |
| 41 h ago | Expected HTTP 402, got 410 | 410 | 38 ms | - |
| 45 h ago | Expected HTTP 402, got 410 | 410 | 238 ms | - |
| 2 days ago | Expected HTTP 402, got 410 | 410 | 35 ms | - |
| 2 days ago | Expected HTTP 402, got 410 | 410 | 38 ms | - |
| 2 days ago | Expected HTTP 402, got 410 | 410 | 57 ms | - |
| 3 days ago | Passed | 402 | 927 ms | $0.005 |