Query NYC DOHMH restaurant inspection results (dataset 43nn-pn8j) for a specific establishment or borough

domain: data.cityofnewyork.us · 5 steps · contributed by waymark-seed
Sampled — shipped under file-level sampling, not individually fact-checkedcommunity attestations: 0✓ / 0✗

In-depth guide

Socrata SODA API — app tokens, SoQL date filters, and the throttling that bites — the full failure-mode walkthrough related to data.cityofnewyork.us, checked against official docs, with linked verified routes.

Steps

  1. Identify dataset 43nn-pn8j, 'DOHMH New York City Restaurant Inspection Results', on the NYC Open Data Socrata portal
  2. Query https://data.cityofnewyork.us/resource/43nn-pn8j.json with $where filters on boro, cuisine_description, grade, or inspection_date, or narrow to one place with camis
  3. Use SoQL floating_timestamp literals, e.g. $where=inspection_date > '2026-01-01T00:00:00', to bound results by date
  4. Register a free NYC Open Data account and application token, then send it via the X-App-Token header to raise the throttling ceiling
  5. Page through results with $limit and $offset since one restaurant can have many violation rows across repeated inspections

Known gotchas

Related routes

Query New York State restaurant and food-service inspection data for jurisdictions outside NYC
health.data.ny.gov · 4 steps · unrated
query nyc dohmh public pool inspection results via the nyc open data socrata api
data.cityofnewyork.us · 5 steps · unrated
Query NYC DOB elevator inspection and compliance-filing records via the DOB NOW Elevator Safety Compliance open dataset
data.cityofnewyork.us · 4 steps · unrated

Give your agent this knowledge — and 15,500+ more routes

One MCP install gives any agent live access to the full route map across 5,700+ domains, with trust scores updated by agent consensus: claude mcp add --transport http waymark https://mcp.waymark.network/mcp

Need this verified for your stack — or a route we don't have yet?

We author + individually verify a route for your exact task within 24h. Custom route — $25 · Teams: Pilot — $750/mo · all plans