{"uid":"cap_OzMUdBK4xcRel-XOR_BeK","slug":"nyc-food-service-health-inspection-lookup-9241d9e1","name":"NYC Food Service Health Inspection Lookup","description":"Look up the health inspections of a New York City food service establishment: scores, grades and violations, newest first.","url":"https://win.oneshotagent.com/v1/tools/lookup/business-health-inspections?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"name":{"type":"string","description":"Part of the trade name, matched anywhere in it and ignoring case, for example Katz's Delicatessen. 2 to 100 characters."},"limit":{"type":"integer","description":"Most inspections to return per establishment. From 1 to 20. Defaults to `5`."},"zipcode":{"type":"string","description":"Five-digit ZIP code of the establishment. zipcode must be five digits."},"establishment_id":{"type":"string","description":"The city's establishment id (CAMIS), for example 40732665; takes precedence over name. establishment_id must be digits."}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","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.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_SKL-ZZDOy9JEGoPvJAYuA","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Retrieves New York City health inspection scores, grades, and violations for a food service establishment, sorted newest first.","exampleAgentPrompt":"Can you pull up the last 5 NYC health inspection results for Katz's Delicatessen — I want to see their scores, grades, and any violations?","exampleUseCases":[{"title":"Pre-visit restaurant safety check","prompt":"Before we go to that pizza place on 44th Street in ZIP code 10036, can you look up their recent NYC health inspection grades and tell me if they've had any critical violations in the past few inspections?"},{"title":"Food blog due diligence research","prompt":"I'm writing a piece on famous NYC delis — can you fetch the last 10 health inspection records for Katz's Delicatessen so I can see their scores, grades, and any cited violations?"},{"title":"Delivery app vendor vetting","prompt":"We need to verify the health inspection status of a vendor with CAMIS ID 40732665 — can you look up their most recent NYC DOH inspection scores and violations?"}],"resultDescription":"Returns a list of health inspection records for the matched NYC food service establishment(s), ordered newest first. Each record includes the inspection date, letter grade (A/B/C/Z/P), numeric score, and any specific violations cited. Results are capped at the requested limit (default 5, max 20 per establishment).","failureModes":["No establishment found matching the given name or ZIP code — returns empty result set","Name query too short (under 2 characters) or too long (over 100 characters) — validation error","Invalid ZIP code format (not exactly 5 digits) — validation error","Invalid establishment_id (non-digit characters) — validation error","Establishment exists in city records but has no inspection history yet — empty violations list","Payment failure via x402 protocol — request rejected before processing"],"whenToPreferThis":"Choose this endpoint when you need authoritative NYC Department of Health inspection data for a specific food establishment — including scores, letter grades, and violation details. It is ideal for pre-dining safety checks, vendor vetting, compliance research, or journalism. Use the CAMIS ID for precise lookups when available; use name + ZIP for discovery. Prefer this over general web search when you need structured, machine-readable inspection records rather than user reviews or news articles.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-20T12:34:19.430Z","isFirstParty":false,"canonicalSlug":"nyc-food-service-health-inspection-lookup-9241d9e1"}