Seattle Commercial Permit Pipeline — Ready and Issued Alerts
Pricing
$2.00 / 1,000 delivered seattle commercial permit observations
Seattle Commercial Permit Pipeline — Ready and Issued Alerts
Get commercial building permits from Seattle's official daily open data when they are first seen or move from Ready for Issuance to Issued. Filter by project cost, permit class, and work description; schedule a named monitor for change-only rows.
Pricing
$2.00 / 1,000 delivered seattle commercial permit observations
Rating
0.0
(0)
Developer
Nathaniel Standridge
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
16 days ago
Last modified
Categories
Features
Share
Seattle Commercial Permit Pipeline
Find Seattle commercial building permits that have reached Ready for Issuance or Issued. Contractors, suppliers, and local business development teams can filter the city's published work descriptions and estimated project costs, then schedule a named monitor to receive newly observed permits and stage changes.
First run
Paste this input for a bounded one-time sample:
{"lookbackDays": 7,"permitClasses": ["Commercial"],"maxSourceRecords": 100,"maxResults": 25}
Each dataset row is one delivered permit observation. On a one-time run, matching permits are current rows. To monitor changes, add a stable monitorId such as commercial-doors and schedule the same input daily. The first named run can deliver current matches (baselineMode: "emit-current") or save a free baseline ("baseline-only"). Later runs emit first_seen for a newly observed permit and stage_changed when a previously observed permit changes between the two supported stages. Reuse a monitor name only for the same filters; schedule its runs without overlap.
Coverage and timing
The only source is Seattle's Building Permits open-data dataset, queried through its Socrata API. The query requires Seattle's PermitClassMapped to equal Non-Residential and the published ReadyToIssueDate to fall in the rolling UTC window. You can select the published PermitClass values Commercial, Industrial, and Institutional. Only current statuses Ready for Issuance and Issued produce rows. The optional cost filter uses the city's estimated project cost; a positive threshold excludes missing estimates. Keyword phrases are literal, case-insensitive OR matches in the published work description or permit type.
Seattle updates the dataset daily. The readiness date is historical. Many permits are already Issued when first seen, so a row is not necessarily a pre-issuance lead. This Actor reports observed source stages, not a guaranteed real-time transition or a claim that a permit is still actionable. It does not infer contractors, owners, contact information, completion, removal, or a stage that the source did not publish. A stage change can be missed if a permit leaves the rolling ready-date window before the next scheduled run.
The source query fetches at most maxSourceRecords + 1 records (default cap 200, maximum 500). If more than the configured source cap exist, or eligible observations exceed maxResults (default 100, maximum 200), the Actor fails before delivery and does not advance the monitor. Narrow the lookback, class, cost, or keywords, or raise the bounded cap. It makes at most three source attempts, uses a fixed public Seattle endpoint, follows no redirects, sends no credential, and limits the source response to 4 MiB. A keyless public API call can receive HTTP 429 due to a shared rate limit; OUTPUT.stopReason reports SOURCE_RATE_LIMITED without exposing response content.
Output and charges
The examples/input.json and examples/output.json show the contract. Every delivered dataset row has a stable observationId, stage and previous stage, source dates, project details, the official record link, and observedAt. OUTPUT contains the UTC query window, source and filter counts, delivered-row count, and monitor-commit status. The Dataset schema and Output schema are included in .actor/.
The intended Apify pay-per-event price is $0.002 per apify-default-dataset-item event, subject to the published Store price at release. There is no Actor-start event. A dataset row is the charged unit; an empty result, baseline-only setup, and the OUTPUT summary have no event charge. The Actor freezes a result plan, checks its visible dataset rows against the native charge count on recovery, and never retries an ambiguous billable write. If delivery or checkpointing is uncertain, the run stops for reconciliation instead of claiming a completed monitor. The release is configured so the Actor creator pays platform usage.
Input limits
| Field | Default | Allowed |
|---|---|---|
monitorId | empty | 1–40 letters, digits, _ or -; empty means one-time snapshot |
lookbackDays | 14 | 1–60 days |
permitClasses | ["Commercial"] | 1–3 of Commercial, Industrial, Institutional |
minProjectCostUsd | 0 | 0–10,000,000; zero includes missing estimates |
keywords | [] | Up to 8 literal phrases, 2–60 characters each |
maxSourceRecords | 200 | 1–500 |
maxResults | 100 | 1–200 paid rows |
baselineMode | emit-current | emit-current or baseline-only for a named monitor |
requestTimeoutSeconds | 20 | 5–30 |
maxRunSeconds | 120 | 40–180 |
Named monitors store only permit number, ready date, last stage, and stage sequence in a private Apify key-value store derived from monitorId. They do not store the full public source response. To start a different monitoring scope, choose a new name. One named monitor must have only one active run at a time because Apify key-value stores do not provide an atomic compare-and-swap lock.
Local development
uv sync --locked --group devuv run --locked python -B -m unittest discover -s tests -v
The pinned production dependencies are exported to requirements.txt with hashes for the Docker build. tools/validate_cloud.py checks exported run evidence against the frozen plan, dataset schema, summary, and native event count after cloud qualification.