City building permits — Socrata permit alerts
Pricing
from $5.00 / 1,000 results
City building permits — Socrata permit alerts
Building permit alerts for Seattle, Austin, New York City, and San Francisco. Filter by permit type, minimum job value, ZIP, and keyword. No street address. Schedule onlyNew for permits you have not stored.
Pricing
from $5.00 / 1,000 results
Rating
0.0
(0)
Developer
Mack2 Strategy
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
7 days ago
Last modified
Categories
Features
Share
Mack2 Strategy Socrata building permits alerts read public feeds for Seattle, Austin, New York City, and San Francisco. Pick the city, then filter by permit type, minimum valuation, ZIP, and keyword. Price is the city's estimated cost. Street addresses, coordinates, and contractor or owner names are not requested.
Store description. Building permit alerts for Seattle, Austin, New York City, and San Francisco. Filter by permit type, minimum job value, ZIP, and keyword. No street address. Schedule onlyNew for permits you have not stored.
Search this Actor by the source name Socrata building permits. It is a pay-per-event alerts Actor: a scheduled run with onlyNew returns records that were not seen on a previous run.
| Source | Socrata building permits |
| Niche | building-permits |
| Access | public_api |
| Pricing | $5.00 per 1,000 results (result = $0.005) plus $0.005 per run (actor-start) |
| Login | Not used. Login-walled pages are rejected. |
| Personal data | Not collected. Emails, phone numbers, and names of private individuals are blocked. |
What you get
Every dataset item uses the same core fields, plus source-specific fields:
| Field | Meaning |
|---|---|
id | Stable id used by onlyNew |
url | Public https link, or null |
title | Short label |
price | Numeric amount, or null when the source has no price |
location | Place text coarse enough to avoid a street address |
postedAt | ISO date or datetime |
raw | Allowlisted source values for the mapped fields. The upstream payload is not copied through. |
permitType | Permit type published by the city. |
zip | ZIP code. Street address is not stored. |
status | Current permit status when the city publishes one. |
Use cases
- A roofing company wants new Seattle alteration permits above a dollar amount.
- A supplier watches San Francisco permits in one ZIP.
- An agent needs a permit number, cost, ZIP, and the city open-data page.
Example output
{"id": "202611160821","url": "https://data.sfgov.org/Housing-and-Buildings/Building-Permits/i98e-djp9","title": "replace three windows","price": 8000,"location": "San Francisco 94127","postedAt": "2026-11-16T16:20:57.000","permitType": "otc alterations permit","zip": "94127"}
Input
{"city": "seattle","maxItems": 25,"onlyNew": false}
keywordsfilters records. Keywords are applied to the public fields after each page is fetched, so a daily run can scan the latest pages and keep matches.searchUrlreplaces the default endpoint. It must be https, on an allowlisted host, and on an allowlisted path. It cannot point at a login or account page.maxItemscaps how many records are returned (default 25, ceiling 200).onlyNewstores seen ids in the named Apify key-value store (stateStoreName, defaultsocrata-building-permit-alerts-seen, keySEEN_IDS). The store keeps the most recent 50,000 ids. Turn this on for a daily schedule so each run behaves like an alert.maxPageslimits how many result pages are requested (default 1, ceiling 4).
Use from MCP / AI agents
Call this Actor when the user wants Socrata building permits records and the task is public data, not a logged-in account and not a person search.
- Actor id (after publish):
<your-username>/socrata-building-permit-alerts - Pricing: one
actor-startevent per run and oneresultevent per dataset item. A run that returns 1,000 items costs about $5.00 before any Apify minimum charge. - Pass this input when you only know the topic:
{"keywords": "","maxItems": 25,"onlyNew": false}
- Pass
onlyNew: truewhen the user wants an alert or a scheduled "what changed" run. Use the samestateStoreNameon every run of that schedule. - Read the default dataset. Ignore any field that is not in the table above unless you asked for that source-specific column.
- Do not use this Actor for emails, phone numbers, private individuals, or any host outside the allowlist.
- Stop when the dataset reaches
maxItemsor when a charge-limit response comes back fromActor.pushData.
Compliance
Seattle dataset 76t5-zqzr is marked Public Domain. Austin dataset 3syk-w9eu is marked Public Domain U.S. Government. San Francisco dataset i98e-djp9 is marked Open Data Commons Public Domain Dedication and License. New York City publishes DOB NOW permits under its open-data law; this factory already uses that dataset. Each portal's robots.txt allows /resource/ and asks for a one-second delay. The locked $select for the chosen city omits street addresses, latitude, longitude, owner names, and contractor names. Chicago and Los Angeles were left out because their portal licence fields are empty or only say "See Terms of Use".
- Source: Seattle, Austin, New York City, and San Francisco open-data portals
- Licence: Public Domain, Public Domain U.S. Government, NYC Open Data, and Open Data Commons PDDL
- Terms URL: https://data.seattle.gov/Permitting/Building-Permits/76t5-zqzr
- Reviewed on: 2026-11-17
termsReviewed: true- robots.txt is fetched before the first request. A disallow, or a robots.txt that returns 401, 403, or 5xx, aborts the run. A missing robots.txt is treated as allowed. Crawl-delay is honored when it is longer than the configured delay.
- Concurrency 1, at least 1000 ms between requests, at most 20 requests per minute.
- User-Agent:
Mack2 Strategy john@mack2strategy.com
Run locally
From the repository root, with dependencies installed:
npm test -- actors/socrata-building-permit-alerts/test/extract.test.tsnpm run smoke -- actors/socrata-building-permit-alerts/test/smoke.test.ts
The offline test replays test/fixtures. The smoke test is the canary: it calls the live source (or the inline records, for the classifier), and it fails on zero results or a schema error.
To start the Actor the way Apify does:
cd actors/socrata-building-permit-alertsnpm installnpm run buildmkdir -p storage/key_value_stores/defaultcp examples/default.json storage/key_value_stores/default/INPUT.jsonnode dist/main.js
Publish
Do this only after npm run publish-check -- targets/socrata-building-permit-alerts.yaml prints no errors, and only from an Apify account you control:
cd actors/socrata-building-permit-alertsnpm install && npm run buildnpx apify-cli push
Then confirm the Console monetization events match .actor/pay_per_event.json: actor-start at $0.005 and primary event result at $0.005. This repository does not publish anything.