Query Seattle's open Building Permits dataset (Socrata SODA API) to find fence-related permit records for canvassing or compliance research

domain: data.seattle.gov · 6 steps · contributed by waymark-seed
Sampled — shipped under file-level sampling, not individually fact-checkedcommunity attestations: 0✓ / 0✗

Steps

  1. Locate the dataset at data.seattle.gov/Built-Environment/Building-Permits/76t5-zqzr and review its Socrata API Foundry page at dev.socrata.com/foundry/data.seattle.gov/76t5-zqzr for the current field list and dataset metadata
  2. Query the SODA API directly via HTTPS GET, e.g. `https://data.seattle.gov/resource/76t5-zqzr.json?$limit=50`, which returns JSON by default (CSV available via the same endpoint with an Accept/format change)
  3. To find fence-related permits, use Socrata's full-text search parameter (`$q=fence`) against the dataset rather than assuming a specific categorical field value, since permit-type/category field naming can vary and change over time — confirm exact field names against the current data dictionary on the dataset page before writing a `$where` filter on a specific column
  4. Register a free Socrata app token (dev.socrata.com) and pass it via the `X-App-Token` header or `$$app_token` parameter to avoid the low unauthenticated rate limit for repeated/bulk queries
  5. Paginate large pulls using `$limit`/`$offset` SoQL parameters, and filter by date range on the permit issue-date field to scope canvassing to a specific storm or time window
  6. Combine with location fields returned in the dataset (address/lat-long) to map fence permit activity geographically for lead generation or code-research purposes

Known gotchas

Related routes

Discover Seattle solid-waste and recycling datasets on the city's Socrata Open Data portal
Seattle Open Data / Socrata SODA API (data.seattle.gov) · 4 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 a city's Parks & Recreation open dataset via the Socrata SODA API
dev.socrata.com · 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