# Get a 20-year building permit history for Seattle addresses

**Use case:** 

Pulls up to 20 years of City of Seattle building permits for each address and returns one row per address: permit count, earliest and latest permit dates, open permits, and whether any permit expired without being completed, with a plain-English summary. Used by home buyers, appraisers and property managers researching past work on a building. Example checks 3 non-residential Seattle addresses.

## Input

```json
{
  "addresses": [
    "400 Broad St",
    "305 Harrison St",
    "600 4th Ave"
  ],
  "city": "seattle",
  "lookbackYears": 20,
  "maxPermitsPerAddress": 300,
  "maxRunSeconds": 240
}
```

## Output

```json
{
  "queryAddress": {
    "label": "Address",
    "format": "text"
  },
  "city": {
    "label": "City",
    "format": "text"
  },
  "state": {
    "label": "State",
    "format": "text"
  },
  "matchConfidence": {
    "label": "Match",
    "format": "text"
  },
  "permitCount": {
    "label": "Permits",
    "format": "number"
  },
  "permitCapReached": {
    "label": "Cap reached",
    "format": "boolean"
  },
  "openPermitCount": {
    "label": "Open",
    "format": "number"
  },
  "statusUnknownCount": {
    "label": "Status unknown",
    "format": "number"
  },
  "issuedNeverFinaledCount": {
    "label": "Issued, not finaled",
    "format": "number"
  },
  "expiredButOpen": {
    "label": "Expired & open",
    "format": "boolean"
  },
  "expiredButOpenCount": {
    "label": "Expired & open #",
    "format": "number"
  },
  "earliestPermit": {
    "label": "Earliest",
    "format": "text"
  },
  "latestPermit": {
    "label": "Latest",
    "format": "text"
  },
  "humanSummary": {
    "label": "Summary",
    "format": "text"
  },
  "verdictBasis": {
    "label": "Verdict basis",
    "format": "text"
  },
  "scrapedAt": {
    "label": "Checked at",
    "format": "text"
  }
}
```

## About this Actor

This example demonstrates how to use [Building Permit Address Lookup - Open & Expired Permit Check](https://apify.com/maydit/building-permit-address-lookup.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/maydit/building-permit-address-lookup.md) to learn more, explore other use cases, and run it yourself.


## How to integrate an Actor?

This Task's input is already configured above. Use it as-is rather than inventing a new one.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For full API examples (JavaScript, Python, CLI, MCP, OpenAPI), see this Task's Actor page: https://apify.com/maydit/building-permit-address-lookup.md

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).
