# Austin, TX Building Permits — Official Open Data (`apiflows/us-municipal-building-permits`) Actor

Extract standardized building permit records for Austin, Texas from the City of Austin's official open data API (public domain data). Filter by trade category, keyword, minimum valuation, and issue date into one clean JSON schema for pipelines, analytics, and AI agents.

- **URL**: https://apify.com/apiflows/us-municipal-building-permits.md
- **Developed by:** [APIFLOWS DEV](https://apify.com/apiflows) (community)
- **Features:** Limited permissions, Single-tenant, Server interface
- **Stats:** 1 total users, 0 monthly users, 0.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $5.00 / 1,000 permit records

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.

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 Building Permits — Official Open Data

Extract standardized building permit records for **Austin, Texas** from the City of Austin's official open data API, in one clean, fixed JSON schema.

The City of Austin publishes issued construction permits through its open data portal. This Actor queries the official Socrata API directly, normalizes every record into a fixed schema, classifies the construction trade, deduplicates, and delivers dataset items that pipelines, analytics tools, and AI agents can consume without writing their own Socrata integration.

### What you get

- **Official public records only** — data comes straight from the City of Austin's open data endpoint; no synthetic or fabricated rows.
- **Public domain data** — the City of Austin offers its open data free and without restriction; datasets are in the public domain unless otherwise noted (see Attribution below).
- **Built-in trade classification** — filter by Solar, Roofing, Pool, ADU, HVAC, Electrical, or New Construction, or add your own keyword.
- **Business data only** — output includes permit IDs, property addresses, valuations, work descriptions, and contractor *business* names. Individual homeowner/applicant names, phone numbers, and emails are never included.
- **Pay per result** — you are charged per permit record delivered ($0.005/record), plus a minimal Actor start fee. Set a maximum total charge on the run to cap spend; the Actor stops gracefully when the cap is reached.

### Data source

| City | State | Official open-data portal | Dataset | Endpoint ID |
| :--- | :--- | :--- | :--- | :--- |
| **Austin** | TX | `data.austintexas.gov` | Issued Construction Permits | `3syk-w9eu` |

### Input parameters

| Parameter | Type | Description |
| :--- | :--- | :--- |
| `cities` | Array | Currently `austin` only. |
| `tradeFilter` | String | `all`, `solar`, `roofing`, `pool`, `adu`, `hvac`, `electrical`, or `new_construction`. |
| `customKeyword` | String | Optional case-insensitive keyword matched against the work description (e.g. `"EV CHARGER"`, `"SIDING"`, `"REMODEL"`). |
| `daysBack` | Integer | Fetch permits issued within the last N days (default `30`, max `365`). |
| `minValuationUsd` | Integer | Only return permits at or above this estimated project cost (default `0`). |
| `maxItemsPerCity` | Integer | Maximum matching records (default `100`). |

### Output example (normalized JSON)

```json
{
  "city": "Austin",
  "state": "TX",
  "permit_id": "2026-123456 BP",
  "issued_date": "2026-11-12",
  "permit_type": "Building Permit",
  "trade_category": "roofing",
  "status": "Issued",
  "estimated_value_usd": 24500.0,
  "address": "2410 EXAMPLE ST",
  "zip_code": "78704",
  "contractor_name": "EXAMPLE ROOFING CO LLC",
  "work_description": "Residential roofing replacement.",
  "source_endpoint": "https://data.austintexas.gov/resource/3syk-w9eu.json",
  "scraped_at": "2026-11-17T00:00:00+00:00"
}
```

### Attribution

Permit data: **City of Austin, Texas — Austin Development Services**, via the City of Austin Open Data Portal (https://data.austintexas.gov). Per the City of Austin Open Data Terms of Use, data on the portal are offered free and without restriction and are in the public domain unless otherwise noted.

### Data notes

- Records are retrieved live from the official endpoint at run time; each item carries its `source_endpoint` and retrieval timestamp (`scraped_at`) for provenance.
- The City of Austin provides the data "as is" and makes no warranty as to accuracy, timeliness, or completeness. Verify critical records against the source portal.
- Permit coverage, fields, and update cadence are controlled by the City and may change without notice.

# Actor input Schema

## `cities` (type: `array`):

Select which official municipal open-data portals to query.

## `customKeyword` (type: `string`):

Optional keyword to match inside the work description (e.g. 'EV CHARGER', 'SIDING', 'FOUNDATION'). Case-insensitive.

## `daysBack` (type: `integer`):

Fetch permits issued within the last N days.

## `maxItemsPerCity` (type: `integer`):

Maximum number of matching permit records to extract per selected city.

## `minValuationUsd` (type: `integer`):

Only return permits with an estimated valuation equal to or greater than this amount (0 includes permits with unlisted cost).

## `tradeFilter` (type: `string`):

Filter permits by specific construction trade keywords, or choose 'all' for every permit type.

## Actor input object example

```json
{
  "cities": [
    "austin"
  ],
  "customKeyword": "SOLAR",
  "daysBack": 30,
  "maxItemsPerCity": 100,
  "minValuationUsd": 0,
  "tradeFilter": "all"
}
```

# Actor output Schema

## `permits` (type: `string`):

Normalized building permit records in the default dataset.

# 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 = {
    "cities": [
        "austin"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("apiflows/us-municipal-building-permits").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 = { "cities": ["austin"] }

# Run the Actor and wait for it to finish
run = client.actor("apiflows/us-municipal-building-permits").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 '{
  "cities": [
    "austin"
  ]
}' |
apify call apiflows/us-municipal-building-permits --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,apiflows/us-municipal-building-permits"
        }
    }
}
```

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/xKbam8Wx1Eal8lW0e/builds/tOWuMaU7DMbX8CKj6/openapi.json
