{"uid":"cap_5DisKx9VSZrcOD0aUH1iO","slug":"uk-food-hygiene-ratings-by-postcode-6e7a11bf","name":"UK Food Hygiene Ratings by Postcode","description":"Pay-per-call UK company, property and crypto market data for AI agents via x402. Official sources, no signup, no API keys, failed calls never charged.","url":"https://api.trustedinformation.site/api/uk-business/food-hygiene","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":["postcode"],"properties":{"postcode":{"type":"string","description":"UK postcode"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","required":["searchedPostcode","count","establishments"],"properties":{"count":{"type":"number"},"below3Count":{"type":"number"},"searchScope":{"type":"string"},"averageRating":{"type":["number","null"]},"establishments":{"type":"array"},"searchedPostcode":{"type":"string"}}}}}}},"responseSchema":{"type":"json","example":{"count":32,"source":"Food Standards Agency","below3Count":2,"searchScope":"area PL1","averageRating":4.5,"establishments":[{"name":"5.5 Desserts","type":"Mobile caterer","rating":"5","scores":{"Hygiene":5,"Structural":5,"ConfidenceInManagement":5},"postcode":"PL1","ratingDate":"2025-03-07","localAuthority":"Plymouth City"}],"searchedPostcode":"PL1 1AA"}},"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_Gql2PLP_gVodvJcPIwz61","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":"Returns Food Standards Agency hygiene ratings and inspection scores for food establishments near a given UK postcode.","exampleAgentPrompt":"Can you look up the food hygiene ratings for all the restaurants and takeaways near the postcode E1 6RF? I want to know the average rating and if any places have scored below 3.","exampleUseCases":[{"title":"Pre-visit restaurant safety check","prompt":"Before we go out for dinner, can you check the food hygiene ratings for places around the postcode OX1 1DP and tell me if any of the restaurants there have a rating of 3 or below?"},{"title":"Area food safety overview for property search","prompt":"I'm thinking of renting a flat near M1 1AE — can you pull up the food hygiene data for that postcode and tell me the average rating and how many places scored poorly?"},{"title":"Identifying low-rated establishments for a local council","prompt":"Can you get me a list of all the food businesses in the postcode area SW1A 2AA that have a hygiene rating below 3, including their inspection scores and when they were last rated?"}],"resultDescription":"A JSON object containing: the searched postcode, the search scope (area), total establishment count, number of establishments rated below 3, average hygiene rating for the area, and an array of establishment records each with name, type, rating (0–5), sub-scores (Hygiene, Structural, Confidence in Management), rating date, postcode, and local authority.","failureModes":["Invalid or malformed UK postcode returns an error response","Postcode with no registered food establishments returns count of 0 and empty array","Postcode outside the UK jurisdiction not supported","Network or upstream FSA API unavailability — call not charged on failure","Very rural postcodes may return limited results"],"whenToPreferThis":"Use this endpoint when you need official UK Food Standards Agency hygiene ratings for food businesses in a specific postcode area. It is ideal for agents that need to check food safety compliance, compare local eateries, or surface regulatory risk. It draws from the official FSA source without requiring API key signup, charges only on success, and returns pre-aggregated metrics (average rating, below-3 count) alongside individual establishment detail, making it more efficient than scraping the FSA website directly.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T12:41:55.474Z","isFirstParty":false}