{"uid":"cap_vQEg_YKCXTKCNZNWWMZTF","slug":"uk-food-hygiene-ratings-by-postcode-fdbe4634","name":"UK Food Hygiene Ratings by Postcode","description":"Food hygiene ratings for food businesses at a UK postcode from the Food Standards Agency: business name and type, address, rating and the date of the inspection it is based on, as JSON.","url":"https://pennydatahq.com/api/food-hygiene/:postcode?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"},"pathParams":{"type":"object","required":["postcode"],"properties":{"postcode":{"type":"string","description":"Full UK postcode, with or without the space, any case."}}},"queryParams":{"type":"object","properties":{}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","required":["postcode","count","establishments"],"properties":{"count":{"type":"integer"},"postcode":{"type":"string"},"establishments":{"type":"array","items":{"type":"object","properties":{"rating":{"type":["string","null"],"description":"0 to 5, Exempt, AwaitingInspection, Pass, Improvement Required, and others"},"scheme":{"type":["string","null"],"description":"FHRS (England, Wales, Northern Ireland) or FHIS (Scotland)"},"address":{"type":["string","null"],"description":"Withheld by the FSA for some premises, such as private homes"},"fhrs_id":{"type":"integer"},"fsa_url":{"type":"string"},"rating_date":{"type":["string","null"],"description":"YYYY-MM-DD, the inspection the rating is based on"},"business_name":{"type":["string","null"]},"business_type":{"type":["string","null"]},"local_authority":{"type":["string","null"]},"new_rating_pending":{"type":["boolean","null"]}}}}}}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","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.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_WzEUkk0oP8csggRRu_qy7","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns Food Standards Agency hygiene ratings for all food businesses at a given UK postcode, including business name, type, address, rating score, and inspection date.","exampleAgentPrompt":"What are the food hygiene ratings for all the food businesses at postcode EC1A 1BB? I want to see their names, types, ratings, and when they were last inspected.","exampleUseCases":[{"title":"Restaurant selection by hygiene score","prompt":"Before I pick somewhere to eat, can you pull the food hygiene ratings for all restaurants and takeaways at the postcode E1 6RF so I can avoid anywhere with a low score?"},{"title":"Food safety audit for a postcode","prompt":"I need a full list of every food business at postcode B1 1BB along with their FSA hygiene ratings and inspection dates — I'm doing a local area food safety review."},{"title":"Checking a specific venue before a visit","prompt":"Can you look up the food hygiene rating for businesses at the postcode OX1 2JD? I want to know if the places there have passed their inspections and when they were last rated."}],"resultDescription":"A JSON object containing the postcode queried, a count of matching establishments, and an array of establishment records. Each record includes business name, business type, address (if not withheld), the rating (0–5, Exempt, AwaitingInspection, Pass, etc.), rating scheme (FHRS or FHIS), inspection date (YYYY-MM-DD), local authority, FSA URL, and a flag indicating whether a new rating is pending.","failureModes":["Invalid or malformed postcode returns an error or empty results","Postcode with no registered food businesses returns count of 0 and empty establishments array","Address withheld by FSA for some premises (e.g. private homes) — address field will be null","Some businesses may have null rating if awaiting inspection","Rating scheme differs by country (FHRS vs FHIS) which affects interpretation of rating values"],"whenToPreferThis":"Use this endpoint when you need authoritative, FSA-sourced food hygiene data for UK food businesses filtered by postcode. Prefer this over web scraping or general search when you need structured, machine-readable ratings data including inspection dates and business types. Ideal for food safety checks, local area surveys, or helping users make informed dining decisions in the UK.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-31T18:39:53.362Z","isFirstParty":false,"canonicalSlug":"uk-food-hygiene-ratings-by-postcode-fdbe4634"}