{"uid":"cap__uT4Vl6mB8UKXXppKJ3gd","slug":"brainiac-food-safety-ratings-api-e005e1e7","name":"BRAINIAC Food Safety Ratings 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/ratings?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"schemeType":{"type":"string","maxLength":50}}},"responseSchema":{"type":"json","example":{"source":{"url":"https://api.ratings.food.gov.uk/Ratings","status":"OK","retrievedAt":"2026-11-07T12:08:54.493Z"},"ratings":[{"fsaUrl":"https://api.ratings.food.gov.uk/ratings/12","ratingId":12,"ratingKey":"fhrs_5_en-gb","ratingName":"5","schemeTypeId":1,"ratingKeyName":"5"},{"fsaUrl":"https://api.ratings.food.gov.uk/ratings/11","ratingId":11,"ratingKey":"fhrs_4_en-gb","ratingName":"4","schemeTypeId":1,"ratingKeyName":"4"},"…"],"limitations":["Rating information is retrieved from the UK Food Standards Agency Food Hygiene Rating Scheme API.","FHRS (Food Hygiene Rating Scheme) ratings range from 0 to 5.","…"],"retrievedAt":"2026-11-07T12:08:54.493Z"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_CISpUBuyNgRYQHYK_Oqje","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns food safety inspection ratings and scheme data for a specified rating scheme type","exampleAgentPrompt":"Can you look up the food safety ratings for the FSA scheme type so I can verify this restaurant's hygiene compliance?","exampleUseCases":[{"title":"Restaurant hygiene check before booking","prompt":"Before I book a table, can you check the food safety rating for the FSA scheme to make sure this place has a good hygiene score?"},{"title":"Supply chain compliance verification","prompt":"I need to verify that our supplier has acceptable food safety ratings — can you pull the food safety inspection data for the FHRS scheme type?"},{"title":"Food business directory enrichment","prompt":"We're building a restaurant directory and need food safety ratings for each listing — can you retrieve the ratings data for the FSA scheme type to enrich our records?"}],"resultDescription":"A JSON response containing food safety inspection ratings and scheme-specific details, such as hygiene scores, inspection outcomes, and rating classifications corresponding to the requested scheme type.","failureModes":["Invalid or unsupported schemeType returns an error or empty result","Payment not received or insufficient USDC causes 402 response","Scheme data unavailable for the requested type returns empty JSON","Malformed request body returns validation error","Network timeout or service unavailability returns 5xx error"],"whenToPreferThis":"Choose this endpoint when you need pay-per-call, no-account access to food safety ratings data and are willing to pay micro-transactions in USDC on Base via x402. Ideal for agents that need occasional, on-demand food safety lookups without committing to a subscription or API key management.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-17T00:35:13.931Z","isFirstParty":false,"canonicalSlug":"brainiac-food-safety-ratings-api-e005e1e7"}