# Texas Permits Feed — Unified Building Permits (`afpac_systems/texas-permits-feed`) Actor

Unified building permit feed for Texas metro areas (Austin, Dallas, San Antonio), normalized into one schema from official city open-data APIs. Daily sources, contractor and valuation fields where published.

- **URL**: https://apify.com/afpac_systems/texas-permits-feed.md
- **Developed by:** [Wale Aridegbe](https://apify.com/afpac_systems) (community)
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $5.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

## Texas Permits Feed — Unified Building Permits

**One clean feed of building permits from Texas's biggest metros — normalized into a single schema from the official city open-data APIs.** No logins, no keys, no stale CSVs: every run reads the source live.

### Cities covered

| City | Source | Freshness | Notable fields |
|---|---|---|---|
| **Austin** | data.austintexas.gov (Socrata, BLDS-compliant) | Daily | Valuation, contractor, sqft, council district, full description |
| **Dallas** | dallasopendata.com (Socrata) | Daily | Valuation, contractor, area, land use |
| **San Antonio** | data.sanantonio.gov (CKAN, CC BY) | Near-daily | Valuation, coordinates, applicant, area |

Fort Worth and Houston are on the roadmap — both require portal scraping rather than open APIs.

### Who uses this

- **Contractors and trades** (roofing, solar, HVAC, pools, remodeling) — fresh permits in your service area are warm leads
- **Suppliers and subs** — see which GCs are pulling permits and for how much
- **Real estate investors and developers** — track new construction, remodels and demolitions by metro
- **PropTech and researchers** — a single predictable schema across cities, daily
- **AI agents** — ask "what commercial remodels over $250k were permitted in Austin this month?" and get structured data

### What you get (sample record)

```json
{
  "permitId": "austin:2026-151799 BP",
  "city": "Austin",
  "state": "TX",
  "permitNumber": "2026-151799 BP",
  "permitType": "Building Permit",
  "workType": "Remodel",
  "permitClass": "Commercial",
  "description": "Interior finish-out for suite 200",
  "status": "Active",
  "appliedDate": "2026-10-30",
  "issuedDate": "2026-11-18",
  "address": "6000 AIRPORT BLVD",
  "zip": "78752",
  "latitude": 30.3281,
  "longitude": -97.7114,
  "valuationUsd": 185000,
  "sqft": 2400,
  "contractorName": "Harvey-Cleary Builders",
  "contractorPhone": null,
  "applicantName": null,
  "sourceName": "City of Austin Open Data",
  "sourceUrl": "https://abc.austintexas.gov/web/permit/public-search-other?...",
  "scrapedAt": "2026-11-21T09:00:00Z"
}
```

Fields a city doesn't publish are `null` — the schema is identical across cities.

### How to run it

1. Pick your **cities** (all three by default)
2. Set **Issued in the last N days** (default 7) or an explicit date range
3. Optionally filter by **class** (residential/commercial), **minimum valuation**, or **keywords** (e.g. `solar`, `pool`, `demolition`)
4. Set a **max permits** cap and run

Results land in the dataset as JSON/CSV/Excel — or pull them via the Apify API into your own pipeline. Schedule it daily or weekly for a standing feed.

### Pricing

Pay per event: **$5.00 per 1,000 permits returned**, nothing else. A daily metro watch (3 cities × ~200 permits) costs about **$1/day**; a weekly research pull is pennies.

### Notes

- All data comes from official city open-data portals via their public, documented APIs — no scraping, no rate-limit games. Austin's dataset is public domain (US Government work); San Antonio is CC BY.
- "Valuation" is the job value declared on the permit application; trade permits often declare $0.
- MCP-compatible: AI agents can discover and call this Actor through the Apify MCP server.

### Changelog

- **0.1** — initial release: Austin, Dallas, San Antonio via official APIs; unified BLDS-inspired schema; class/valuation/keyword filters

# Actor input Schema

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

Which city sources to pull. All sources are official city open-data APIs.

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

How far back from today to look for issued permits. Ignored if you set explicit dates below.

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

Explicit start date, YYYY-MM-DD. Overrides daysBack.

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

Explicit end date, YYYY-MM-DD. Defaults to today.

## `permitClass` (type: `string`):

Filter by residential or commercial where the city publishes it.

## `minValuation` (type: `integer`):

Only keep permits with a declared job valuation at or above this amount. Permits with no published valuation are dropped when this is set.

## `keywords` (type: `string`):

Free-text filter over description, permit type, work type and address. Separate multiple words with spaces; all must appear. Example: solar roof

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

Hard cap on total records across all selected cities. Controls cost — you pay per record returned.

## `socrataAppToken` (type: `string`):

Optional Socrata app token for Austin/Dallas requests — only needed for very large pulls that hit rate limits.

## Actor input object example

```json
{
  "cities": [
    "austin",
    "dallas",
    "sanantonio"
  ],
  "daysBack": 7,
  "permitClass": "any",
  "minValuation": null,
  "maxItems": 100
}
```

# Actor output Schema

## `results` (type: `string`):

Unified permit records for the selected cities, date range and filters.

# 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",
        "dallas",
        "sanantonio"
    ],
    "maxItems": 100
};

// Run the Actor and wait for it to finish
const run = await client.actor("afpac_systems/texas-permits-feed").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",
        "dallas",
        "sanantonio",
    ],
    "maxItems": 100,
}

# Run the Actor and wait for it to finish
run = client.actor("afpac_systems/texas-permits-feed").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",
    "dallas",
    "sanantonio"
  ],
  "maxItems": 100
}' |
apify call afpac_systems/texas-permits-feed --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,afpac_systems/texas-permits-feed"
        }
    }
}
```

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/7MGqHgOvm2xJeotKC/builds/mMN3vK6r4YAVfDmYo/openapi.json
