# New Business Leads (State and City Open Data APIs) (`benenjoyscoding/new-business-leads`) Actor

Newly registered businesses from 4 state registries, Texas sales tax permits and 5 city license offices, via official open data APIs. Name, type, industry, address and, where published, phone or email. Filter by industry, ZIP or city; get only new businesses on scheduled runs.

- **URL**: https://apify.com/benenjoyscoding/new-business-leads.md
- **Developed by:** [Ben Becker](https://apify.com/benenjoyscoding) (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 business delivereds

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

## New Business Leads

Get the businesses that registered this week, in one clean table, straight from state and city open data APIs.

A business that just registered needs almost everything: insurance, accounting, payroll, a website, signage, equipment, a bank account, a lease. Agencies, insurers, bookkeepers, lenders and B2B sales teams use new registrations as leads because they reach owners before anyone else does. This actor reads 10 official government open data portals, puts every new business into the same shape, and lets you keep only the ones you care about.

### What you get

Each business comes back with:

- **Who:** business name, legal name and trade name (DBA) where published, entity type (LLC, corporation, partnership and so on), and a nonprofit flag
- **What:** industry description, NAICS code and industry sector where the source publishes them
- **Where:** street address, city, state, ZIP, county (New York), latitude and longitude where published
- **When:** the registration, license start or permit issue date
- **How to reach them:** business phone (Seattle, New Orleans) and business email (Connecticut) where the filer gave one
- **Source:** the agency, the record type and a link to the official dataset

Names of owners, registered agents, filers and other individuals are never included. Where a city publishes only a license holder name, licenses held by a person rather than a company are skipped.

### Sources covered

| Source | Record | Typical week | Extras |
|---|---|---|---|
| New York State | New LLCs, corporations and out-of-state companies authorized in NY | about 3,000 | county |
| Colorado | New entities | about 3,000 | |
| Connecticut | New registrations | about 800 | email, NAICS |
| Oregon | New registrations | about 500 | |
| Texas | New sales tax permits | varies, refreshed weekly | NAICS |
| Chicago, IL | First-time business licenses | about 150 | industry, coordinates |
| Seattle, WA | New business licenses | about 130 | phone, NAICS |
| Los Angeles, CA | New business locations | about 80 | NAICS, some coordinates |
| Norfolk, VA | New businesses | about 30 | industry, coordinates |
| New Orleans, LA | New business licenses held by companies | about 10 | phone, industry |

Weekly counts are from a live check in November 2026 and change with the season. Each agency updates its data on its own schedule, usually daily. Every run saves a `COVERAGE` record that shows, per source, how many records were read, how many matched your filters, and the newest date the source has published, so you always know how fresh each source is.

### How to use it

1. Pick the sources, or leave the list empty for all of them.
2. Pick a date range. The default is the last 7 days.
3. Add filters if you want: keywords, NAICS codes, ZIP codes, cities, record type, skip nonprofits, only with phone or email.
4. Run it, then export to CSV, Excel or JSON, or connect it to Google Sheets, Zapier, Make or your CRM.

#### Fresh leads on a schedule

Turn on **Only new businesses** and schedule the actor to run every morning. It remembers which businesses it already delivered and skips them, so each run gives you only new leads and you never pay twice for the same business.

If you run several schedules with different filters, give each one its own **Memory name**.

### Example inputs

New restaurants and food businesses in Seattle, Los Angeles and Connecticut this week:

```json
{
  "sources": ["seattle", "los-angeles", "connecticut"],
  "naicsPrefixes": ["722", "311"],
  "daysBack": 7
}
```

Every new company in Denver and Boulder, delivered daily:

```json
{
  "sources": ["colorado"],
  "cities": ["Denver", "Boulder"],
  "excludeNonprofits": true,
  "daysBack": 3,
  "onlyNew": true
}
```

New businesses with an email address to contact:

```json
{
  "requireEmail": true,
  "daysBack": 14
}
```

### Pricing

You pay per business delivered. Filters run before you are charged, so businesses you filter out cost nothing. Set **Max businesses per run** to cap the cost of any run.

### How it works

Every source is an official government open data portal running the Socrata API, which is built for this kind of automated access. The actor asks each portal only for records in your date range, reads them in pages of 1,000, and waits between requests so it stays well inside the portals' public rate limits. No website pages are scraped and no logins are used.

### Notes

- State registries list the address the filer gave, which can be a registered agent's or a home office's address rather than a storefront. New York lists the address for service of process.
- Industry codes are only as good as what the filer chose. Sources without NAICS codes can still be filtered by keyword.
- Texas refreshes its sales tax permit data weekly, so the newest few days can be missing.
- Want another state or city? Ask in the Issues tab.

# Actor input Schema

## `sources` (type: `array`):

Which state registries and city license offices to read. Leave empty for all of them.

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

Businesses registered in the last this many days, counting today. Ignored when you set a registered-from date.

## `registeredFrom` (type: `string`):

Optional. Start of a fixed date range, inclusive.

## `registeredTo` (type: `string`):

Optional. End of a fixed date range, inclusive. Defaults to today.

## `recordTypes` (type: `array`):

Keep only these kinds of records. Leave empty for all.

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

Keep businesses whose name or industry contains any of these words, for example bakery, dental or roofing.

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

Keep businesses whose NAICS industry code starts with any of these, for example 722 for restaurants or 2382 for building trades. Only sources that publish NAICS can match: Connecticut, Texas, Los Angeles and Seattle.

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

Keep businesses in these 5-digit ZIP codes. Records without a ZIP are skipped when this is set.

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

Keep businesses whose address is in one of these cities. Useful with the statewide sources.

## `excludeNonprofits` (type: `boolean`):

Leave out nonprofit corporations where the source marks them.

## `requirePhone` (type: `boolean`):

Seattle and New Orleans publish phones. Other sources will return nothing when this is on.

## `requireEmail` (type: `boolean`):

Connecticut publishes emails. Other sources will return nothing when this is on.

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

Remember which businesses earlier runs delivered and skip them. Turn this on for a daily or weekly schedule so you only pay for fresh leads.

## `stateStoreName` (type: `string`):

Use a different name per saved task if you run several schedules with different filters.

## `maxResults` (type: `integer`):

Stop after this many businesses in total. You pay per business.

## `maxResultsPerSource` (type: `integer`):

Stop reading a source after this many businesses.

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

A free app token from any Socrata open data portal raises the request rate. Not needed for normal runs.

## Actor input object example

```json
{
  "sources": [
    "colorado",
    "seattle"
  ],
  "daysBack": 7,
  "excludeNonprofits": false,
  "requirePhone": false,
  "requireEmail": false,
  "onlyNew": false,
  "stateStoreName": "new-business-leads-state",
  "maxResults": 100,
  "maxResultsPerSource": 2000
}
```

# Actor output Schema

## `businesses` (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 = {
    "sources": [
        "colorado",
        "seattle"
    ],
    "daysBack": 7,
    "maxResults": 100
};

// Run the Actor and wait for it to finish
const run = await client.actor("benenjoyscoding/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 = {
    "sources": [
        "colorado",
        "seattle",
    ],
    "daysBack": 7,
    "maxResults": 100,
}

# Run the Actor and wait for it to finish
run = client.actor("benenjoyscoding/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 '{
  "sources": [
    "colorado",
    "seattle"
  ],
  "daysBack": 7,
  "maxResults": 100
}' |
apify call benenjoyscoding/new-business-leads --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,benenjoyscoding/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/VJGSDFpMcn6PSceef/builds/dMwCHZ45lRu4SH0Re/openapi.json
