# US Business Entity Search & New LLC Leads: Secretary of State (`fguiraud/us-business-entity-search`) Actor

US business entity search and new LLC leads from official Secretary of State open data: search companies by name or get newly formed LLCs and corporations daily in New York, Texas, Colorado, Connecticut, Oregon and Pennsylvania. Formation date, status, entity type, business address. Pay per entity.

- **URL**: https://apify.com/fguiraud/us-business-entity-search.md
- **Developed by:** [Fernando Guiraud](https://apify.com/fguiraud) (community)
- **Categories:** Lead generation, AI
- **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 entities

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

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

### What does US Business Entity Search do?

It searches the official business registries of **New York, Texas, Colorado, Connecticut, Oregon and Pennsylvania** and returns each company with its entity type, status, formation date and business address. Use it two ways:

- **Business entity search**: find LLCs, corporations, nonprofits and partnerships by name ("coffee", "Acme", "roofing"), in one state or all six at once.
- **New LLC leads**: get the companies formed in the last days, every day, with `onlyNew` so a schedule only returns (and charges) the ones you have not seen yet.

The data comes from the open-data tables the states themselves publish (Secretary of State and Department of State registries), not from scraping their search pages, so runs are fast and do not break when a website changes.

### Why use it?

- **Official, fresh data**: New York, Colorado and Connecticut update daily, Oregon weekly, Texas with each franchise tax registration, Pennsylvania monthly.
- **One format for six states**: every state writes types and statuses differently; you get `entityKind` (llc, corporation, nonprofit, partnership, other) and `isActive` for all of them, plus the state's own values.
- **Lead lists without the noise**: filter by entity type, city, ZIP code, active status, and leave out foreign entities registered from other states.
- **Monitoring built in**: `onlyNew` remembers what earlier runs of the same search delivered.
- **Cheap**: $0.001 per entity, about $1 per 1,000.

### How to search US business entities

1. Pick the states (all six by default).
2. Type words of the business name in **Business names**, or leave it empty to get the newest companies.
3. Optionally set **Formed in the last N days**, entity types, cities or ZIP codes.
4. Click **Start** and download the results as JSON, CSV or Excel, or connect them to Google Sheets, Slack or a CRM in **Integrations**.

For new business leads: leave the names empty, set `formedWithinDays` to 2, turn on `onlyNew` and schedule the Actor daily.

### Input

| Field | Description |
|---|---|
| `names` | Words to look for in the entity name. Empty: the newest entities (last 7 days unless dates are set) |
| `states` | Any of `NY`, `CO`, `CT`, `TX`, `OR`, `PA` (default: all six) |
| `nameMatch` | `contains` (default) or `starts` |
| `formedWithinDays` | Only entities formed in the last N days |
| `formedAfter`, `formedBefore` | Formation date range (YYYY-MM-DD) |
| `entityKinds` | Any of `llc`, `corporation`, `nonprofit`, `partnership`, `other` |
| `activeOnly` | Leave out dissolved, revoked, withdrawn or merged entities (default `true`) |
| `excludeForeign` | Leave out companies formed in another state |
| `cities`, `zipCodes` | Business address in these cities, or ZIP codes starting with these digits |
| `maxItems` | Stop after this many entities (default 100); the states are read in turn, so results mix all of them |
| `onlyNew` | Skip entities delivered by earlier runs of the same search (monitoring) |
| `failOnError` | Fail the run if a state cannot be read (for scheduled monitoring) |

Example: LLCs with "coffee" in the name in New York and Texas.

```json
{
    "names": ["coffee"],
    "states": ["NY", "TX"],
    "entityKinds": ["llc"],
    "maxItems": 200
}
```

### Output

Two rows from a real run on 2026-11-22 (newest entities, all states):

```json
[
    {
        "state": "NY",
        "entityId": "8137713",
        "name": "GOOD STOOP LLC",
        "entityType": "DOMESTIC LIMITED LIABILITY COMPANY",
        "entityKind": "llc",
        "entityStatus": "Active",
        "isActive": true,
        "formationDate": "2026-11-20",
        "jurisdiction": "New York",
        "isForeign": false,
        "street": "418 BROADWAY, STE N",
        "city": "ALBANY",
        "addressState": "NY",
        "zip": "12207",
        "county": "Albany",
        "registeredAgent": "NORTHWEST REGISTERED AGENT LLC",
        "registeredAgentAddress": "418 BROADWAY, STE N, ALBANY, NEW YORK, 12207",
        "dataset": "https://data.ny.gov/d/n9v6-gdp6",
        "status": "ok"
    },
    {
        "state": "CO",
        "entityId": "20268405620",
        "name": "Colorado Lincoln University",
        "entityType": "DNC",
        "entityKind": "nonprofit",
        "entityStatus": "Good Standing",
        "isActive": true,
        "formationDate": "2026-11-20",
        "jurisdiction": "CO",
        "isForeign": false,
        "street": "1500 N GRANT ST STE R",
        "city": "DENVER",
        "addressState": "CO",
        "zip": "80203",
        "registeredAgent": "Registered Agents Inc",
        "registeredAgentAddress": "1500 N GRANT ST, STE R, Denver, CO, 80203",
        "sourceUrl": "https://www.coloradosos.gov/biz/BusinessEntityDetail.do?quitButtonDestination=BusinessEntityResults&nameTyp=ENT&masterFileId=20268405620",
        "dataset": "https://data.colorado.gov/d/4ykn-tg5h",
        "status": "ok"
    }
]
```

Fields a state does not publish come back as `null` (shortened above).

### Data fields

| Field | Description |
|---|---|
| `state` | Registry the entity comes from |
| `entityId` | The state's id (NY DOS id, Colorado entity id, Connecticut account number, Texas taxpayer number, Oregon registry number, Pennsylvania filing number) |
| `name` | Entity name as registered |
| `entityType` / `entityKind` | The state's type, and a common one: llc, corporation, nonprofit, partnership, other |
| `entityStatus` / `isActive` | The state's status (Active, Good Standing, Delinquent...) and whether the entity still exists |
| `formationDate` | Formation date, or registration date in the state for foreign entities |
| `jurisdiction` / `isForeign` | Where it was formed, and whether that is another state |
| `street`, `city`, `addressState`, `zip`, `county` | Business address as filed (principal office, mailing or service-of-process address, depending on the state) |
| `registeredAgent`, `registeredAgentAddress` | The registered agent, only when it is a company |
| `email` | Business email from the filing, only role addresses such as info@ (Connecticut) |
| `industry` | Industry and NAICS code declared in the filing (Connecticut) |
| `fileNumber` | Secretary of State file number (Texas) |
| `sourceUrl` | The entity's page on the state website (Colorado, Oregon) |
| `dataset` | The official open-data table of the row |

What each state includes: New York and Oregon list active entities only; Colorado and Connecticut list every entity ever registered (use `activeOnly`); Texas lists entities registered for franchise tax (most LLCs and corporations); Pennsylvania lists current registrations and is refreshed about once a month, so it has no entities from the last few weeks.

### How much does it cost to search business entities?

| Event | Price |
|---|---|
| Run start (per GB of memory, default 256 MB) | $0.00005 |
| Business entity | **$0.001** (about $1 per 1,000 entities) |

Higher Apify plans pay less per entity (SILVER −10%, GOLD −20%). 100 entities cost about $0.10; a run of 5,000 entities took 3 minutes. Entities skipped by `onlyNew` and failed requests are never charged. Use `maxItems` or **Max cost per run** to cap a run.

### Tips

- **New business leads by area**: `formedWithinDays: 2`, `cities: ["Brooklyn"]` or `zipCodes: ["100", "112"]`, `onlyNew: true`, scheduled daily. A real run for Brooklyn found 231 new entities filed in New York in 3 days.
- **Industry lists**: search a word that appears in names (`roofing`, `dental`, `trucking`) with `entityKinds: ["llc", "corporation"]`.
- **Due diligence (KYB)**: search the exact company name with `nameMatch: "starts"` and `activeOnly: false` to see dissolved or revoked entities too.
- **Other states**: Florida, Delaware and California do not publish their registry as open data. Tell us on the **Issues** tab which state you need.

### Run it from Python or the API

```python
from apify_client import ApifyClient  # pip install apify-client (3.x)

client = ApifyClient("<YOUR_APIFY_TOKEN>")
run = client.actor("fguiraud/us-business-entity-search").call(run_input={
    "states": ["NY", "CO", "CT", "TX", "OR"],
    "formedWithinDays": 2,
    "entityKinds": ["llc"],
    "onlyNew": True,
})
for entity in client.dataset(run.default_dataset_id).iterate_items():
    print(entity["state"], entity["name"], entity["formationDate"], entity["city"])
```

### Use it with AI agents (MCP)

Add `https://mcp.apify.com/?tools=fguiraud/us-business-entity-search` to Claude, ChatGPT, Cursor or any MCP client, and ask "list the LLCs formed in Denver this week" or "is Acme Fire Protection LLC active in Texas?". Agent-friendly input: common field names such as `query`, `company`, `state` or `limit` are accepted.

### FAQ

- **Where does the data come from?** From the official open-data portals of each state (data.ny.gov, data.colorado.gov, data.ct.gov, data.texas.gov, data.oregon.gov, data.pa.gov). Each row links to its source table.
- **Is personal data included?** No names of people. The registries also list organizers, officers, filers and registered agents who are individuals; those names are left out, and a registered agent is shown only when it is a company. Emails are shown only when they are role addresses (info@, sales@...).
- **Why is a company I know missing?** It may be registered in another state, or under a different name, or (in Texas) not registered for franchise tax. Pennsylvania's table is about a month behind.
- Found a problem or need a feature? Open an issue on the **Issues** tab. Replies within 24 hours.
- **Did it save you time?** A short review on the **Reviews** tab helps other people find this Actor.

# Changelog

This Actor's version history is a separate document: https://apify.com/fguiraud/us-business-entity-search/changelog.md

# Actor input Schema

## `names` (type: `array`):

Words or names to look for in the entity name, one per line (e.g. coffee, Acme, roofing). Empty: the newest entities of the chosen states (last 7 days unless dates are set).

## `states` (type: `array`):

States to search. These six publish their business registry as official open data.

## `nameMatch` (type: `string`):

How the business names are matched.

## `formedWithinDays` (type: `integer`):

Only entities formed (or registered in the state) in the last N days. For new business leads use 1-7 with a daily schedule and 'Only new entities'.

## `formedAfter` (type: `string`):

Only entities formed on or after this date (YYYY-MM-DD).

## `formedBefore` (type: `string`):

Only entities formed on or before this date (YYYY-MM-DD).

## `entityKinds` (type: `array`):

Any of these. Empty: all.

## `activeOnly` (type: `boolean`):

Leave out dissolved, revoked, withdrawn or merged entities (Colorado, Connecticut, Texas; the New York, Oregon and Pennsylvania tables only list active ones).

## `excludeForeign` (type: `boolean`):

Leave out companies formed in another state and registered to do business here.

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

Keep entities whose business address is in one of these cities (exact name, any case).

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

Keep entities whose ZIP code starts with one of these (e.g. 100 for Manhattan, 80202).

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

Stop after this many entities (the cost cap of the run). The states are read in turn, so the results mix all of them.

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

Skip entities delivered by earlier runs of this same search, so a daily schedule only returns and charges newly formed companies.

## `failOnError` (type: `boolean`):

Mark the run as failed when a state cannot be read or fields come back empty. Useful for scheduled monitoring (Apify emails you on failed runs).

## Actor input object example

```json
{
  "states": [
    "NY",
    "CO",
    "CT",
    "TX",
    "OR",
    "PA"
  ],
  "nameMatch": "contains",
  "formedWithinDays": 7,
  "entityKinds": [
    "llc"
  ],
  "activeOnly": true,
  "excludeForeign": false,
  "maxItems": 100,
  "onlyNew": false,
  "failOnError": false
}
```

# Actor output Schema

## `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 = {
    "formedWithinDays": 7,
    "entityKinds": [
        "llc"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("fguiraud/us-business-entity-search").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 = {
    "formedWithinDays": 7,
    "entityKinds": ["llc"],
}

# Run the Actor and wait for it to finish
run = client.actor("fguiraud/us-business-entity-search").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 '{
  "formedWithinDays": 7,
  "entityKinds": [
    "llc"
  ]
}' |
apify call fguiraud/us-business-entity-search --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,fguiraud/us-business-entity-search"
        }
    }
}
```

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/2hYKcWSNbLN7KOlGS/builds/eeNznAlF5DHcSAl8g/openapi.json
