{"uid":"cap_jkdnTNOPiBM7EcDf8w1eR","slug":"brainiac-food-safety-batch-lookup-c61f58ba","name":"BRAINIAC Food Safety Batch Lookup","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/batch?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"fsaIds":{"type":"array","items":{"type":"integer","maximum":9007199254740991,"minimum":1},"maxItems":100,"minItems":1}}},"responseSchema":{"type":"json","example":{"errors":[],"results":[{"fsaId":1216146,"phone":"","fsaUrl":"https://api.ratings.food.gov.uk/establishments/1216146","rating":{"key":"fhrs_5_en-gb","date":"2025-11-12T00:00:00","value":"5","pending":false},"scores":{"hygiene":0,"structural":0,"confidenceInManagement":0},"address":{"line1":"5 Kirkgate Street","line2":"Wisbech","line3":"Cambridgeshire","line4":"","postcode":"PE13 3QR"},"geocode":{"latitude":"52.671636","longitude":"0.18053"},"distance":null,"schemeType":"FHRS","retrievedAt":"2026-11-07T12:08:54.444Z","businessName":"Tesco","businessType":"Retailers - supermarkets/hypermarkets","rightToReply":"","businessTypeId":7840,"localAuthority":{"code":"029","name":"Fenland","email":"environmentalservicerequests@fenland.gov.uk","website":"http://www.fenland.gov.uk/article/2117/Food-Safety"},"changesByServerId":0,"localAuthorityBusinessId":"2020/000009"},{"fsaId":246490,"phone":"","fsaUrl":"https://api.ratings.food.gov.uk/establishments/246490","rating":{"key":"fhrs_5_en-gb","date":"2025-11-11T00:00:00","value":"5","pending":false},"scores":{"hygiene":0,"structural":0,"confidenceInManagement":0},"address":{"line1":"1 Hereward Cross","line2":"Broadway","line3":"Peterborough","line4":"","postcode":"PE1 1TA"},"geocode":{"latitude":"52.574275","longitude":"-0.241467"},"distance":null,"schemeType":"FHRS","retrievedAt":"2026-11-07T12:08:54.444Z","businessName":"Tesco","businessType":"Retailers - supermarkets/hypermarkets","rightToReply":"","businessTypeId":7840,"localAuthority":{"code":"888","name":"Peterborough City","email":"foodandsafety@peterborough.gov.uk","website":"http://www.peterborough.gov.uk"},"changesByServerId":0,"localAuthorityBusinessId":"4720"},{"fsaId":321016,"phone":"","fsaUrl":"https://api.ratings.food.gov.uk/establishments/321016","rating":{"key":"fhrs_5_en-gb","date":"2025-11-19T00:00:00","value":"5","pending":false},"scores":{"hygiene":0,"structural":5,"confidenceInManagement":0},"address":{"line1":"Unit 1 Seacroft Green Shopping Centre","line2":"Seacroft Avenue","line3":"Seacroft","line4":"Leeds","postcode":"LS14 6JD"},"geocode":{"latitude":"53.8209527","longitude":"-1.4591684"},"distance":null,"schemeType":"FHRS","retrievedAt":"2026-11-07T12:08:54.444Z","businessName":"Tesco","businessType":"Retailers - supermarkets/hypermarkets","rightToReply":"","businessTypeId":7840,"localAuthority":{"code":"413","name":"Leeds","email":"food.safety@leeds.gov.uk","website":"http://www.leeds.gov.uk/"},"changesByServerId":0,"localAuthorityBusinessId":"00025627"}],"sources":[{"url":"https://api.ratings.food.gov.uk/establishments","source":"FSA","status":"OK"}],"limitations":["Batch lookups make individual API requests for each FHRSID.","Maximum of 100 FHRSIDs can be processed in a single batch request.","Rate limiting may affect performance for large batches.","Businesses without ratings will return errors."],"retrievedAt":"2026-11-07T12:08:54.444Z"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.15","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.15/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.15","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.15","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_2fpAIi7m2k9r5XbioMqzV","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.15","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Looks up food safety information for multiple FSA (Food Standards Agency) records by their IDs in a single batch call","exampleAgentPrompt":"Can you batch look up the food safety records for FSA establishments with IDs 12345, 67890, and 11223 — I need to check their inspection results all at once?","exampleUseCases":[{"title":"Restaurant chain compliance audit","prompt":"I need to check the food safety ratings for all 15 of our franchise locations at once — here are their FSA IDs: 10001, 10002, 10003, 10004, 10005, 10006, 10007, 10008, 10009, 10010, 10011, 10012, 10013, 10014, 10015. Can you pull up their inspection records?"},{"title":"Food delivery platform vetting","prompt":"Before we onboard these 8 new restaurant partners, can you check their FSA food safety records? Their FSA IDs are 55123, 55124, 55125, 55126, 55127, 55128, 55129, and 55130."},{"title":"Consumer transparency research","prompt":"I'm writing a report on local takeaways and need the food hygiene inspection data for FSA establishments 98001, 98002, and 98003 — can you retrieve all three at the same time?"}],"resultDescription":"A JSON response containing food safety records for each requested FSA ID, likely including inspection ratings, compliance status, establishment details, and inspection dates for up to 100 establishments per call.","failureModes":["Invalid FSA ID (non-integer or out of range) causes validation error","Exceeding 100 IDs in a single batch returns a schema validation error","Empty array input rejected (minimum 1 item required)","Payment of 0.15 USDC via x402 on Base not completed or insufficient — returns 402 Payment Required","FSA IDs that do not exist in the database may return empty or null records","Network timeout for large batches approaching the 100-item limit"],"whenToPreferThis":"Use this endpoint when you need to retrieve food safety or FSA inspection data for multiple establishments in a single API call without setting up an account. It is ideal for batch compliance checks, audits, or enrichment workflows where you have a list of FSA numeric IDs. Prefer this over single-record lookups when processing more than one establishment at a time, and over scraping the FSA website directly when you need structured, programmatic access payable per-use via USDC on Base.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-17T00:36:45.233Z","isFirstParty":false,"canonicalSlug":"brainiac-food-safety-batch-lookup-c61f58ba"}