# Contractor signals: San Diego County, electric watchlist

**Use case:** 

Contractor signals from San Diego County building permits: first-seen contractors, new projects and repeat activity, with contractors whose name contains ELECTRIC flagged as watchlist matches.

## Input

```json
{
  "socrataHost": "data.sandiegocounty.gov",
  "resourceId": "dyzh-7eat",
  "dateField": "issued_date",
  "currentWindowDays": 14,
  "baselineWindowDays": 90,
  "watchlist": [
    "ELECTRIC"
  ],
  "fetchLimit": 2000
}
```

## Output

```json
{
  "signal_type": {
    "label": "Signal type",
    "format": "string"
  },
  "contractor": {
    "label": "Contractor",
    "format": "string"
  },
  "permit_id": {
    "label": "Permit/project identifier",
    "format": "string"
  },
  "current_activity": {
    "label": "Current activity",
    "format": "string"
  },
  "review_reason": {
    "label": "Review reason",
    "format": "string"
  },
  "observed_at": {
    "label": "Observed at",
    "format": "string"
  }
}
```

## About this Actor

This example demonstrates how to use [New Contractor Alerts from Building Permits (Socrata)](https://apify.com/engineertsaistudio/contractor-activity-signals.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/engineertsaistudio/contractor-activity-signals.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/engineertsaistudio/contractor-activity-signals.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`).
