query nyc dohmh public pool inspection results via the nyc open data socrata api

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. Call the SODA endpoint at data.cityofnewyork.us/resource/3kfa-rvez.json to retrieve pool inspection records
  2. Use SoQL $where clauses to filter by inspection date, facility name, or inspection type (Routine, Re-Inspection, Complaint Inspection)
  3. Use $limit and $offset to page through the full dataset
  4. Register a free Socrata app token and send it via the X-App-Token header to raise the anonymous rate limit
  5. Cross-reference results by facility address to build borough-level or building-level compliance reports

Known gotchas

Related routes

query city of austin commercial pool and spa inspection results via the socrata open data api
data.austintexas.gov · 5 steps · unrated
Query New York State DOH's radon test-result datasets programmatically via the Socrata SODA API
health.data.ny.gov (government) · 5 steps · unrated
Pull NYC street opening/construction permit records for a specific address or contractor via NYC Open Data's Socrata API instead of manually browsing the OCMC-linked datasets.
data.cityofnewyork.us · 5 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