# US Business Entity Search (KYB): Official State Registries (`moment-data/us-business-entity-search`) Actor

Secretary of State business entity search by company name or ID across official state open-data registers: Colorado, New York, Connecticut, Oregon, Texas and Pennsylvania. Status, entity type, formation date, city/ZIP, corporate registered agent. Bulk KYB, no API key.

- **URL**: https://apify.com/moment-data/us-business-entity-search.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 entity 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

## US Business Entity Search (KYB): Official State Registries

Look up US companies by **name or registry ID** across official Secretary of State / state registry open data, in one run and one schema:

| Register | Source (official open data) | Coverage |
|---|---|---|
| **Colorado** | Colorado Secretary of State - *Business Entities in Colorado* (data.colorado.gov `4ykn-tg5h`) | all entities incl. dissolved, delinquent, withdrawn |
| **New York** | NY Department of State - *Active Corporations: Beginning 1800* (data.ny.gov `n9v6-gdp6`) | active entities |
| **Connecticut** | CT Secretary of the State - *Business Registry - Business Master* (data.ct.gov `n7gp-d28j`) | all entities incl. dissolved / forfeited |
| **Oregon** | Oregon SOS Corporation Division - *Active Businesses - ALL* (data.oregon.gov `tckn-sxa6`) | active entities (+ optional assumed names) |
| **Texas** | Texas Comptroller - *Active Franchise Taxpayers* (data.texas.gov `9cir-efmm`), incl. SOS file number | franchise-tax register incl. forfeited right to transact |
| **Pennsylvania** | PA Department of State - *Registered Businesses in PA* (data.pa.gov `xvd7-5r2c`) | currently registered entities with a PA address |

Built for **KYB / vendor onboarding / merchant checks / CRM cleanup / lead qualification**: paste a list of company names, get back each matching registered entity with its status, legal form, formation date, location and (when it is a company) registered agent, plus a link to the official record.

- **No API key, no login, no scraping of SOS search pages** - only the states' own published open-data APIs (polite: max 1 request/second per portal, as their robots.txt asks).
- **Bulk friendly** - hundreds of names per run; states are searched in parallel.
- **Smart matching** - ignores legal suffixes and punctuation (`AT&T Inc.` = `AT & T CORP.`, `Joe's Pizza` = `JOES PIZZA LLC`), ranks **exact > startsWith > contains**, and tells you which it was (`matchQuality`).
- **Not-found report** - the run summary (`OUTPUT`) lists every name x state with no match, which is often the KYB answer you need.
- **Entity-level data only** - officers, members, organizers, chairman and *individual* registered agents are never output; street addresses are reduced to **city / state / ZIP**. Corporate registered agents (e.g. C T Corporation System, Northwest Registered Agent) are kept.

### Input

| Field | Default | What it does |
|---|---|---|
| `companyNames` | `["Patagonia", "Blue Bottle Coffee"]` | Names to look up (list). |
| `entityIds` | `[]` | Exact registry IDs as `STATE:ID`, e.g. `CO:20131234567`, `NY:4424185`, `CT:2900504`, `OR:299818`, `TX:32107728928` (taxpayer no.), `PA:0006281337`. |
| `states` | all 6 | `CO`, `NY`, `CT`, `OR`, `TX`, `PA`. |
| `matchMode` | `contains` | `exact`, `startsWith` or `contains`. |
| `maxResultsPerState` | 5 | Best-ranked matches kept per name per state (1-100). |
| `activeOnly` | false | Drop dissolved / withdrawn / forfeited / revoked entities. |
| `entityCategories` | all | `llc`, `corporation`, `nonprofit`, `partnership`, `other`. |
| `includeAssumedNames` | false | Include Oregon assumed business names (DBAs). |
| `maxItems` | 200 | Cap on records returned (and charged). |

Example - bulk KYB check, exact names, active only:

```json
{
  "companyNames": ["Tesla", "AT&T", "Blue Bottle Coffee", "Acme Widgets LLC"],
  "matchMode": "exact",
  "activeOnly": true,
  "maxResultsPerState": 3
}
```

Example - look up known registry numbers:

```json
{ "entityIds": ["CO:20268159751", "TX:32107728928"] }
```

### Output

One dataset record per matched entity (view **Entity records**). Sample (from the default run):

```json
{
  "query": "Patagonia",
  "matchQuality": "exact",
  "registryState": "OR",
  "registryStateName": "Oregon",
  "entityId": "45085982",
  "entityName": "PATAGONIA, INC.",
  "entityType": "Foreign Business Corporation",
  "entityTypeCode": null,
  "entityCategory": "corporation",
  "domesticOrForeign": "foreign",
  "jurisdictionOfFormation": "CA",
  "status": "Active",
  "isActive": true,
  "goodStanding": null,
  "formationDate": "1995-03-28",
  "dissolutionDate": null,
  "city": "Ventura",
  "addressState": "CA",
  "zip": "93001",
  "county": null,
  "registeredAgentName": "C T CORPORATION SYSTEM",
  "registeredAgentType": "organization",
  "naics": null,
  "isAssumedBusinessName": false,
  "registryUrl": "http://egov.sos.state.or.us/br/pkg_web_name_srch_inq.do_name_srch?p_name=&p_regist_nbr=45085982&p_srch=PHASE1&p_print=FALSE&p_entity_status=ACTINA",
  "nameLooksLikePerson": false,
  "registrySource": "Oregon Secretary of State, Corporation Division",
  "sourceDataset": "https://data.oregon.gov/d/tckn-sxa6",
  "sourceCoverage": "active entities and assumed business names only",
  "licence": "Public Domain (data.oregon.gov)",
  "retrievedAt": "2026-11-14T06:14:54.487Z"
}
```

Main fields: `query`, `matchQuality` (`exact` / `startsWith` / `contains` / `id`), `registryState`, `entityId`, `entityName`, `entityType`, `entityTypeCode`, `entityCategory`, `domesticOrForeign`, `jurisdictionOfFormation`, `status`, `isActive`, `goodStanding` (CO), `formationDate`, `dissolutionDate` (CT), `annualReportDueDate` (CT), `city`, `addressState`, `zip`, `county` (NY, PA), `naics` (CT), `registeredAgentName` (companies only), `registeredAgentType` (`organization` / `individual (withheld)`), `serviceOfProcessName` (NY, companies only), Texas `texasSosFileNumber` / `texasRightToTransactCode`, CT ownership flags, `nameLooksLikePerson`, `registryUrl`, `sourceDataset`, `sourceCoverage`, `licence`, `retrievedAt`.

The key-value store record `OUTPUT` holds the run summary: counts per state and match quality, **`notFound`** (name x state pairs with no match), errors, and the coverage note for each register.

A full 35-record sample is in `sample-output.json`.

### Good to know

- **Active-only registers**: New York, Oregon and Pennsylvania publish active / currently registered entities only. A name missing there can mean the entity is inactive, not that it never existed. Colorado and Connecticut include historical entities with their status.
- **Texas** data comes from the Comptroller's franchise-tax register (the official open source for Texas entities); `status` reflects the *right to transact business* code (`A` = Active, `N` = not active / forfeited). The SOS file number is included.
- **Freshness**: the portals update daily or near-daily (Texas weekly-ish). Results are as published by the state at run time.
- Results are **not** a certificate of good standing - follow `registryUrl` to the official registry for legal confirmation.
- More states will be added as they publish open data. Need one? Open an issue.

### Pricing (pay per event)

| Event | Price |
|---|---|
| Actor start | $0.005 per run |
| `entity-record` | $0.003 per matched entity record |

The default run (35 records) costs about $0.11. Names with no match cost nothing beyond the run start. Set `maxItems` or a max-charge limit to cap spend; the Actor stops cleanly at your limit.

### Related Actors by moment-data

- [US New Company Filings (CO, NY, CT, TX, OR)](https://apify.com/moment-data/us-new-companies-feed) - daily new LLCs and corporations.
- [Florida Sunbiz New Filings](https://apify.com/moment-data/florida-sunbiz-new-filings-feed)
- [GLEIF New LEI Feed](https://apify.com/moment-data/gleif-new-lei-feed)

### Data sources and licence

All data comes from official state open-data portals (Socrata SODA API) published by the Colorado Secretary of State (public domain), New York Department of State (NY Open Data terms), Connecticut Secretary of the State (public domain), Oregon Secretary of State (public domain), Texas Comptroller of Public Accounts (Texas Open Data Portal) and Pennsylvania Department of State (public domain). This Actor is not affiliated with or endorsed by any of these agencies.

# Actor input Schema

## `companyNames` (type: `array`):

One or more company names to look up (bulk KYB lists welcome). Legal suffixes (LLC, Inc., Co.) and punctuation are handled for you.

## `entityIds` (type: `array`):

Look up exact registry numbers as STATE:ID, e.g. CO:20131234567, NY:4424185, CT:2900504, OR:299818, TX:32107728928 (Texas taxpayer number), PA:0006281337.

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

Which state registers to search.

## `matchMode` (type: `string`):

exact = same name apart from legal suffix/punctuation; startsWith = name begins with your term; contains = term anywhere in the name. Results are always ranked exact > startsWith > contains.

## `maxResultsPerState` (type: `integer`):

Best-ranked matches kept for each name in each state.

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

Drop dissolved, withdrawn, forfeited and revoked entities (Colorado 'Delinquent' still counts as existing).

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

Optional filter. Empty = all.

## `includeAssumedNames` (type: `boolean`):

Oregon publishes assumed business names in the same register; off by default.

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

Upper limit on records returned (and charged) per run.

## Actor input object example

```json
{
  "companyNames": [
    "Patagonia",
    "Blue Bottle Coffee"
  ],
  "entityIds": [],
  "states": [
    "CO",
    "NY",
    "CT",
    "OR",
    "TX",
    "PA"
  ],
  "matchMode": "contains",
  "maxResultsPerState": 5,
  "activeOnly": false,
  "entityCategories": [],
  "includeAssumedNames": false,
  "maxItems": 200
}
```

# Actor output Schema

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

One record per matched registered entity.

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

Counts per state, match quality, names not found, errors.

# 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 = {
    "companyNames": [
        "Patagonia",
        "Blue Bottle Coffee"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("moment-data/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 = { "companyNames": [
        "Patagonia",
        "Blue Bottle Coffee",
    ] }

# Run the Actor and wait for it to finish
run = client.actor("moment-data/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 '{
  "companyNames": [
    "Patagonia",
    "Blue Bottle Coffee"
  ]
}' |
apify call moment-data/us-business-entity-search --silent --output-dataset

```

## MCP server setup

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