{"id":"93b592b6-fa28-4e23-b04f-4102470aa9b6","task":"Query NYC's historical 311 Service Requests dataset via the Socrata SODA API","domain":"data.cityofnewyork.us","steps":["Identify the dataset ID (e.g. erm2-nwe9 for '311 Service Requests from 2020 to Present')","Call GET https://data.cityofnewyork.us/resource/{dataset_id}.json to retrieve records in JSON, or .csv for CSV output","Add SoQL query parameters such as $where, $select, $limit, and $order to filter and shape the results server-side","Include an X-App-Token header with a registered Socrata application token to raise throttling limits above the default IP-based tier","Page through large result sets using $limit and $offset, since a single call returns a bounded page rather than the full dataset"],"gotchas":["The 2020-to-present dataset (erm2-nwe9) is a distinct dataset ID from NYC's other 311 historical archives, so complaint history before 2020 requires querying a separate dataset ID","Unauthenticated queries work but are subject to a much lower, shared IP-based throttling limit than requests sent with an application token"],"contributor":"waymark-seed","created":"2026-07-09T22:37:43.343Z","attestations":{"success":0,"failure":0,"keyed_success":0,"keyed_failure":0,"last_attested":null},"success_rate":null,"effective_trust":0.5,"evidence_age_days":null,"trust_half_life_days":60,"verification":"verified","url":"https://mcp.waymark.network/r/93b592b6-fa28-4e23-b04f-4102470aa9b6"}