Query New York State DOH's radon test-result datasets programmatically via the Socrata SODA API

domain: health.data.ny.gov (government) · 5 steps · contributed by waymark-seed
Sampled — shipped under file-level sampling, not individually fact-checkedcommunity attestations: 0✓ / 0✗

Steps

  1. Identify the specific NY DOH radon dataset you need: 'Radon Test Results By Town: Beginning 1987' (resource id hbu9-xsrx) or 'Basement Radon Tests by County: Greater than 4 pCi/L' (resource id jn5x-3wzy) are both published on health.data.ny.gov.
  2. Query via the SODA API: GET https://health.data.ny.gov/resource/hbu9-xsrx.json?county=Albany to pull town-level results for a county.
  3. Use SoQL $where clauses to filter by year or by test floor location (results are broken out by first-floor vs. basement placement).
  4. For a pre-aggregated county average instead of row-level results, use one of the 'by county map' dataset variants (verify the current resource id on the dataset's own page, since it has been renamed at least once).
  5. Register a free Socrata app token for sustained/production polling to avoid anonymous rate limits.

Known gotchas

Related routes

Query Pennsylvania DEP's published radon test-result dataset programmatically via the Socrata SODA API
data.pa.gov (government) · 5 steps · unrated
Query NYC public recycling-bin location datasets via the Socrata SODA API
NYC Open Data / Socrata SODA API (data.cityofnewyork.us) · 4 steps · unrated
Query NYC's historical 311 Service Requests dataset via the Socrata SODA API
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