# Connecticut Business Registry Entity & Diversity-Flag Lookup (`dataspryva/connecticut-business-registry-entity-and-diversity`) Actor

Search Connecticut's official business registry by entity name, Business ID, city or NAICS code for entity type, status, formation date, addresses and diversity-ownership flags.

- **URL**: https://apify.com/dataspryva/connecticut-business-registry-entity-and-diversity.md
- **Developed by:** [Dataspryva](https://apify.com/dataspryva) (community)
- **Categories:** Automation, Lead generation, Other
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.49 / 1,000 results

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.
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

## Connecticut Business Registry Entity & Diversity-Flag Lookup

Connecticut's Secretary of the State publishes its full business registry as open data. This actor searches it by entity name, exact Business ID, business city, NAICS industry code or formation-date range, then joins the state's separate principal, registered-agent, filing-history and name-change datasets. Every field comes from official Connecticut open data — no login, cookie, API key or browser session.

### Data source and known gaps

- **Four official source tables are joined.** The business master, principals, agents and filing/name-change history are separate datasets on `data.ct.gov`, all published by the Connecticut Secretary of the State and refreshed daily. They are joined on the state's internal record id in batched requests.
- **Some brand-new or rejected filings have no principal row yet.** The state's principals dataset is populated after processing; the entity record still returns with its agent and filing data when those exist.
- **Name-change history is historical.** The state's name-change extract covers older records; when a record has no name change on file, `nameHistory` is omitted rather than guessed.
- **Not affiliated with the State of Connecticut.** This is an independent third-party tool built on the Secretary of the State's own public open data.

### What this actor does

- **4 search modes**:
  - `byEntityName` — business entity name (substring match)
  - `byAccountNumber` — exact Connecticut Business ID (account number)
  - `byCity` — business (mailing) address city (exact match)
  - `byNaicsCode` — full NAICS code or 2–5 digit industry prefix
- **Entity status filter** — 26 status values (`Active`, `Dissolved`, `Revoked`, `Forfeited`, etc.)
- **Entity type filter** — 22 business type values (LLC, Stock, Non-Stock, Limited Partnership, LLP, Statutory Trust, etc.)
- **Domestic/foreign filter** — restrict to entities formed in Connecticut vs. elsewhere
- **Formation-date range** — `formationDateFrom` / `formationDateTo` for new-business lead lists
- **Diversity-owned only** — one toggle for woman-, veteran-, minority-, disability- or LGBTQI-owned certification
- **Principals (officers/directors)** — name, designation, type, business and residence addresses
- **Registered agents** — agent name, type, phone, email, business, mailing and residence addresses
- **Filing history** — filing number, category, type, dates, organizer, volume/page, forfeiture date
- **Name-change history** — old name, new name, change date, when the state publishes it
- **Formation-jurisdiction detail** — formation place/country, organization-meeting date, foreign name and date began transacting in Connecticut
- **Diversity-ownership flags** — woman-owned, veteran-owned, minority-owned, disability-owned, LGBTQI-owned, when on file
- **Geocoded coordinates** — latitude/longitude of the mailing address, when available
- **Automatic stable pagination** up to `maxItems`, ordered by the registry's record id
- **Empty fields are omitted** at every depth

### What's NOT included (and why)

- **Individual officer compensation or biographical detail** — not present in the state's open-data extracts.
- **Filing documents themselves** — the filing-history table lists filings, not the scanned PDFs.
- **Name changes for the newest records** — the state's name-change history is a historical extract; see above.

### Output per entity

Master fields:

- `entityName`
- `entityId` — Connecticut Business ID (account number)
- `recordId` — internal registry record ID
- `entityType` — e.g. `LLC`, `Stock`, `Non-Stock`
- `status`, `subStatus` — e.g. `Active`, `Annual report due`
- `administrativeDissolutionReason` — reason on file when an entity was administratively dissolved/forfeited, when on file
- `citizenship` — `Domestic` or `Foreign`
- `jurisdictionOfFormation`, `formationPlace`, `formationCountry`
- `formationDate`, `organizationMeetingDate`, `beganTransactingInCtDate`, `annualReportDueDate`, `dissolutionDate` — `YYYY-MM-DD`, when on file
- `nameInFormationJurisdiction` — the entity's registered name in its home jurisdiction, when on file
- `mailingAddress`, `recordsAddress` (Keeper of Records), `officeAddress` (office in jurisdiction), `formationJurisdictionAddress`
- `latitude`, `longitude` — when available
- `naicsCode`, `naicsDescription`, `naicsSubCode` — when on file
- `businessEmail`, `surveyEmail`
- `totalAuthorizedShares` — for stock corporations, when a positive value is on file
- `womanOwned`, `veteranOwned`, `minorityOwned`, `disabilityOwned`, `lgbtqiOwned` — boolean, when on file
- `sourceUrl` — link to the entity on Connecticut's open-data API
- `recordType: "entity"`, `scrapedAt`

Related records (attached when present):

- `principals[]` — `name`, `firstName`, `middleName`, `lastName`, `suffix`, `designation`, `principalType`, `businessAddress`, `residenceAddress`
- `agents[]` — `name`, `firstName`, `middleName`, `lastName`, `suffix`, `agentType`, `phone`, `email`, `businessAddress`, `mailingAddress`, `residenceAddress`
- `filings[]` — `filingNumber`, `filingDate`, `effectiveDate`, `filingCategory`, `filingType`, `reportYear`, `organizerName`, `organizerTitle`, `organizerType`, `incorporatorName`, `volume`, `volumeType`, `pages`, `startPage`, `dateForfeited`, `physicalFiling`
- `nameHistory[]` — `oldName`, `newName`, `changeDate`

### Input

| Field | Type | Default | Description |
|---|---|---|---|
| `mode` | string | `byEntityName` | One of the 4 search modes |
| `entityName` | string | `WALMART` | mode=byEntityName |
| `entityId` | string | – | mode=byAccountNumber |
| `businessCity` | string | – | mode=byCity |
| `naicsCode` | string | – | mode=byNaicsCode (full code or industry prefix) |
| `entityStatus` | string | any | Optional status filter |
| `entityType` | string | any | Optional entity type filter |
| `citizenship` | string | any | Optional domestic/foreign filter |
| `formationDateFrom` | date | – | Registration date on/after |
| `formationDateTo` | date | – | Registration date on/before |
| `diversityOwnedOnly` | boolean | `false` | Only diversity-certified entities |
| `includePrincipals` | boolean | `true` | Attach principals/officers |
| `includeAgents` | boolean | `true` | Attach registered agents |
| `includeFilings` | boolean | `false` | Attach full filing history |
| `includeNameHistory` | boolean | `false` | Attach name-change history |
| `proxyConfiguration` | object | AUTO | Optional; datacenter only, never residential |
| `maxItems` | int | `25` | Hard cap on entities (1–1000) |

#### Example: search by entity name

```json
{
  "mode": "byEntityName",
  "entityName": "GOOGLE",
  "maxItems": 10
}
```

#### Example: lookup by exact Business ID with officer and agent data

```json
{
  "mode": "byAccountNumber",
  "entityId": "0818011",
  "includePrincipals": true,
  "includeAgents": true,
  "includeFilings": true
}
```

#### Example: browse by city and status

```json
{
  "mode": "byCity",
  "businessCity": "Hartford",
  "entityStatus": "Active",
  "entityType": "LLC",
  "maxItems": 50
}
```

#### Example: new diversity-certified businesses

```json
{
  "mode": "byNaicsCode",
  "naicsCode": "5418",
  "formationDateFrom": "2025-01-01",
  "formationDateTo": "2025-12-31",
  "diversityOwnedOnly": true,
  "maxItems": 100
}
```

#### Legacy saved tasks

Older tasks using `searchQuery`, `query`, `businessName`, `accountNumber`, `city`, `naics`, `status`, `businessType`, `maxResults`, `limit`, or old mode names (`search`, `id`, `city`, `naics`) keep working: the actor maps them in code, and explicit new-style values always take precedence.

### Use cases

- **Due diligence** — confirm a counterparty's Connecticut formation date, entity type, status, officers and registered agent before contracting
- **Compliance & KYC** — cross-check a business's legal entity name, Business ID, principals and filing history
- **Supplier diversity sourcing** — filter for woman-owned, veteran-owned, minority-owned, disability-owned or LGBTQI-owned businesses
- **New-business lead lists** — filter by formation-date range and industry
- **Industry research** — pull every active entity under a NAICS code or sector prefix
- **Local market research** — pull every active entity in a given city
- **Company name availability checks** — see what similarly-named entities already exist

### FAQ

**What's the data source?** The Connecticut Secretary of the State's own business registry, published on the state's official open-data portal at `data.ct.gov`. This actor is an independent third-party tool and is not affiliated with the State of Connecticut.

**Is this data official / legally binding?** No. For an official Certificate of Legal Existence or certified copies, use the state's paid ordering channels via `service.ct.gov/business`. This actor returns the same free, public informational data the state republishes as open data.

**Why did my run return 0 results?** Either the query genuinely has no match, or a status/type/citizenship/date/diversity filter is narrower than expected. Try a broader query or remove a filter.

**How fresh is the data?** The open-data extracts are refreshed regularly by the Connecticut Secretary of the State (typically daily); they may lag the live interactive site by up to a day.

**Why is `principals` missing on some entities?** The state publishes principal rows after a filing is processed. Brand-new or rejected filings may not have one yet; the entity record still returns with its agent and filings when those exist.

**Why is `nameHistory` missing?** The state's name-change extract is historical and does not cover every recent record. It is omitted when the state has no name change on file.

**Can I get more than 1,000 entities?** Split the query by city, NAICS code, status or formation-date window and combine the datasets; each run caps at 1,000 entities by design.

# Actor input Schema

## `mode` (type: `string`):

Which search axis to use.

## `entityName` (type: `string`):

Business entity name to search for (substring match), e.g. `WALMART`.

## `entityId` (type: `string`):

Exact Connecticut Business ID (account number), e.g. `0818011`.

## `businessCity` (type: `string`):

Exact business (mailing) address city to browse entities in, e.g. `Hartford`.

## `naicsCode` (type: `string`):

North American Industry Classification System code to search for, e.g. `541810`.

## `entityStatus` (type: `string`):

Optionally restrict results to a single entity status.

## `entityType` (type: `string`):

Optionally restrict results to a single entity (business) type.

## `citizenship` (type: `string`):

Optionally restrict results to entities formed in Connecticut (Domestic) or elsewhere (Foreign).

## `formationDateFrom` (type: `string`):

Only entities whose registration/formation date is on or after this date (YYYY-MM-DD). Leave empty for no lower bound; useful for new-business lead lists.

## `formationDateTo` (type: `string`):

Only entities whose registration/formation date is on or before this date (YYYY-MM-DD). Leave empty for no upper bound.

## `diversityOwnedOnly` (type: `boolean`):

Return only entities the state records as woman-, veteran-, minority-, disability- or LGBTQI-owned.

## `includePrincipals` (type: `boolean`):

Attach the principal/officer/director records the state publishes for each entity.

## `includeAgents` (type: `boolean`):

Attach the registered-agent records (name, type, phone, email, addresses) the state publishes for each entity.

## `includeFilings` (type: `boolean`):

Attach the full filing-history records for each entity. Adds one extra request per 40 entities.

## `includeNameHistory` (type: `boolean`):

Attach the name-change history (old name, new name, change date) for each entity where the state publishes it.

## `proxyConfiguration` (type: `object`):

Uses Apify's free datacenter (AUTO) proxy group to get a fresh IP if a request is temporarily blocked. Residential proxy is never used by this actor.

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

Hard cap on emitted records.

## Actor input object example

```json
{
  "mode": "byEntityName",
  "entityName": "WALMART",
  "entityStatus": "",
  "entityType": "",
  "citizenship": "",
  "diversityOwnedOnly": false,
  "includePrincipals": true,
  "includeAgents": true,
  "includeFilings": false,
  "includeNameHistory": false,
  "proxyConfiguration": {
    "useApifyProxy": true
  },
  "maxItems": 10
}
```

# Actor output Schema

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

Dataset containing all scraped Connecticut business entity records.

# 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 = {
    "mode": "byEntityName",
    "entityName": "WALMART",
    "entityStatus": "",
    "entityType": "",
    "citizenship": "",
    "diversityOwnedOnly": false,
    "includePrincipals": true,
    "includeAgents": true,
    "includeFilings": false,
    "includeNameHistory": false,
    "proxyConfiguration": {
        "useApifyProxy": true
    },
    "maxItems": 10
};

// Run the Actor and wait for it to finish
const run = await client.actor("dataspryva/connecticut-business-registry-entity-and-diversity").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 = {
    "mode": "byEntityName",
    "entityName": "WALMART",
    "entityStatus": "",
    "entityType": "",
    "citizenship": "",
    "diversityOwnedOnly": False,
    "includePrincipals": True,
    "includeAgents": True,
    "includeFilings": False,
    "includeNameHistory": False,
    "proxyConfiguration": { "useApifyProxy": True },
    "maxItems": 10,
}

# Run the Actor and wait for it to finish
run = client.actor("dataspryva/connecticut-business-registry-entity-and-diversity").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 '{
  "mode": "byEntityName",
  "entityName": "WALMART",
  "entityStatus": "",
  "entityType": "",
  "citizenship": "",
  "diversityOwnedOnly": false,
  "includePrincipals": true,
  "includeAgents": true,
  "includeFilings": false,
  "includeNameHistory": false,
  "proxyConfiguration": {
    "useApifyProxy": true
  },
  "maxItems": 10
}' |
apify call dataspryva/connecticut-business-registry-entity-and-diversity --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,dataspryva/connecticut-business-registry-entity-and-diversity"
        }
    }
}
```

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/DWc9OczgVUKvp8DbE/builds/MBJCIjbT29BUymZyb/openapi.json
