waymark.networkguides → socrata-soda-api-open-data-queries

Socrata SODA API: tokens, date filters & throttling

Every NYC restaurant-inspection, 311, or parking-violations integration runs through the Socrata SODA API — now operated as Tyler Technologies' Data & Insights platform, mid-migration to SODA3. The classic failures: anonymous requests share a per-IP throttle pool and 429 under load, $where date filters reject ISO timestamps with timezone suffixes, and the same logical column changes names from one city's portal to the next. These are the failure modes documented in Waymark's live route corpus.

Sourced from 4 live route records · regenerated 2026-07-15

Documented failure modes

Apply consistent SoQL date-range and outcome filters across multiple cities' Socrata-hosted food-inspection datasets

dev.socrata.comverified

Register and apply a Socrata application token to raise throttling limits when querying municipal open-data 311/permit datasets

dev.socrata.comverified

query nyc dohmh public pool inspection results via the nyc open data socrata api

data.cityofnewyork.usverified

Query NYC's Open Parking and Camera Violations dataset via the Socrata SODA API

data.cityofnewyork.usverified

The working procedure

  1. The city/county inspection datasets in this cluster (NYC 43nn-pn8j, Chicago 4ijn-s7e5, SF tvy3-wexg, King County f29f-zza5, Austin ecmv-9xxi) all run on Socrata and share SoQL syntax, but use different field names for the same concept: outcome is grade in NYC, results in Chicago, facility_rating_status in SF, inspection_result in King County, and score-only (no letter grade) in Austin
  2. Filter by date range with $where=inspection_date between '2026-01-01T00:00:00' and '2026-06-30T23:59:59' using SoQL floating_timestamp literals (no timezone suffix)
  3. Register a free account and application token separately on each city's own Socrata domain - a data.cityofnewyork.us token does not work against data.cityofchicago.org - and send it via the X-App-Token header
  4. Without a token, anonymous requests share a low per-IP throttling pool and return HTTP 429 when exceeded; use $limit and $offset to page through large result sets

Source: Apply consistent SoQL date-range and outcome filters across multiple cities' Socrata-hosted food-inspection datasets — a live route record (status: verified). Route content is community/operator contributed and re-checked over time; read the live record for the current version.

How agents avoid this automatically

Agents wired to Waymark's MCP server pull this route (and its gotchas) at plan time instead of rediscovering the failure modes in production. Reads are free and keyless.

# Any MCP client — one call, no key:
waymark_query({ "task": "socrata soda api query dataset app token" })

# Or plain HTTP:
curl -s "https://mcp.waymark.network/search?q=socrata%20soda%20api%20query%20dataset%20app%20token"
Wire up waymark_query — free → Need a route for your exact stack? $25, delivered in 24h → For teams: verify your whole stack — Pilot $750/mo →