# US Business Entity Search: NY, CT, CO, PA State Registries (`ai_solution/us-business-registry-search`) Actor

Search and list US companies from official state business registries (New York, Connecticut, Colorado, Pennsylvania) in one clean schema: name, entity type, status, formation date, address. Open government datasets, no scraping, no login, organisations only.

- **URL**: https://apify.com/ai_solution/us-business-registry-search.md
- **Developed by:** [MB AISolution](https://apify.com/ai_solution) (community)
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.70 / 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.

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

## US Business Entity Search: NY, CT, CO, PA State Registries (Open Data)

**Search and list US companies from official state business registries - New York, Connecticut, Colorado and Pennsylvania - in one clean schema.** The Actor reads the states' **open government datasets** (Socrata open data portals): no scraping of search forms, no CAPTCHAs, no proxies, no login, no API key. Each result is one organisation with registry ID, name, entity type (normalised to LLC / corporation / nonprofit / ...), status, formation date, address and the source dataset. Built for B2B lead generation, KYB / vendor checks, new-business monitoring and AI agents.

### What you can do

- **New-business lead lists**: `formedFrom = 2026-09-01` + `entityCategories = ["llc"]` returns freshly registered LLCs in NY, CT and CO, newest first.
- **KYB / vendor check**: search a company name and see in which states it is registered, its type, status and registered address.
- **Local prospecting**: filter by `cities` or `postalCodes` (ZIP prefixes).
- **Monitor a market**: schedule a daily run with `formedFrom` set to yesterday and send new entities to your CRM.
- **Feed AI agents / RAG**: stable field names, one schema across four states, a machine-readable source URL on every record.

### Input

```json
{
  "states": ["NY", "CT", "CO"],
  "nameQueries": ["acme"],
  "entityCategories": ["llc", "corporation"],
  "onlyActive": true,
  "formedFrom": "2026-09-01",
  "cities": ["Albany", "Denver"],
  "maxItems": 100
}
```

| Field | Description |
|---|---|
| `states` | `NY`, `CT`, `CO`, `PA`. Default: all four. |
| `nameQueries` | Company-name terms (any matches). By default the name must start with the term. |
| `nameMatch` | `startsWith` (default) or `contains`. |
| `entityCategories` | `llc`, `corporation`, `nonprofit`, `limited_partnership`, `trust`, `cooperative`, `other`. Empty = all. |
| `onlyActive` | Default `true`. `false` also returns dissolved / delinquent / revoked entities (CT, CO). |
| `formedFrom` / `formedTo` | `YYYY-MM-DD` formation date range (NY, CT, CO; PA has no dates and is skipped when set). |
| `cities` | Exact city names of the published address. |
| `postalCodes` | ZIP codes or prefixes (3+ digits). |
| `maxItems` / `maxItemsPerState` | Hard caps on billed results (total / per state). |

All filters are optional and combine with AND. Newest registrations first (NY, CT, CO).

### Output

```json
{
  "recordType": "business_entity",
  "state": "CT",
  "entityId": "3500058",
  "name": "Acme Tattoo Co. LLC",
  "entityType": "LLC",
  "entityCategory": "llc",
  "status": "Active",
  "statusNormalized": "active",
  "formationDate": "2026-08-18",
  "jurisdictionOfFormation": "Connecticut",
  "isForeign": false,
  "addressLine1": "90 Park Lane Rd",
  "addressLine2": "B",
  "city": "New Milford",
  "region": "CT",
  "postalCode": "06776",
  "addressType": "registered_billing",
  "county": null,
  "latitude": null,
  "longitude": null,
  "naicsCode": "Other Personal Care Services (812199)",
  "annualReportDueDate": "2027-03-31",
  "url": "https://data.ct.gov/resource/n7gp-d28j.json?accountnumber=3500058",
  "sourceDataset": "Connecticut Business Registry - Business Master (Office of the Secretary of the State)",
  "sourceDataUpdatedAt": "2026-10-02T09:26:28.000Z",
  "license": "Public Domain",
  "scrapedAt": "2026-10-02T11:32:12.492Z"
}
```

Fields that a state does not publish are `null` (for example PA has no formation date, `naicsCode` exists only for CT). The dataset views *Entities* and *Errors* are available in Apify Console. Errors (a state portal is down, bad input) are written as free `error` records.

#### What each state provides

| State | Source dataset | Status coverage | Dates | Address |
|---|---|---|---|---|
| NY | Active Corporations: Beginning 1800 (Dept. of State) | active entities only | yes | business location if published, otherwise the **service-of-process address** (can be an agent or law firm; see `addressType`) |
| CT | Business Registry - Business Master (Secretary of the State) | all statuses (Active, Dissolved, Forfeited...) | yes | billing address, NAICS, annual report due date |
| CO | Business Entities in Colorado (Dept. of State) | all statuses (Good Standing, Delinquent...) | yes | principal office address |
| PA | Distinct Registered Businesses in PA, Current (Dept. of State) | currently registered only | no | registered address, county, coordinates |

### How much does it cost?

Pay per event: **0.0017 USD per business entity** (1.70 USD per 1,000) plus a start fee of 0.00005 USD per run. Error records are free. Platform usage is included in the event price.

| Scenario | Results | Approx. cost |
|---|---|---|
| Test run (`maxItems` 5) | 5 | 0.01 USD |
| Daily new-LLC alert; if your filters return 40 new entities a day | 40 per run | 0.07 USD/day, about 2.04 USD/month |
| Bulk export of the 10,000 newest CT entities | 10,000 | 17.00 USD |
| Name check across 4 states, 20 matches each | up to 80 | 0.14 USD |
| One run with default settings (`maxItems` 25) | max 25 | max 0.04 USD |

**Cost control:** `maxItems` is a hard cap on billed results per run; the Actor also stops at your run's *maximum cost per run* setting. Narrow with `formedFrom`, `cities` and `entityCategories` to pay only for relevant records.

### Why this Actor (vs. alternatives)

Many Store Actors search "Secretary of State" sites (for example `whetstonetools/secretary-of-state-business-search`, `pink_comic/us-business-entity-search`, `clearpath/us-business-entity-search`). This one is built on a different principle: **only open datasets that the states publish for reuse**, read through their official open-data APIs - so it does not depend on fragile website scraping, CAPTCHAs or proxies, and it is fast (thousands of records per minute). It also: returns **one normalised schema** (entity category, normalised status, foreign flag) instead of raw state columns; lets you filter by **formation date** for new-business leads; and deliberately **does not return officers, directors, owners, registered-agent persons or contact e-mails** - organisation-level data only. If you need all 50 states, officers or live detail pages, other Actors cover that; this one covers four states reliably and cheaply. Check each Actor's Store page for its current price and fields. (Based on public Store listings, 2026-10-02.)

### Use it from n8n, Make, code and AI agents

- **n8n / Make**: schedule "Run Actor" daily with `formedFrom` = yesterday, then send each item to Google Sheets, Slack or your CRM.
- **API**:

```bash
curl -X POST "https://api.apify.com/v2/acts/ai_solution~us-business-registry-search/run-sync-get-dataset-items?token=$APIFY_TOKEN" \
  -H 'Content-Type: application/json' \
  -d '{"states":["NY","CO"],"formedFrom":"2026-09-01","entityCategories":["llc"],"maxItems":20}'
```

- **MCP / AI agents**: available through the Apify MCP server (`https://mcp.apify.com`, tool `ai_solution/us-business-registry-search`). The fully described input schema and stable output fields let an agent answer "which LLCs were registered in Denver this month?" in one call.

### Scheduling and webhooks

1. In Apify Console open *Schedules*, create e.g. `0 6 * * *` and add this Actor with your filters.
2. Add a **webhook** for `ACTOR.RUN.SUCCEEDED` (Actor *Integrations* tab) to your endpoint or an n8n/Make *Webhook* node; the payload contains `resource.defaultDatasetId`.
3. Read `GET https://api.apify.com/v2/datasets/<defaultDatasetId>/items?token=...` and forward new `entityId`s. A schedule uses a fixed input, so set `formedFrom` dynamically (n8n expression or API) for "since yesterday".

### Changelog

- **1.0.0** - First release: NY, CT, CO, PA.

### Support / Issues

Found a bug or need another state or field? Open a ticket in this Actor's **Issues** tab in Apify Console.

### Data sources, licences and attribution

| State | Publisher | Terms |
|---|---|---|
| NY | New York State Department of State, via data.ny.gov | OPEN NY Terms of Use: free reuse for any lawful purpose; attribution not required |
| CT | Connecticut Secretary of the State, via data.ct.gov | Public Domain (per dataset metadata) |
| CO | Colorado Department of State, via data.colorado.gov | Public Domain (per dataset metadata) |
| PA | Pennsylvania Department of State, via data.pa.gov | Public Domain / U.S. Government Works (per dataset metadata); Data Policy: offered free and without restriction; credit requested, e.g. "Data retrieved from data.pa.gov" |

Each record carries `sourceDataset`, `sourceDataUpdatedAt` and `license`. The Actor identifies itself in the `User-Agent` (with a contact address) and keeps to the portals' `Crawl-delay: 1` (one request per second per host). It is not affiliated with or endorsed by any state government. Data is provided by the states "as is"; use official state search pages for legal certificates.

### Limitations and privacy

- Four states only; other states do not publish equally open datasets (Oregon's portal is not included yet).
- **Organisation-level data only.** Officers, chairmen, registered-agent persons, owners, contact e-mails and ownership-demographic flags in the source datasets are never read or returned. Address lines starting with "C/O" or "Attn" (care-of a person) are removed. General partnerships and sole proprietorships are never returned because their names are often private individuals' names. Some LLC names still contain a person's name (for example "Jane Doe Consulting LLC"); that is the registered name of a legal entity.
- Data freshness is that of each state (NY monthly-to-daily, CT and CO daily, PA monthly); see `sourceDataUpdatedAt`.
- NY's address is frequently the service-of-process address, not the operating location.
- Colorado entity names that end in a status note such as ", Delinquent May 1, 2016" are cleaned.

# Actor input Schema

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

Which state registries to query: NY, CT, CO, PA (two-letter codes). States are queried in the order given; results from the first state are returned first.

## `nameQueries` (type: `array`):

Match company names. Any of the terms matches (OR). Case-insensitive. By default the name must START with the term; see 'Name match mode'. Minimum 2 characters per term.

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

startsWith = the name begins with the term (fast, default); contains = the term appears anywhere in the name (slower on big states).

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

Keep only these normalised categories: llc, corporation, nonprofit, limited_partnership, trust, cooperative, other. Empty = all of them. General partnerships and sole proprietorships are never returned because their names are often private individuals' names.

## `onlyActive` (type: `boolean`):

true = Active (CT), Good Standing or Exists (CO). NY and PA datasets contain only currently active/registered entities anyway. Set false to also get dissolved, delinquent and revoked entities (CT, CO).

## `formedFrom` (type: `string`):

Earliest formation / registration date. Useful for new-business lead lists. Supported for NY, CT, CO. Pennsylvania has no date in its open dataset, so PA is skipped when a date filter is set.

## `formedTo` (type: `string`):

Latest formation / registration date (NY, CT, CO).

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

Keep only entities whose published address is in one of these cities (exact city name, case-insensitive).

## `postalCodes` (type: `array`):

ZIP codes or ZIP prefixes of the published address, at least 3 digits, e.g. 100 (Manhattan) or 06510.

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

Maximum number of records returned in total (each is one billed result). Newest registrations first (NY, CT, CO).

## `maxItemsPerState` (type: `integer`):

Optional cap per state so that one big state does not use the whole budget. Leave empty for no per-state cap.

## Actor input object example

```json
{
  "states": [
    "NY",
    "CO"
  ],
  "nameQueries": [
    "acme",
    "blue ridge"
  ],
  "nameMatch": "startsWith",
  "entityCategories": [
    "llc",
    "corporation"
  ],
  "onlyActive": true,
  "formedFrom": "2026-09-01",
  "formedTo": "2026-09-30",
  "cities": [
    "Albany",
    "Denver"
  ],
  "postalCodes": [
    "100",
    "06510"
  ],
  "maxItems": 100,
  "maxItemsPerState": 50
}
```

# Actor output Schema

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

All records in the default dataset.

## `entities` (type: `string`):

Entities view of the default dataset.

## `errors` (type: `string`):

Errors view of the default dataset.

# 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 = {
    "states": [
        "NY",
        "CT"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("ai_solution/us-business-registry-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 = { "states": [
        "NY",
        "CT",
    ] }

# Run the Actor and wait for it to finish
run = client.actor("ai_solution/us-business-registry-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 '{
  "states": [
    "NY",
    "CT"
  ]
}' |
apify call ai_solution/us-business-registry-search --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,ai_solution/us-business-registry-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/UUupjCXZN8MjY61em/builds/hWIrqfiEahe7XG7X9/openapi.json
