Pull currently open elevator violations for a building via NYC's Active Elevator Violations open dataset

domain: data.cityofnewyork.us · 4 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. Query the SODA API for dataset rff7-h44d at https://data.cityofnewyork.us/resource/rff7-h44d.json
  2. Filter by BIN, device number, or violation type to scope results to a specific building or device
  3. Use $select/$where SoQL parameters to limit columns and rows returned
  4. Treat results as a snapshot of currently active violations and re-query periodically rather than caching indefinitely

Known gotchas

Related routes

Understand the DOB NOW: Safety filing workflow for NYC elevator periodic inspection/test reports, separate from simply querying the public elevator datasets
nyc.gov/dobnow — DOB NOW: Safety, Elevator Compliance Filings · 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
Look up the current NYC ECB/OATH penalty schedule for elevator violations rather than relying on remembered fine amounts
nyc.gov — ECB/OATH Penalty Schedule, Elevator Violations · 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