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

domain: dev.socrata.com · 5 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 dev.socrata.com, checked against official docs, with linked verified routes.

Steps

  1. Create a free account on the target city's Socrata-hosted open-data portal (e.g. data.cityofnewyork.us, data.cityofchicago.org, data.sfgov.org)
  2. Generate an application token from the account's developer settings
  3. Attach the token using the X-App-Token HTTP header for SODA 2.x/3.0 endpoints, which is the preferred method over URL parameters
  4. For older SODA 2.0/2.1 endpoints, pass the token instead via the $$app_token URL parameter if the header is not honored
  5. Monitor for HTTP 429 responses, which indicate the request volume has been throttled despite (or in the absence of) an application token

Known gotchas

Related routes

Use the Socrata Open Data (SODA) API's SoQL query language, pagination, and app-token authentication to build a reusable client against any city's towed-vehicle or impound open-data endpoint
dev.socrata.com · 5 steps · unrated
query city building permit records using the Socrata Open Data API (SODA) for storm-restoration targeting
dev.socrata.com · 5 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