{"uid":"cap_O2NYbqyMYV2Gg1pBnD8oj","slug":"uk-food-hygiene-ratings-lookup-78157d21","name":"UK Food Hygiene Ratings Lookup","description":"UK public data for AI agents, one origin, pay per call: a one-call postcode report, street crime, live flood warnings, property sales and the House Price Index, food hygiene ratings, MP lookup, NHS GPs, pharmacies and dentists, Companies House checks and search, UK working days and bank holidays, and the cheapest card machine provider. Official sources, attribution in every answer, free preview in every 402, failed requests never charged.","url":"https://uk-data.agent-fee-check.workers.dev/food?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"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 give name)"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"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}]}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.003","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.003/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_K4qX600kn7rwqfdZJrkzU","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.003","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Looks up FSA food hygiene ratings for UK businesses by name, postcode, or location, returning scores and inspection details for each establishment.","exampleAgentPrompt":"Can you check the FSA food hygiene rating for takeaways on Langdale Road, Dunstable, postcode LU6 3BS — I want to see the hygiene and structural scores for each one?","exampleUseCases":[{"title":"Pre-dining hygiene check","prompt":"Before I book a table, can you look up the food hygiene rating for Nando's in Manchester city centre? I want to see the FSA scores and when they were last inspected."},{"title":"Area food safety overview","prompt":"I'm moving to Bristol BS1 4RN — can you pull all the food hygiene ratings for businesses in that postcode so I know which places to avoid?"},{"title":"Business compliance verification","prompt":"We need to verify the FSA food hygiene rating for Ocean Breeze takeaway in Dunstable LU6 3BS before listing them as a partner supplier — can you check their current rating and scores?"}],"resultDescription":"Returns a JSON object with a count of matched establishments, a plain-English summary (e.g. '3 businesses, average rating 5/5'), the lowest-rated business, and a full list of establishments each with: name, FSA ID, hygiene rating (0–5 or Exempt/Awaiting), scheme (FHRS/FHIS), sub-scores for hygiene/structural/confidence-in-management, full address, postcode, rating date, business type, local authority, and whether a new rating is pending.","failureModes":["No businesses found for the given postcode or name — returns empty establishments array","Invalid or malformed postcode — may return 0 results or an error","Business name too short (under 2 chars) or too long (over 100 chars) — validation error","Ambiguous name without location may return too many unrelated results","FSA upstream service unavailable — upstream error propagated","Payment not made — 402 response with free preview data included"],"whenToPreferThis":"Use this endpoint when you need official UK Food Standards Agency hygiene ratings for one or more food businesses, searchable by postcode, business name, or area. Prefer it over generic web scraping when you need structured scores (hygiene, structural, confidence-in-management), official attribution, and reliable per-establishment detail in a single call. Ideal for consumer safety checks, supplier vetting, or area overviews of food safety compliance.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-12T12:38:17.294Z","isFirstParty":false,"canonicalSlug":"uk-food-hygiene-ratings-lookup-78157d21"}