# Code violation leads, Atlanta, last 14 days

**Use case:** 

Code enforcement complaints and violations opened in Atlanta, Georgia in the last 14 days, with property address and case details. Distressed-property leads for investors and wholesalers.

## Input

```json
{
  "agency": "ATLANTA_GA",
  "portalUrl": "https://aca-prod.accela.com/ATLANTA_GA/",
  "module": "Enforcement",
  "dateFrom": "2026-09-01",
  "dateTo": "2026-09-14",
  "lastDays": 14,
  "recordTypes": [],
  "permitTypeContains": [
    "complaint",
    "violation"
  ],
  "minValuation": 0,
  "maxResults": 200,
  "maxPages": 60,
  "includeDetails": false,
  "includeOwnerName": false,
  "sinceLastRun": false,
  "statusBaseline": [],
  "statusChangesOnly": false,
  "statusMonitorMaxPages": 100,
  "statusMonitorMaxRecords": 5000
}
```

## Output

```json
{
  "permitNumber": {
    "label": "Case number",
    "format": "string"
  },
  "agencyName": {
    "label": "Agency name",
    "format": "string"
  },
  "module": {
    "label": "Module",
    "format": "string"
  },
  "status": {
    "label": "Case status",
    "format": "string"
  },
  "appliedDate": {
    "label": "Case date",
    "format": "string"
  },
  "addressFull": {
    "label": "Site address",
    "format": "string"
  },
  "permitType": {
    "label": "Case type",
    "format": "string"
  },
  "description": {
    "label": "Case description",
    "format": "string"
  },
  "detailUrl": {
    "label": "Case detail URL",
    "format": "string"
  },
  "statusChanged": {
    "label": "Status changed",
    "format": "boolean"
  }
}
```

## About this Actor

This example demonstrates how to use [Code Violation Leads (Accela Code Enforcement Cases)](https://apify.com/finaldynamics/code-violation-leads.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/finaldynamics/code-violation-leads.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/code-violation-leads.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`).
