{"uid":"cap_YWy8ETY69uVazmbgd3Gjy","slug":"brainiac-food-safety-search-api-5607b436","name":"BRAINIAC Food Safety Search API","description":"Pay-per-call APIs for AI agents: OFAC sanctions screening, compliance checks, token security, and Base chain data via x402. No account. Fixed USDC price. MCP-ready.","url":"https://www.brainiac.software/api/v1/food-safety/search?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"page":{"type":"integer","default":1,"maximum":9007199254740991,"minimum":1},"limit":{"type":"integer","default":20,"maximum":100,"minimum":1},"query":{"type":"string","maxLength":200,"minLength":1},"latitude":{"type":"number","maximum":90,"minimum":-90},"postcode":{"type":"string","maxLength":20},"longitude":{"type":"number","maximum":180,"minimum":-180},"maxDistance":{"type":"number","maximum":100,"minimum":0},"ratingValue":{"type":"string","maxLength":50},"businessTypeId":{"type":"integer","maximum":10000,"minimum":1},"localAuthorityId":{"type":"string","maxLength":10}}},"responseSchema":{"type":"json","example":{"page":1,"query":"Tesco","results":[{"fsaId":191950,"phone":"","fsaUrl":"https://api.ratings.food.gov.uk/establishments?name=Tesco&ratingValue=5&postcode=PE13&pageSize=20&pageNumber=1","rating":{"key":"fhrs_5_en-gb","date":"2025-07-07T00:00:00","value":"5","pending":false},"scores":{"hygiene":0,"structural":5,"confidenceInManagement":0},"address":{"line1":"","line2":"500-504 Anlaby Road","line3":"Kingston Upon Hull","line4":"","postcode":"HU3 6TA"},"geocode":{"latitude":"53.7440257","longitude":"-0.3825706"},"distance":null,"schemeType":"FHRS","retrievedAt":"2026-11-07T12:08:54.169Z","businessName":"Tesco","businessType":"Retailers - supermarkets/hypermarkets","rightToReply":"","businessTypeId":7840,"localAuthority":{"code":"866","name":"Hull City","email":"foodandhealth&safety@hullcc.gov.uk","website":"http://www.hull.gov.uk"},"changesByServerId":0,"localAuthorityBusinessId":"24991"},{"fsaId":1861784,"phone":"","fsaUrl":"https://api.ratings.food.gov.uk/establishments?name=Tesco&ratingValue=5&postcode=PE13&pageSize=20&pageNumber=1","rating":{"key":"fhrs_5_en-gb","date":"2023-11-11T00:00:00","value":"5","pending":false},"scores":{"hygiene":0,"structural":5,"confidenceInManagement":0},"address":{"line1":"Tesco Stores Ltd Craven Street","line2":"","line3":"","line4":"Skipton","postcode":"BD23 2AG"},"geocode":{"latitude":null,"longitude":null},"distance":null,"schemeType":"FHRS","retrievedAt":"2026-11-07T12:08:54.169Z","businessName":"Tesco","businessType":"Retailers - supermarkets/hypermarkets","rightToReply":"","businessTypeId":7840,"localAuthority":{"code":"250","name":"North Yorkshire","email":"regsupport@northyorks.gov.uk","website":"https://www.northyorks.gov.uk/"},"changesByServerId":0,"localAuthorityBusinessId":"Cx11855"},"…"],"sources":[{"url":"https://api.ratings.food.gov.uk/establishments?name=Tesco&ratingValue=5&postcode=PE13&pageSize=20&pageNumber=1","source":"FSA","status":"OK"}],"pageSize":20,"totalPages":176,"limitations":["Search results are from the UK Food Standards Agency Food Hygiene Rating Scheme API.","Some businesses may not have a published hygiene rating.","…"],"retrievedAt":"2026-11-07T12:08:54.169Z","totalResults":3511}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.05","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.05/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_0yA_TympHcgpyz6ZqNrsa","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.05","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Searches UK food hygiene and safety ratings for restaurants and food businesses by name, location, or postcode with optional filtering by rating and business type","exampleAgentPrompt":"Can you search for food businesses called 'Nando's' within 5km of latitude 51.5074, longitude -0.1278, and only show me places with a hygiene rating of 5?","exampleUseCases":[{"title":"Pre-dinner hygiene check for a takeaway","prompt":"Look up food safety ratings for Chinese takeaways near postcode E1 6RF — I only want places with a rating of 4 or above, show me the first 10 results."},{"title":"Local authority restaurant audit","prompt":"Find all food businesses in local authority 5090 with a businessTypeId of 1, paginate through the first 20 results so I can review their hygiene scores."},{"title":"Geo-proximity food safety search","prompt":"Search for burger restaurants within 2km of latitude 53.4808 and longitude -2.2426 and filter to only those with a hygiene rating of 5."}],"resultDescription":"Returns a paginated JSON list of food establishments matching the search criteria, including business names, addresses, hygiene/food safety ratings, business type, and local authority information as sourced from the UK Food Standards Agency database.","failureModes":["Empty results if query string matches no known businesses","Validation error if latitude or longitude are out of range","Pagination out of bounds if page exceeds available results","Rate or payment failure if USDC payment on Base is not completed via x402","Invalid businessTypeId or localAuthorityId returns empty or error response"],"whenToPreferThis":"Use this endpoint when you need to query UK food hygiene ratings and inspection data for restaurants, takeaways, or other food businesses — especially when searching by name, geographic coordinates, or postcode. It is ideal for agents that need to surface food safety information to consumers or for compliance checking in the UK. Prefer this over general web search when you need structured, paginated, filterable food safety data from the FSA.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-17T00:36:40.460Z","isFirstParty":false,"canonicalSlug":"brainiac-food-safety-search-api-5607b436"}