# Texas Business Leads – New Sales Tax Permits & Entity Search (`gazidev/texas-new-business-leads`) Actor

New Texas businesses from the Comptroller's public-domain sales tax permit file: business and store name, store address, county, NAICS, permit issue date, mailing address. Filter by city, county, ZIP, industry. Search by name or taxpayer number. Franchise status optional. $0.80 per 1,000.

- **URL**: https://apify.com/gazidev/texas-new-business-leads.md
- **Developed by:** [Cemal Atakli](https://apify.com/gazidev) (community)
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.80 / 1,000 business (permit)s

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 Business Leads – New Sales Tax Permits & Texas Entity Search

Get **newly permitted Texas businesses and store locations** every day, straight from the Texas Comptroller's official **Active Sales Tax Permit Holders** dataset on data.texas.gov. Each row has the business name, the **store (outlet) name and street address**, county, **NAICS industry**, **permit issue date**, first sales date, legal form, mailing address and Texas taxpayer number. You can also **search all ~895,000 active permits** by name, taxpayer number, city, county, ZIP or industry.

- **$0.80 per 1,000 businesses.** Other Texas business Actors on the Store charge $1.50 to $15 per 1,000, some with a start fee on top.
- **Places that sell something.** A sales tax permit is what a Texas business needs before it opens a shop, restaurant, salon or online store. That is a different signal from an LLC filing, which may never open a location.
- **Store-level addresses.** One row per location, with the store name as well as the legal name behind it.
- **Public-domain state data, official API.** No website scraping, no captcha, no browser. A default run takes about 3 seconds.
- **Companies by default.** Sole owners, estates and partnerships of individuals are left out unless you ask for them.

### What can I use it for?

- **New-business lead lists:** restaurants that got a permit this week in Harris County, new salons in Dallas, new retail in Austin 787xx. Useful for POS, payments, insurance, signage, bookkeeping, cleaning, security, food supply and web design.
- **Pre-opening outreach:** `firstSalesDate` is often in the future, so you can reach a store before it opens.
- **New locations of existing chains:** `isFirstOutlet: false` marks an additional outlet of a taxpayer.
- **Texas entity search / vendor checks:** look up a name or taxpayer number, list all its active stores, and add the Secretary of State file number, charter date and right to transact business.
- **Site selection and market research:** count new permits by county, ZIP or NAICS code.
- **Monitoring:** schedule it daily with `onlyNew` and pay only for permits you have not seen.

### Input

| Field | Description | Default |
|---|---|---|
| `mode` | `newPermits` (recently issued permits) or `search` (all active permits, no date limit unless you set one) | `newPermits` |
| `issuedWithinDays` | New permits mode: last N days, counted from the newest permit in the state file | 7 |
| `issuedAfter` / `issuedBefore` | Optional permit issue dates (YYYY-MM-DD), both modes | – |
| `counties` | County names of the store, e.g. `Harris`, `Travis` | – |
| `cities` | Exact store city | – |
| `zipCodes` | Store ZIP codes or prefixes (`78701`, `787`) | – |
| `naicsPrefixes` | 2–6 digits: `722` restaurants and bars, `44`/`45` retail, `238` specialty trades, `8121` salons | – |
| `nameContains` | Business or store name contains any of these | – |
| `taxpayerNumbers` | 11-digit Texas taxpayer numbers (use `mode: search`) | – |
| `organizationTypes` | Legal forms (`CL` Texas LLC, `CT` Texas corporation, …) | all |
| `excludeIndividuals` | Leave out sole owners, estates and partnerships of individuals | true |
| `firstOutletOnly` | Only outlet number 1 of each taxpayer | false |
| `addFranchiseStatus` | Add franchise tax status (+$0.0003 per matched row) | false |
| `onlyNew` | Skip permits already returned for the same filters | false |
| `maxItems` | Stop after this many rows | 100 |

```json
{
  "mode": "newPermits",
  "issuedWithinDays": 14,
  "counties": ["Harris", "Fort Bend"],
  "naicsPrefixes": ["722"],
  "firstOutletOnly": true,
  "maxItems": 500
}
```

### Output

One row per active permit (= one store or outlet). Example:

```json
{
  "businessName": "EXAMPLE TACOS LLC",
  "outletName": "EXAMPLE TACOS & CANTINA",
  "outletAddress": "100 EXAMPLE ST STE A",
  "outletCity": "AUSTIN",
  "outletState": "TX",
  "outletZip": "78701",
  "outletCounty": "Travis",
  "outletFullAddress": "100 EXAMPLE ST STE A, AUSTIN, TX 78701",
  "insideCityLimits": true,
  "naics": "722511",
  "naicsLabel": "Full-Service Restaurants",
  "naicsSector": "Accommodation and Food Services",
  "permitIssueDate": "2026-11-20",
  "firstSalesDate": "2026-12-01",
  "taxpayerNumber": "32000000000",
  "outletNumber": "1",
  "isFirstOutlet": true,
  "organizationType": "Texas Limited Liability Company",
  "organizationTypeCode": "CL",
  "isIndividual": false,
  "mailingAddress": "PO BOX 1",
  "mailingCity": "AUSTIN",
  "mailingState": "TX",
  "mailingZip": "78701",
  "mailingCounty": "Travis",
  "mailingFullAddress": "PO BOX 1, AUSTIN, TX 78701",
  "mailingSameAsOutlet": false,
  "source": "Texas Comptroller of Public Accounts - Active Sales Tax Permit Holders",
  "datasetUrl": "https://data.texas.gov/d/jrea-zgmq"
}
```

With `addFranchiseStatus`, a row also has `franchise`: `sosFileNumber`, `charterDate`, `responsibilityBeginDate`, `rightToTransact`, `sosStatusCode`, `sosStatusDate` (or `null` when the taxpayer is not in that file). The run summary is saved as `OUTPUT` in the key-value store.

### Pricing

Pay per event:

| Event | Price |
|---|---|
| Business (one output row) | **$0.0008** ($0.80 per 1,000) |
| Franchise status (only rows with a match, only when you turn it on) | $0.0003 ($0.30 per 1,000) |
| Actor start | $0.00005 |

Runs without a match, rows skipped by `onlyNew` and rows removed by filters cost nothing more than the start. The Actor stops cleanly at your maximum total charge.

| Actor | Price per 1,000 |
|---|---|
| **This Actor** | **$0.80** |
| bovi/texas-taxable-entity | $1.50 |
| automation-lab | $2.20 + $0.005 per run |
| pink_comic/texas-business-leads | $3.00 + $0.002 per run |
| scrapers_lat | $15.00 |

(Store prices as listed in November 2026. Some of these Actors return officers or registered agents, which this one does not.)

### Our related Actors

- **[US Business Entity Search & New LLC Leads](https://apify.com/gazidev/us-business-entity-leads)** lists *legal entities* in NY, TX, PA, CO, CT and OR (its Texas source is the franchise tax file). This Actor lists *stores and sales tax permits*: outlet name and address, NAICS for almost every row, permit issue date, and shops that never formed an LLC.
- **[Florida Sunbiz New Business Leads](https://apify.com/gazidev/florida-new-business-leads)** has new Florida LLCs, corporations and DBAs.
- **[Contractor License Search](https://apify.com/gazidev/contractor-license-search)** covers Texas (TDLR), WA, OR and NY contractors. **[Liquor License Leads](https://apify.com/gazidev/liquor-license-leads)** and **[Building Permits Search](https://apify.com/gazidev/building-permits-search)** add two more opening signals.

### FAQ

**How fresh is it?** The Comptroller refreshes the dataset regularly (on 23 November 2026 the newest permit was 2 days old). `issuedWithinDays` counts back from that newest date.

**How many new permits are there?** About 2,900 company permits in a week and 11,000 in a month. Individuals add roughly 45% more.

**Is every "new permit" a new company?** No. An existing business also gets a permit for an additional or moved location. Use `firstOutletOnly` to keep the first outlet of each taxpayer, and `addFranchiseStatus` to see the charter date.

**Does it have phone numbers, emails, owners or registered agents?** No. The state file does not contain them, and this Actor does not look them up.

**Are closed businesses included?** No. The file has active permits only.

**Which NAICS version?** The state still uses 2017 codes and a few older or summary codes. Labels are the official Census Bureau titles (2017 first). A code without its own title gets the title of its parent group. The code is what the business reported, so it can be wrong.

**Can it find every Texas LLC?** No. Only businesses with a sales tax permit are here. Law firms, holding companies and others that do not sell taxable goods or services are usually missing. Use US Business Entity Search for those.

**How does `onlyNew` decide?** It remembers taxpayer number + outlet number per set of filters (dates and `maxItems` are ignored) for 200 days, up to 200,000 permits. Changing a filter starts a new memory.

### Data source and licence

Texas Comptroller of Public Accounts, *Active Sales Tax Permit Holders* ([data.texas.gov/d/jrea-zgmq](https://data.texas.gov/d/jrea-zgmq)), licence: **Public Domain**. The optional franchise status comes from the Comptroller's *Active Franchise Taxpayers* dataset (9cir-efmm), published on the same portal without a stated licence. NAICS titles: US Census Bureau (public domain). The Actor uses the portal's public API with at most one request per second, as its robots.txt asks. It is not affiliated with or endorsed by the State of Texas. Data is provided as is.

### Personal data (GDPR / CCPA / Texas TDPSA)

Individuals, sole owners, estates and partnerships of individuals are excluded by default. A company name can still contain a person's name, and a small company may be registered at a home address. If you turn `excludeIndividuals` off, the rows are personal data: use them only for a lawful purpose, respect opt-outs and do-not-contact rules, and do not combine them with other data in ways the law forbids. This Actor does no contact enrichment.

### Use with AI agents (Apify MCP)

Add this Actor to Claude, Cursor or any MCP client through the [Apify MCP server](https://mcp.apify.com) (`gazidev/texas-new-business-leads`). An agent can call it with input like `{"cities": ["SAN ANTONIO"], "naicsPrefixes": ["722"], "issuedWithinDays": 14, "maxItems": 50}` or `{"mode": "search", "nameContains": ["BUC-EE"], "maxItems": 100}` and get structured JSON back.

# Actor input Schema

## `mode` (type: `string`):

New permits = businesses and stores whose Texas sales tax permit was issued recently. Search = look through all ~895,000 active permits by name, taxpayer number, city, county or industry (no date limit unless you set dates).

## `issuedWithinDays` (type: `integer`):

Used in New permits mode. Counted back from the newest permit date in the state file, which is usually 1-3 days old. 7 days is about 3,000 company permits. Ignored when you set the dates below.

## `issuedAfter` (type: `string`):

Optional first permit issue date (YYYY-MM-DD). Works in both modes.

## `issuedBefore` (type: `string`):

Optional last permit issue date (YYYY-MM-DD). Works in both modes.

## `counties` (type: `array`):

Texas counties of the store, e.g. Harris, Dallas, Travis (or the Comptroller's 3-digit code).

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

Exact city of the store, e.g. HOUSTON, AUSTIN, PLANO. Case does not matter.

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

ZIP of the store: 78701 for one ZIP, 787 for every ZIP that starts with 787.

## `naicsPrefixes` (type: `array`):

2 to 6 digits of the NAICS code the business reported, e.g. 722 (restaurants and bars), 44 and 45 (retail), 238 (specialty trade contractors), 8121 (salons), 811 (repair shops). The file uses 2017 and some older codes.

## `nameContains` (type: `array`):

Business (taxpayer) name or store name contains one of these words.

## `taxpayerNumbers` (type: `array`):

11-digit Comptroller taxpayer numbers to look up. Use with mode Search. Returns every active store of the taxpayer.

## `organizationTypes` (type: `array`):

Keep only these legal forms. Empty = all.

## `excludeIndividuals` (type: `boolean`):

Leaves out sole owners, estates and partnerships of individuals. Their rows are personal data and often show a home address. Turn this off only if you have a lawful purpose for them.

## `firstOutletOnly` (type: `boolean`):

Only outlet number 1 of each taxpayer. In New permits mode this drops extra locations of businesses that already had a permit.

## `addFranchiseStatus` (type: `boolean`):

Adds the Secretary of State file number, charter date and right to transact business from the Comptroller's Active Franchise Taxpayers file. $0.0003 per matched row; rows without a match are free. Only some legal forms are in that file.

## `onlyNew` (type: `boolean`):

For scheduled runs: remembers the permits already returned for this exact set of filters (named key-value store texas-permit-seen in your account) and skips them, free of charge.

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

Stop after this many rows.

## Actor input object example

```json
{
  "mode": "newPermits",
  "issuedWithinDays": 7,
  "excludeIndividuals": true,
  "firstOutletOnly": false,
  "addFranchiseStatus": false,
  "onlyNew": false,
  "maxItems": 10
}
```

# Actor output Schema

## `overview` (type: `string`):

No description

## `details` (type: `string`):

No description

## `summary` (type: `string`):

No description

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

No description

# 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 = {
    "mode": "newPermits",
    "issuedWithinDays": 7,
    "maxItems": 10
};

// Run the Actor and wait for it to finish
const run = await client.actor("gazidev/texas-new-business-leads").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 = {
    "mode": "newPermits",
    "issuedWithinDays": 7,
    "maxItems": 10,
}

# Run the Actor and wait for it to finish
run = client.actor("gazidev/texas-new-business-leads").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 '{
  "mode": "newPermits",
  "issuedWithinDays": 7,
  "maxItems": 10
}' |
apify call gazidev/texas-new-business-leads --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,gazidev/texas-new-business-leads"
        }
    }
}
```

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/h8jIY1LGIoZTBTfJl/builds/bsdEes0QyvrqOc5J2/openapi.json
