# Sacramento roofing and solar permits, last 14 days

**Use case:** 

Roofing and solar building permits applied for in Sacramento, California in the last 14 days, with address, valuation and contractor details. For roofing and solar installers and suppliers looking for active projects.

## Input

```json
{
  "agency": "SACRAMENTO",
  "portalUrl": "https://aca-prod.accela.com/SACRAMENTO/",
  "module": "Building",
  "dateFrom": "2026-09-06",
  "dateTo": "2026-09-13",
  "lastDays": 14,
  "recordTypes": [],
  "permitTypeContains": [
    "roof",
    "solar"
  ],
  "minValuation": 0,
  "maxResults": 200,
  "maxPages": 60,
  "includeDetails": true,
  "includeOwnerName": false,
  "sinceLastRun": false,
  "statusBaseline": [],
  "statusChangesOnly": false,
  "statusMonitorMaxPages": 100,
  "statusMonitorMaxRecords": 5000
}
```

## Output

```json
{
  "permitNumber": {
    "label": "Permit number",
    "format": "string"
  },
  "agencyName": {
    "label": "Agency name",
    "format": "string"
  },
  "module": {
    "label": "Module",
    "format": "string"
  },
  "status": {
    "label": "Permit status",
    "format": "string"
  },
  "appliedDate": {
    "label": "Applied date",
    "format": "string"
  },
  "addressFull": {
    "label": "Site address",
    "format": "string"
  },
  "permitType": {
    "label": "Permit type",
    "format": "string"
  },
  "description": {
    "label": "Permit description",
    "format": "string"
  },
  "detailUrl": {
    "label": "Permit detail URL",
    "format": "string"
  },
  "declaredValuationUsd": {
    "label": "Declared valuation (USD)",
    "format": "number"
  }
}
```

## About this Actor

This example demonstrates how to use [Accela Building Permit Scraper: Contractors & Status Changes](https://apify.com/finaldynamics/building-permit-lookup-scraper.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/finaldynamics/building-permit-lookup-scraper.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/finaldynamics/building-permit-lookup-scraper.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`).
