# Texas New Business Locations: Daily Sales Tax Permits (`moment-data/texas-new-business-locations-feed`) Actor

Daily feed of new Texas business locations from the Texas Comptroller's official sales tax permit data: new stores, restaurants and shops opened by companies, with NAICS industry, city/ZIP/county, first sales date and chain-expansion flag. Filters + 'new since last run'.

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

## Pricing

from $3.00 / 1,000 location records

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 New Business Locations Feed (Daily Sales Tax Permits)

Every business that sells taxable goods or services in Texas must get a **sales tax permit for each location before it opens**. The Texas Comptroller publishes those permits as open data. This Actor turns that file into a clean daily feed of **new business locations opened by companies**: new restaurants, stores, salons, clinics, warehouses and franchise units, often **weeks before they open**.

- **Fresh every day**: ~500-1,500 new company locations per day across all 254 Texas counties.
- **Before opening day**: each record has the permit date and the planned **first sales date** (`opensInFuture: true` when it is still ahead).
- **Chain & franchise expansion signal**: `additionalLocation: true` when the company already holds other Texas outlets (e.g. a franchisee opening its 12th Taco Bell). `outOfStateCompany` flags national brands expanding into Texas.
- **Industry**: 6-digit NAICS code plus sector title. Filter by NAICS prefix (e.g. `7225` restaurants, `8121` salons, `4451` grocery).
- **Where**: outlet city, ZIP, county (name and Comptroller code), inside/outside city limits. Street address optional.
- **Who**: legal company name, location/trade name, entity type (LLC, corporation, nonprofit, partnership), Texas taxpayer number, company HQ city/state.
- **"New since last run" mode** for scheduled lead feeds: never pay twice for the same location.

### Who uses it

- **B2B sales & lead gen**: POS, payments, insurance, payroll, signage, cleaning, security, uniforms, food suppliers, commercial real estate, utilities - reach new locations before competitors.
- **Agencies & marketers**: grand-opening campaigns, local marketing, brand activations at new stores.
- **Market & franchise intelligence**: track which chains are expanding where, by county and industry.
- **Local economic development & journalism**: new business openings by city/county.

### Quick start

Run with an empty input `{}` to get the 30 newest company locations (newest permit day, ~2 seconds).

Examples:

```json
{ "naicsPrefixes": ["7225"], "counties": ["Harris", "Travis"], "daysBack": 7, "maxItems": 100 }
```

New restaurants in Houston and Austin over the last week.

```json
{ "mode": "sinceLastRun", "additionalLocationsOnly": true, "outOfStateOnly": true, "maxItems": 500, "stateKey": "national-brands" }
```

Daily schedule: national brands opening new Texas locations, only what's new since yesterday.

```json
{ "keywords": ["coffee", "boba", "tea"], "newCompaniesOnly": true, "daysBack": 14 }
```

Brand-new beverage businesses (their first Texas location).

### Input

| Field | Description |
|---|---|
| `mode` | `window` (default) or `sinceLastRun` (remembers delivered locations per `stateKey`, 120 days) |
| `daysBack` | Window size in days, ending at the newest complete permit day. Default 3 (window) / 7 (sinceLastRun), max 60 |
| `maxItems` | Max records (default 30) |
| `naicsPrefixes` | 2-6 digit NAICS prefixes |
| `keywords` / `excludeKeywords` | Match company or location name |
| `counties`, `cities`, `zipPrefixes` | Location filters (county names like "Harris") |
| `entityCategories` | `llc`, `corporation`, `nonprofit`, `partnership`, `other` |
| `additionalLocationsOnly` / `newCompaniesOnly` | Expansions only, or first locations only |
| `outOfStateOnly` | Companies headquartered outside Texas |
| `includeOutletAddress` | Add the store street address (off by default) |
| `date` | Fixed end date (YYYY-MM-DD) |
| `stateKey` | Separate memory for each saved task |

### Output example

```json
{
  "id": "TX:10430680982-237",
  "eventType": "newSalesTaxOutlet",
  "permitIssuedOn": "2026-10-30",
  "firstSalesDate": "2026-11-15",
  "opensInFuture": true,
  "companyName": "MARMAXX OPERATING CORP.",
  "tradeName": "TJ MAXX #1709",
  "entityType": "Foreign For-Profit Corporation",
  "entityCategory": "corporation",
  "domesticOrForeign": "foreign",
  "outletNumber": 237,
  "additionalLocation": true,
  "naicsCode": "448140",
  "naicsSectorTitle": "Retail Trade",
  "outletCity": "Austin",
  "outletZip": "78753",
  "outletCounty": "Travis",
  "insideCityLimits": true,
  "companyHqCity": "Framingham",
  "companyHqState": "MA",
  "outOfStateCompany": true,
  "texasTaxpayerNumber": "10430680982",
  "datasetUrl": "https://data.texas.gov/d/jrea-zgmq"
}
```

A run summary (window, rows read, records dropped, notes) is saved as the `OUTPUT` record in the default key-value store.

### Pricing

Pay per event: **$0.005 per run start + $0.003 per location delivered** ($3 per 1,000). The default 30-record run costs about $0.095. You set a spending limit per run, and the Actor stops cleanly when it is reached.

### Data source, freshness and limits

- Source: **Texas Comptroller of Public Accounts - Active Sales Tax Permit Holders** on the Texas Open Data Portal ([data.texas.gov/d/jrea-zgmq](https://data.texas.gov/d/jrea-zgmq)), read through the keyless Socrata API, respecting the portal's crawl delay.
- The portal updates daily; the newest day is usually partly loaded, so the window ends at the newest day with a full batch of permits.
- The dataset lists *active* permits, so locations that closed again before the run will not appear.
- Some trade names are blank or the same as the company name (returned as `tradeName: null`).

### Privacy - company data only

This Actor outputs **legal entities only**. Sole proprietors and partnerships of individuals are excluded at the query level, companies whose name looks like a person's name are dropped, and person-like trade names are blanked. The owner's mailing address is never read. Store street addresses are only included when you ask for them.

### FAQ

**How fast after a permit is issued does it appear?** Usually 1-2 days.
**Can I get all of Texas every day?** Yes - schedule `sinceLastRun` with a high `maxItems` (~1,500/day).
**Is this affiliated with the Texas Comptroller?** No. It uses public open data; check the source before relying on a record for legal or tax purposes.

# Actor input Schema

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

"Date window" returns the newest permits in the window. "New since last run" also remembers what it delivered (per stateKey) so scheduled runs only return new locations.

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

Window size in days, ending at the newest complete permit day (or at "date"). Default 3 (window) or 7 (sinceLastRun).

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

Maximum records to return (each is one charged result). Texas issues ~500-1,500 company permits a day.

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

2-6 digit NAICS prefixes, e.g. "7225" (restaurants), "4451" (grocery), "8121" (salons/spas), "44" (retail).

## `keywords` (type: `array`):

Match any keyword in the company or location name (case-insensitive), e.g. "coffee", "dental", "taco bell".

## `excludeKeywords` (type: `array`):

Drop locations whose company or location name contains any of these.

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

County names, e.g. "Harris", "Travis", "Dallas", "Bexar".

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

Outlet city names, exact match (case-insensitive), e.g. "Austin".

## `zipPrefixes` (type: `array`):

Outlet ZIP code prefixes, e.g. "787" or "77002".

## `entityCategories` (type: `array`):

Limit to llc, corporation, nonprofit, partnership or other (professional associations).

## `additionalLocationsOnly` (type: `boolean`):

Only locations where the company already holds other Texas outlets (outlet number > 1): chain and franchise expansion.

## `newCompaniesOnly` (type: `boolean`):

Only a company's first Texas sales tax outlet (new businesses).

## `outOfStateOnly` (type: `boolean`):

Only companies headquartered outside Texas (national brands entering or expanding in Texas).

## `includeOutletAddress` (type: `boolean`):

Adds the business location street address (the store address, never the owner mailing address).

## `date` (type: `string`):

Optional fixed end date instead of the newest complete day.

## `stateKey` (type: `string`):

Separate memory per saved task in sinceLastRun mode (letters, digits, - and \_).

## Actor input object example

```json
{
  "mode": "window",
  "maxItems": 30,
  "naicsPrefixes": [
    "7225"
  ],
  "additionalLocationsOnly": false,
  "newCompaniesOnly": false,
  "outOfStateOnly": false,
  "includeOutletAddress": false
}
```

# Actor output Schema

## `locations` (type: `string`):

One record per newly permitted sales tax outlet of a company.

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

Date window, rows read, records dropped by the company-only screen and notes.

# 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("moment-data/texas-new-business-locations-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 = {}

# Run the Actor and wait for it to finish
run = client.actor("moment-data/texas-new-business-locations-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 '{}' |
apify call moment-data/texas-new-business-locations-feed --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,moment-data/texas-new-business-locations-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/tS9b5gnGKLZvUOjuc/builds/jhHUaDjdHd5rogsrp/openapi.json
