# Secretary of State Business Entity Search: CO, CT, TX (`cleanfetch/secretary-of-state-business-entity-scraper`) Actor

Look up US companies by name or registry ID in the Colorado, Connecticut and Texas business registries published as state open data: status, type, formation date, addresses, registered agent company and source link.

- **URL**: https://apify.com/cleanfetch/secretary-of-state-business-entity-scraper.md
- **Developed by:** [Cleanfetch](https://apify.com/cleanfetch) (community)
- **Categories:** Business, Lead generation
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

$1.00 / 1,000 business entity returneds

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

## Secretary of State Business Entity Search — Colorado, Connecticut, Texas

Look up US companies in three state business registries in one run. Paste business names (or registry IDs) and get one clean
record per matching entity per state: legal name, entity type, status, jurisdiction of formation, formation date, principal and
mailing address, registered agent company, NAICS code (where published) and a link to the source record.

- **Registry data from the states themselves:** the Actor reads the business registries that Colorado, Connecticut and Texas
  publish on their open-data portals through the documented Socrata API. No login, no browser, no scraping of search pages,
  no CAPTCHA tricks — so it does not break when a website changes.
- **Batch KYB checks:** up to 500 names per run, searched in all three states at once; exact name matches are listed first.
- **Lookup by ID:** `CO:19871044097`, `CT:0004158`, `TX:13501606100` (Texas taxpayer number or Secretary of State file number).
- **New-company lists:** use `*` with a formation date filter to list entities formed after a date (for example last week's new LLCs in Colorado).
- **Source link on every record** so you can verify it, plus the time the record last changed in the state dataset.

### Use cases

- Vendor and customer onboarding (KYB): confirm that a company exists, its exact legal name, status and state of formation.
- Compliance and due diligence: check whether an entity is in good standing, dissolved, withdrawn or forfeited.
- Sales and market research: lists of companies formed in a period, by state, with business addresses.
- Data enrichment: add registry ID, entity type, formation date and NAICS code to a company list.

### Input

| Field | Description |
|---|---|
| `names` | Business names, one per line (e.g. `Ball Corporation`), or registry IDs with a state code (e.g. `CO:19871044097`). `*` lists entities by the filters only. Up to 500 per run. |
| `states` | State codes to search: `CO`, `CT`, `TX`. Empty = all three. An unsupported code is reported as an error (no partial search). A registry ID always searches its own state. |
| `matchMode` | `prefix` (name starts with, default), `exact` or `contains`. Case is ignored; a name typed with accents (`Café Rio`) is searched both as typed and without accents. |
| `activeOnly` | Skip dissolved, withdrawn, revoked, merged or forfeited entities (default: off). |
| `formedAfter` / `formedBefore` | Keep entities formed (or registered in the state) within these dates, `YYYY-MM-DD`. |
| `maxResultsPerState` | Upper limit of entities per name in each state (default 20, max 1,000). |
| `delaySeconds` | Pause between API requests, minimum and default 1 s (the portals' robots.txt crawl delay). |

Example:

```json
{
  "names": ["Ball Corporation", "Columbia Sportswear", "TX:13501606100"],
  "matchMode": "prefix",
  "activeOnly": true,
  "maxResultsPerState": 5
}
```

### Output

One record per entity and state:

```json
{
  "state": "CO",
  "entity_id": "19871044097",
  "entity_name": "BALL CORPORATION",
  "entity_type": "Foreign profit corporation",
  "entity_type_code": "FPC",
  "status": "Good Standing",
  "status_detail": null,
  "jurisdiction_of_formation": "IN",
  "formation_date": "1956-01-09",
  "principal_address": "9200 W. 108th Circle, Westminster, CO 80021, US",
  "mailing_address": "PO BOX 6251, Broomfield, CO 80021, US",
  "registered_agent_org": "C T CORPORATION SYSTEM",
  "registered_agent_org_address": "7700 E Arapahoe Rd Ste 220, Centennial, CO 80112, US",
  "naics": null,
  "naics_description": null,
  "tx_sos_file_number": null,
  "tx_right_to_transact": null,
  "match_type": "exact",
  "source_dataset": "Business Entities in Colorado (Colorado Department of State; data.colorado.gov 4ykn-tg5h)",
  "source_url": "https://data.colorado.gov/Business/Business-Entities-in-Colorado/4ykn-tg5h",
  "source_updated_at": "2026-10-08T16:20:44.881Z",
  "disclaimer": "The data made available here has been modified for use from its original source, which is the State of Colorado. …",
  "query": "Ball Corporation",
  "states_unavailable": []
}
```

Field notes:

- `entity_type` is a readable label; `entity_type_code` keeps the registry code (Colorado and Texas).
- `status_detail` is the Connecticut sub-status (for example "Annual report due").
- `naics` / `naics_description`: Connecticut and Texas publish industry codes; Colorado does not.
- `tx_sos_file_number` and `tx_right_to_transact`: Texas Secretary of State file number and the franchise tax "right to transact business" status.
- `match_type`: `exact`, `prefix`, `contains`, `id` (registry ID lookup) or `filter` (`*` input).
- `source_url`: the state's dataset page on its open-data portal (the raw per-row API link is not given out: it also returns columns this Actor deliberately does not collect, such as people's names and emails).
- `source_updated_at`: when this record last changed in the state's open-data dataset.
- `states_unavailable`: states that could not be checked for this name because the portal did not answer (other states' results are still returned).

Names with no match, and names that could not be checked at all, produce one free record with `"type": "error"` and a short reason.

### Pricing (pay per event)

- **Business entity returned — $0.001** per entity record delivered to your dataset (see the pricing tab for the current price).

Error records ("no match", invalid input) are free. You can set a maximum charge per run; the Actor stops when it is reached.

### Data sources

| State | Dataset | Publisher | Updates |
|---|---|---|---|
| Colorado | [Business Entities in Colorado](https://data.colorado.gov/Business/Business-Entities-in-Colorado/4ykn-tg5h) | Colorado Department of State | daily |
| Connecticut | [Connecticut Business Registry - Business Master](https://data.ct.gov/Business/Connecticut-Business-Registry-Business-Master/n7gp-d28j) | Secretary of the State | daily |
| Texas | [Active Franchise Taxpayers](https://data.texas.gov/dataset/Active-Franchise-Taxpayers/9cir-efmm) | Texas Comptroller of Public Accounts | as published |

The Colorado and Connecticut datasets are published under a Public Domain license.

### Limits and honest notes

- **Three states, not fifty.** Only states that publish their registry as open data through an API are covered. Other states'
  registries sit behind bot protection; this Actor does not bypass it. New York and Oregon are not included yet.
- **Texas** data is the Comptroller's file of active franchise taxpayers. It carries the Secretary of State file number and
  status, but entities that are not set up for franchise tax are not in it, and the address is the taxpayer address on file.
  Taxpayers that are individuals (sole owners, estates, partnerships of individuals) are excluded in the query itself.
- **Connecticut** data has no registered agent; name reservations and rejected filings are skipped.
- **Accents:** the registries store most names in plain letters, and Connecticut publishes accented letters as "�"
  (`Caf� 203, LLC`). Type an accented name with its accents to find both spellings; a name typed without accents does not
  find the "�" spelling.
- **Colorado** entity names are returned exactly as published, which can include a suffix such as ", Dissolved July 1, 2003".
- **No personal data fields:** the registered agent is returned only when it is a company. Names of individual agents,
  officers and authorized representatives, e-mail addresses and owner survey answers are never requested or returned, and
  address lines starting with "c/o" or "attn" are removed. Search works on the entity name only — not on people. A small
  business can list a home address as its business address; use the data responsibly and in line with the laws that apply to you.
- **Not a certificate of good standing.** The data is provided by the states "as is". For legal decisions, confirm the status
  with the state agency.
- One API request per name and state, with a pause of at least 1 s between requests (the portals' robots.txt crawl delay).
- This Actor is not affiliated with Socrata. This Actor is not affiliated with Tyler Technologies, the Colorado Department of
  State, the Connecticut Secretary of the State, the Texas Comptroller of Public Accounts or any
  other government agency.

**Colorado data disclaimer** (required by the [data.colorado.gov terms](https://data.colorado.gov/terms)): "The data made
available here has been modified for use from its original source, which is the State of Colorado. THE STATE OF COLORADO MAKES
NO REPRESENTATIONS OR WARRANTY AS TO THE COMPLETENESS, ACCURACY, TIMELINESS, OR CONTENT OF ANY DATA MADE AVAILABLE THROUGH THIS
SITE. THE STATE OF COLORADO EXPRESSLY DISCLAIMS ALL WARRANTIES, WHETHER EXPRESS OR IMPLIED, INCLUDING ANY IMPLIED WARRANTIES OF
MERCHANTABILITY, OR FITNESS FOR A PARTICULAR PURPOSE. The data is subject to change as modifications and updates are complete.
It is understood that the information contained in the Web feed is being used at one's own risk."

Questions or a state you need? Open an issue on the Actor's page on [Apify](https://apify.com).

# Actor input Schema

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

One company per line: a business name such as Ball Corporation, or a registry ID with the state code such as CO:19871044097, CT:0004158, TX:13501606100 (Texas taxpayer number or Secretary of State file number). Use \* to list entities by the filters below only (for example new companies formed after a date). Up to 500 per run.

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

State codes to search: CO, CT, TX. Leave empty to search all three. An unsupported code is reported as an error. A registry ID always searches its own state.

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

How the name is compared with the registered entity name (case is ignored; a name typed with accents is searched both as typed and without accents). Exact matches are listed first.

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

Skip entities that were dissolved, withdrawn, revoked, merged or forfeited.

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

Keep entities formed or registered on or after this date (YYYY-MM-DD). In Texas this is the Secretary of State charter date.

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

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

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

Upper limit of entities returned for each name in each state.

## `delaySeconds` (type: `number`):

Pause between API requests to the state open-data portals, at least 1 second (the portals' robots.txt Crawl-delay).

## Actor input object example

```json
{
  "names": [
    "Ball Corporation",
    "Columbia Sportswear"
  ],
  "matchMode": "prefix",
  "activeOnly": false,
  "maxResultsPerState": 20,
  "delaySeconds": 1
}
```

# Actor output Schema

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

One record per matching business entity per state (plus free error records for names that could not be matched or checked).

# 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 = {
    "names": [
        "Ball Corporation",
        "Columbia Sportswear"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("cleanfetch/secretary-of-state-business-entity-scraper").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 = { "names": [
        "Ball Corporation",
        "Columbia Sportswear",
    ] }

# Run the Actor and wait for it to finish
run = client.actor("cleanfetch/secretary-of-state-business-entity-scraper").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 '{
  "names": [
    "Ball Corporation",
    "Columbia Sportswear"
  ]
}' |
apify call cleanfetch/secretary-of-state-business-entity-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,cleanfetch/secretary-of-state-business-entity-scraper"
        }
    }
}
```

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/degLJQyhgz4RXnD1H/builds/EXwKnNHW0djb4fzEZ/openapi.json
