# Fort Worth Occupancy Certificates & Business Leads (`texas-data-feeds/fort-worth-certificates-of-occupancy`) Actor

Get Fort Worth certificates of occupancy with business names, addresses, use types and dates. Filter permits for commercial property and lead research.

- **URL**: https://apify.com/texas-data-feeds/fort-worth-certificates-of-occupancy.md
- **Developed by:** [Texas Data Feeds](https://apify.com/texas-data-feeds) (community)
- **Categories:** Real estate, Lead generation
- **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

## Fort Worth Occupancy Certificates & Business Leads

Get Fort Worth certificates of occupancy with business names, addresses, use types and dates. Filter permits for commercial property and lead research.

### Who is this for?

Commercial contractors, B2B lead-generation teams, brokers, property investors and researchers tracking occupancy activity.

### Example use cases

- Research recent occupancy permits for relevant service markets.
- Filter retail or office uses within a target area.
- Study tenant and change-of-use activity without assuming a business has opened.

### Sample output

Illustrative values only, not a current source record. Fields may be missing or null; see the input and output schema for the full structure.

| record_type | permit_id | occupant | use_type | status |
| --- | --- | --- | --- | --- |
| certificate_of_occupancy | EXAMPLE | Example Business | Office | Finaled |

### Data scope and limits

Public records are research signals, not verified sales leads or evidence of wrongdoing. No verified owner contact details, phone numbers or emails are promised. Source refresh delays and missing data can affect results. Confirm operational or investment decisions with the official source. Scheduling and integrations are configured separately in Apify; this actor does not contact anyone.

An occupancy certificate is not proof that a business has opened, is currently operating or remains at the address. This is not a general building-permit feed.

### Related search terms

Fort Worth certificates of occupancy, Texas occupancy permits, business leads, commercial property, tenant activity.

### Input

| Field | Meaning |
|---|---|
| `useTypes` | Keywords matched against the use type, e.g. `Sales and Service`, `Retail Store`, `Assembly`, `Office`, `Auto Repair`, `Medical Office` |
| `certificateTypes` | Keywords matched against the CO type: `Existing Ordinance` (new tenant), `Change of Use`, `New`, `Remodel`, `Addition` |
| `occupantContains` | Keep occupant or project names containing any of these strings (e.g. `DENTAL`, `TACO`) |
| `addressContains` | Keep addresses containing any of these strings (street name or number) |
| `zipCodes` | Exact ZIP codes (the City fills ZIP on only part of the records) |
| `finaledOnly` | Only certificates with status Finaled |
| `newSinceDays` | Certificates dated in the last N days (default 30) |
| `dateFrom`, `dateTo` | CO-date window (YYYY-MM-DD) |
| `nearLatitude`, `nearLongitude`, `radiusMiles` | Radius search around a point, which adds `distance_miles` |
| `maxItems` | Cap on results, newest first (default 1,000) |
| `requestDelaySecs` | Polite delay between API calls (min 1 s) |

Example (new tenants and change-of-use certificates for shops, salons and restaurants within 5 miles of downtown, last 14 days):

```json
{"useTypes": ["Sales and Service", "Retail Store", "Assembly", "Personal Grooming"],
 "certificateTypes": ["Existing Ordinance", "Change of Use"], "newSinceDays": 14,
 "nearLatitude": "32.7555", "nearLongitude": "-97.3308", "radiusMiles": 5, "maxItems": 200}
```

### How current is the data?

The City says the table is "updated Monday-Friday at 7am and may not reflect recent activity". Each run queries the live service, so schedule it daily or weekly for a new-business lead feed. A few records carry obvious data-entry dates in the future (for example 2055); the actor skips dates more than two days ahead so "newest first" stays useful.

### Data source and credit

- **City of Fort Worth Open Data**: [CFW Certificates of Occupancy Table](https://data.fortworthtexas.gov/datasets/62085ec02e2440c3b1ea4a67e30f6b00), Development Services Department. The data is licensed **[CC BY 4.0](https://creativecommons.org/licenses/by/4.0/)**. Attribution: City of Fort Worth / Development Services Department. You can download the raw data free at that link. This actor charges only for the automation it adds: filtered queries, radius search, normalization, and scheduled delivery. If you republish the data, credit the City of Fort Worth.
- This actor is **not affiliated with or endorsed by the City of Fort Worth**. No City logos are used. Changes made: field renaming, date normalization, derived `address`, `full_address`, `days_since_co` and `distance_miles`. Applicant (individual) names are left out. The occupant field is the name the City records for the occupying business and can occasionally be a person's name for sole proprietors.

### Pricing

See the current Apify Store pricing panel for active rates and effective dates. This documentation update does not change pricing.

### Etiquette and compliance

The actor sends JSON queries to the ArcGIS REST `/query` endpoint only and never scrapes the portal UI. It waits at least 1 s between requests, sends a descriptive User-Agent (`TexasDataFeeds-FortWorthCO/0.1 ...`) and backs off on 403/429 errors.

### Disclaimer

Data is provided "as is", with no warranty of accuracy, completeness or timeliness. It is not an official record, so verify with the City of Fort Worth Development Services Department before relying on it. A certificate of occupancy shows that a space was cleared for a use on a date; it does not prove the business is open, operating or still at that address. Use the data lawfully. Do not use it for any purpose covered by the FCRA (such as tenant, credit or employment screening), and follow CAN-SPAM, telemarketing (TCPA / Do-Not-Call) and direct-mail laws when contacting businesses.

# Actor input Schema

## `useTypes` (type: `array`):

Case-insensitive keywords matched against the use type: Office, Sales and Service, Retail Store, Assembly (restaurants, churches, venues), Storage, Industrial, Auto Repair, Auto Sales, Personal Grooming, Medical Office or Clinic, Education, Apartment, Mixed Use, Self Storage. Empty = all.

## `certificateTypes` (type: `array`):

Keywords matched against the CO type: Existing Ordinance (new tenant in an existing building), Change of Use, New, Remodel, Addition. Empty = all.

## `occupantContains` (type: `array`):

Keep certificates whose occupant or project name contains any of these strings (e.g. 'DENTAL', 'BURGER'). Empty = all.

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

Keep certificates whose address contains any of these strings (e.g. 'CAMP BOWIE' or 'MAGNOLIA'). Empty = all.

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

Optional exact ZIP codes (e.g. 76107). Note: the City fills ZIP on only part of the records, so prefer address or radius filters.

## `finaledOnly` (type: `boolean`):

Only certificates with status Finaled (issued and closed out).

## `newSinceDays` (type: `integer`):

Keep certificates dated within the last N days. 0 = no limit. The City refreshes this table Monday-Friday.

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

Optional earliest certificate date.

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

Optional latest certificate date (inclusive).

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

Optional radius search center latitude, e.g. 32.7555

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

Optional radius search center longitude, e.g. -97.3308

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

Radius around the center point. 0 = no radius filter. Records without coordinates are skipped when a radius is set.

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

Newest first. Caps cost; 0 = no hard limit (pages 1,000 at a time).

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

Polite pause between API calls.

## Actor input object example

```json
{
  "useTypes": [
    "Sales and Service",
    "Retail Store",
    "Assembly"
  ],
  "finaledOnly": false,
  "newSinceDays": 30,
  "radiusMiles": 0,
  "maxItems": 1000,
  "requestDelaySecs": 1
}
```

# Actor output Schema

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

Dataset with all output 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 = {
    "useTypes": [
        "Sales and Service",
        "Retail Store",
        "Assembly"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("texas-data-feeds/fort-worth-certificates-of-occupancy").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 = { "useTypes": [
        "Sales and Service",
        "Retail Store",
        "Assembly",
    ] }

# Run the Actor and wait for it to finish
run = client.actor("texas-data-feeds/fort-worth-certificates-of-occupancy").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 '{
  "useTypes": [
    "Sales and Service",
    "Retail Store",
    "Assembly"
  ]
}' |
apify call texas-data-feeds/fort-worth-certificates-of-occupancy --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,texas-data-feeds/fort-worth-certificates-of-occupancy"
        }
    }
}
```

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/NEPLRrid4eGGIe0GP/builds/joLOBRK72UPKpmuIe/openapi.json
