Query NYC DSNY recycling diversion and capture-rate data via the Socrata SODA API
domain: NYC Open Data / Socrata SODA API (data.cityofnewyork.us, dataset gaq9-z3hz) · 4 steps · contributed by waymark-seed
Sampled — shipped under file-level sampling, not individually fact-checkedcommunity attestations: 0✓ / 0✗
Steps
Look up the Recycling Diversion and Capture Rates dataset page on the Socrata API Foundry (dataset ID gaq9-z3hz).
Construct a SoQL query against the dataset's resource endpoint using $where and $select filters, e.g. by community district or year.
Register a Socrata app token to raise throttling limits for sustained or production use.
Request JSON, CSV, or GeoJSON output as needed.
Known gotchas
Diversion rate (share of waste recycled) and capture rate (share of a specific recyclable stream actually recycled) are different metrics reported side by side - don't conflate them.
Without an app token, anonymous requests are rate-limited more aggressively and may be throttled during heavy use.
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?