# Check NYC buildings for open and expired DOB permits

**Use case:** 

Checks New York City street addresses against DOB NOW approved work permits from the last 10 years and returns one row per address: permits on record, how many are still open, and how many are past their expiration date without being signed off. Used by tenants, landlords, lenders and brokers. Numbered streets can be typed normally (151 West 34th Street). Example checks 3 Manhattan buildings.

## Input

```json
{
  "addresses": [
    "11 Wall Street",
    "405 Lexington Avenue",
    "1 Vanderbilt Avenue"
  ],
  "city": "new_york",
  "lookbackYears": 10,
  "maxPermitsPerAddress": 200,
  "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`).
