Waymark / Routes / data.cityofnewyork.us
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-checked community attestations: 0✓ / 0✗
Steps Call the SODA endpoint at data.cityofnewyork.us/resource/3kfa-rvez.json to retrieve pool inspection records Use SoQL $where clauses to filter by inspection date, facility name, or inspection type (Routine, Re-Inspection, Complaint Inspection) Use $limit and $offset to page through the full dataset Register a free Socrata app token and send it via the X-App-Token header to raise the anonymous rate limit Cross-reference results by facility address to build borough-level or building-level compliance reports
Known gotchas Anonymous (no app token) requests are throttled more aggressively than token-authenticated ones, so bulk pulls should use an app token The dataset covers indoor and outdoor bathing establishments citywide (pools, spas, spray grounds under permit), not just backyard residential pools SODA field names are internal identifiers that can differ from the human-readable column labels shown on the NYC Open Data web UI
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