# Austin TX Code Complaint Cases Feed (`texas-data-feeds/austin-code-complaints`) Actor

Austin TX code enforcement complaint cases: property abatement, structure condition, land use, work without permit, short-term rental flags, status, outcome, address and coordinates. City open data.

- **URL**: https://apify.com/texas-data-feeds/austin-code-complaints.md
- **Developed by:** [Texas Data Feeds](https://apify.com/texas-data-feeds) (community)
- **Categories:** Real estate, Lead generation, Developer tools
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.00 / 1,000 results

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

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 examples already wired to this Actor's own input schema, see the [API](#api) section below.

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`).

# README

## Austin TX Code Complaint Cases Feed

Get **City of Austin, Texas code enforcement complaint cases** as clean, filterable JSON/CSV. Each record has the **case id, status (active, pending, closed), complaint type (property abatement, structure condition violations, land use violations, work without permit), priority, opened, closed and last-updated dates, days open, the latest outcome (for example "Closed due to Voluntary Compliance" or "Legal Action"), property address and ZIP, parcel id, latitude/longitude, and flags for repeat-offender and short-term-rental related cases**. Filter by **status, complaint type, outcome, ZIP, address, priority, short-term-rental flag, repeat-offender flag, opened date, recency or a radius around any point**. Newest cases come first, and filtering runs on the City's server so you only pay for rows you need.

The City publishes more than 80,000 cases and refreshes the data daily. This actor makes it practical to pull "every new complaint this week in ZIP 78702", "active short-term-rental complaints" or "work-without-permit cases near a project".

**Who uses it:** investors and wholesalers looking for distressed or neglected properties, real-estate agents and appraisers, title and insurance teams, property managers and short-term-rental hosts watching compliance, contractors, neighborhood groups, journalists and researchers. Pairs with the Texas Data Feeds Austin permit feed and the Fort Worth code violations feed.

### Important limits

A complaint is an **allegation, not proof of a violation**; many cases close with "No Violation(s) Found". Only the **property address** of the case is returned. The inspector name and phone, and the service request number, are deliberately **not returned**, and complainants are not part of the City's data. Cases can change status later. Verify with the City before relying on a record.

### Output

One row per case (`record_type = code_complaint`): `case_id`, `status`, `complaint_type`, `case_type`, `department`, `priority`, `opened_date`, `closed_date`, `last_updated_date`, `last_update_outcome`, `days_open`, `address`, `full_address`, `zip_code`, `parcel_id`, `latitude`, `longitude`, `repeat_offender_related`, `short_term_rental_related`, `violation_case_number`, plus `license`, `source_url`, `data_url`, `scraped_at`. If nothing matches, one `no_match` row explains why.

### Input examples

Active short-term-rental complaints:

```json
{"statuses": ["Active"], "shortTermRentalOnly": true, "openedSinceDays": 0, "maxItems": 200}
```

Work-without-permit cases opened in the last 60 days in two ZIP codes:

```json
{"complaintTypeContains": ["Work Without Permit"], "zipCodes": ["78702", "78704"], "openedSinceDays": 60}
```

Everything within 2 miles of the Texas Capitol:

```json
{"nearLatitude": "30.2747", "nearLongitude": "-97.7404", "radiusMiles": 2, "openedSinceDays": 14}
```

### Pricing

Pay per event: **$0.005 per run start + $0.002 per result**. Set `maxItems` to cap cost. A typical week of new cases for the whole city is a few hundred rows, so filter first for bigger pulls.

### Data source and license

City of Austin, Texas, Austin Code Department, "Austin Code Complaint Cases" on the City open data portal (data.austintexas.gov), licensed **Public Domain U.S. Government** under the City of Austin Open Data Terms of Use. The actor makes low-rate requests to the portal's public SODA API (the site's robots.txt allows it), and is not affiliated with or endorsed by the City of Austin.

Search terms: Austin code complaints, Austin code enforcement data, Austin code violations, Austin short term rental complaints, Austin work without permit, Austin property abatement, distressed property leads Austin, Austin code compliance API.

# Actor input Schema

## `statuses` (type: `array`):

Status contains any of: Active, Pending, Closed.

## `complaintTypeContains` (type: `array`):

e.g. Property Abatement, Structure Condition, Land Use, Work Without Permit.

## `outcomeContains` (type: `array`):

e.g. Voluntary Compliance, Legal Action, Follow-up Inspection.

## `addressContains` (type: `array`):

e.g. CONGRESS, LAMAR.

## `zipCodes` (type: `array`):

e.g. 78745, 78702.

## `priorities` (type: `array`):

City priority codes, e.g. 2, 3, 5.

## `shortTermRentalOnly` (type: `boolean`):

Only cases flagged as short-term-rental related.

## `repeatOffenderOnly` (type: `boolean`):

Only cases flagged repeat-offender related.

## `openedSinceDays` (type: `integer`):

0 = no recency filter.

## `dateFrom` (type: `string`):

YYYY-MM-DD, opened on/after.

## `dateTo` (type: `string`):

YYYY-MM-DD, opened on/before.

## `nearLatitude` (type: `string`):

Optional, with longitude and radius, e.g. 30.2672

## `nearLongitude` (type: `string`):

Optional, e.g. -97.7431

## `radiusMiles` (type: `integer`):

Used with near latitude/longitude.

## `maxItems` (type: `integer`):

Cap on results. Default 50; set 0 for no limit (80,000+ rows exist, so use filters).

## `requestDelaySecs` (type: `integer`):

Politeness delay, minimum 1.

## Actor input object example

```json
{
  "statuses": [],
  "complaintTypeContains": [],
  "outcomeContains": [],
  "addressContains": [],
  "zipCodes": [],
  "priorities": [],
  "shortTermRentalOnly": false,
  "repeatOffenderOnly": false,
  "openedSinceDays": 30,
  "radiusMiles": 0,
  "maxItems": 50,
  "requestDelaySecs": 1
}
```

# Actor output Schema

## `dataset` (type: `string`):

Dataset with all code complaint records

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {};

// Run the Actor and wait for it to finish
const run = await client.actor("texas-data-feeds/austin-code-complaints").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {}

# Run the Actor and wait for it to finish
run = client.actor("texas-data-feeds/austin-code-complaints").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{}' |
apify call texas-data-feeds/austin-code-complaints --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,texas-data-feeds/austin-code-complaints"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/gChUN7hd2C5zv2jGr/builds/m9vZbUlsNJhruF2yn/openapi.json
