{
  "data": {
    "id": "MBJCIjbT29BUymZyb",
    "actId": "DWc9OczgVUKvp8DbE",
    "userId": "zq8lKbpLzTjGDayPC",
    "startedAt": "2026-11-25T09:11:46.385Z",
    "finishedAt": "2026-11-25T09:11:49.782Z",
    "status": "SUCCEEDED",
    "meta": {
      "origin": "CLI"
    },
    "stats": {
      "durationMillis": 3264,
      "runTimeSecs": 3.264,
      "computeUnits": 0.0036266666666666665,
      "imageSizeBytes": 319209472
    },
    "options": {
      "useCache": true,
      "betaPackages": false,
      "memoryMbytes": 4096,
      "diskMbytes": 8192
    },
    "createdByOrganizationMemberUserId": "GK9YjZRyQZVzOdoH5",
    "exitCode": 0,
    "inputSchema": "{\n  \"title\": \"Connecticut Secretary of State Business Search Scraper Input\",\n  \"description\": \"Search Connecticut's official business registry (published by the Connecticut Secretary of State on the state's open-data portal) by entity name, exact Business ID (account number), business city, or NAICS industry code. Optionally filter by entity status, entity type, and domestic/foreign citizenship.\",\n  \"type\": \"object\",\n  \"schemaVersion\": 1,\n  \"properties\": {\n    \"mode\": {\n      \"title\": \"Search mode\",\n      \"type\": \"string\",\n      \"description\": \"Which search axis to use.\",\n      \"editor\": \"select\",\n      \"enum\": [\n        \"byEntityName\",\n        \"byAccountNumber\",\n        \"byCity\",\n        \"byNaicsCode\"\n      ],\n      \"enumTitles\": [\n        \"By entity name\",\n        \"By exact Business ID (account number)\",\n        \"By business city\",\n        \"By NAICS industry code\"\n      ],\n      \"default\": \"byEntityName\",\n      \"prefill\": \"byEntityName\"\n    },\n    \"entityName\": {\n      \"title\": \"Entity name (mode=byEntityName)\",\n      \"type\": \"string\",\n      \"description\": \"Business entity name to search for (substring match), e.g. `WALMART`.\",\n      \"editor\": \"textfield\",\n      \"default\": \"WALMART\",\n      \"prefill\": \"WALMART\"\n    },\n    \"entityId\": {\n      \"title\": \"Business ID / account number (mode=byAccountNumber)\",\n      \"type\": \"string\",\n      \"description\": \"Exact Connecticut Business ID (account number), e.g. `0818011`.\",\n      \"editor\": \"textfield\"\n    },\n    \"businessCity\": {\n      \"title\": \"Business city (mode=byCity)\",\n      \"type\": \"string\",\n      \"description\": \"Exact business (mailing) address city to browse entities in, e.g. `Hartford`.\",\n      \"editor\": \"textfield\"\n    },\n    \"naicsCode\": {\n      \"title\": \"NAICS code (mode=byNaicsCode)\",\n      \"type\": \"string\",\n      \"description\": \"North American Industry Classification System code to search for, e.g. `541810`.\",\n      \"editor\": \"textfield\"\n    },\n    \"entityStatus\": {\n      \"title\": \"Entity status filter\",\n      \"type\": \"string\",\n      \"description\": \"Optionally restrict results to a single entity status.\",\n      \"editor\": \"select\",\n      \"enum\": [\n        \"\",\n        \"Active\",\n        \"Active - Pending Domestication\",\n        \"Cancelled\",\n        \"Consolidation\",\n        \"Converted\",\n        \"Converted Out\",\n        \"Dissolved\",\n        \"Domesticated\",\n        \"Expired\",\n        \"Expired Reservation\",\n        \"Forfeited\",\n        \"Merged\",\n        \"Pending Conversion\",\n        \"Pending Filing\",\n        \"Pending Merger\",\n        \"Pending Withdrawal\",\n        \"Recorded\",\n        \"Redomesticated\",\n        \"Registered\",\n        \"Rejected\",\n        \"Removed\",\n        \"Renunciated\",\n        \"Reserved\",\n        \"Reserved Cancel\",\n        \"Revoked\",\n        \"Withdrawn\"\n      ],\n      \"enumTitles\": [\n        \"Any status\",\n        \"Active\",\n        \"Active - Pending Domestication\",\n        \"Cancelled\",\n        \"Consolidation\",\n        \"Converted\",\n        \"Converted Out\",\n        \"Dissolved\",\n        \"Domesticated\",\n        \"Expired\",\n        \"Expired Reservation\",\n        \"Forfeited\",\n        \"Merged\",\n        \"Pending Conversion\",\n        \"Pending Filing\",\n        \"Pending Merger\",\n        \"Pending Withdrawal\",\n        \"Recorded\",\n        \"Redomesticated\",\n        \"Registered\",\n        \"Rejected\",\n        \"Removed\",\n        \"Renunciated\",\n        \"Reserved\",\n        \"Reserved Cancel\",\n        \"Revoked\",\n        \"Withdrawn\"\n      ],\n      \"default\": \"\",\n      \"prefill\": \"\"\n    },\n    \"entityType\": {\n      \"title\": \"Entity type filter\",\n      \"type\": \"string\",\n      \"description\": \"Optionally restrict results to a single entity (business) type.\",\n      \"editor\": \"select\",\n      \"enum\": [\n        \"\",\n        \"LLC\",\n        \"Stock\",\n        \"Non-Stock\",\n        \"Limited Partnership\",\n        \"LLP\",\n        \"Statutory Trust\",\n        \"General Partnerships\",\n        \"B Corp\",\n        \"Bank Stock\",\n        \"Bank Non-Stock\",\n        \"Credit Union Stock\",\n        \"Credit Union Non-Stock\",\n        \"Insurance Stock\",\n        \"Insurance Non-Stock\",\n        \"Cooperative Association\",\n        \"Cemetery\",\n        \"Religious\",\n        \"Special Chartered\",\n        \"Stock Specially Chartered\",\n        \"Non-Stock Specially Chartered\",\n        \"Unauthorized\",\n        \"Unknown\"\n      ],\n      \"enumTitles\": [\n        \"Any type\",\n        \"LLC\",\n        \"Stock Corporation\",\n        \"Non-Stock Corporation\",\n        \"Limited Partnership\",\n        \"Limited Liability Partnership\",\n        \"Statutory Trust\",\n        \"General Partnership\",\n        \"Benefit Corporation\",\n        \"Bank (Stock)\",\n        \"Bank (Non-Stock)\",\n        \"Credit Union (Stock)\",\n        \"Credit Union (Non-Stock)\",\n        \"Insurance (Stock)\",\n        \"Insurance (Non-Stock)\",\n        \"Cooperative Association\",\n        \"Cemetery\",\n        \"Religious\",\n        \"Special Chartered\",\n        \"Stock Specially Chartered\",\n        \"Non-Stock Specially Chartered\",\n        \"Unauthorized\",\n        \"Unknown\"\n      ],\n      \"default\": \"\",\n      \"prefill\": \"\"\n    },\n    \"citizenship\": {\n      \"title\": \"Domestic / foreign filter\",\n      \"type\": \"string\",\n      \"description\": \"Optionally restrict results to entities formed in Connecticut (Domestic) or elsewhere (Foreign).\",\n      \"editor\": \"select\",\n      \"enum\": [\n        \"\",\n        \"Domestic\",\n        \"Foreign\"\n      ],\n      \"enumTitles\": [\n        \"Any\",\n        \"Domestic (formed in CT)\",\n        \"Foreign (formed elsewhere)\"\n      ],\n      \"default\": \"\",\n      \"prefill\": \"\"\n    },\n    \"formationDateFrom\": {\n      \"title\": \"Formation date from\",\n      \"type\": \"string\",\n      \"description\": \"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.\",\n      \"editor\": \"datepicker\"\n    },\n    \"formationDateTo\": {\n      \"title\": \"Formation date to\",\n      \"type\": \"string\",\n      \"description\": \"Only entities whose registration/formation date is on or before this date (YYYY-MM-DD). Leave empty for no upper bound.\",\n      \"editor\": \"datepicker\"\n    },\n    \"diversityOwnedOnly\": {\n      \"title\": \"Diversity-owned only\",\n      \"type\": \"boolean\",\n      \"description\": \"Return only entities the state records as woman-, veteran-, minority-, disability- or LGBTQI-owned.\",\n      \"default\": false,\n      \"prefill\": false\n    },\n    \"includePrincipals\": {\n      \"title\": \"Include principals (officers/directors)\",\n      \"type\": \"boolean\",\n      \"description\": \"Attach the principal/officer/director records the state publishes for each entity.\",\n      \"default\": true,\n      \"prefill\": true\n    },\n    \"includeAgents\": {\n      \"title\": \"Include registered agents\",\n      \"type\": \"boolean\",\n      \"description\": \"Attach the registered-agent records (name, type, phone, email, addresses) the state publishes for each entity.\",\n      \"default\": true,\n      \"prefill\": true\n    },\n    \"includeFilings\": {\n      \"title\": \"Include filing history\",\n      \"type\": \"boolean\",\n      \"description\": \"Attach the full filing-history records for each entity. Adds one extra request per 40 entities.\",\n      \"default\": false,\n      \"prefill\": false\n    },\n    \"includeNameHistory\": {\n      \"title\": \"Include name-change history\",\n      \"type\": \"boolean\",\n      \"description\": \"Attach the name-change history (old name, new name, change date) for each entity where the state publishes it.\",\n      \"default\": false,\n      \"prefill\": false\n    },\n    \"proxyConfiguration\": {\n      \"title\": \"Proxy configuration\",\n      \"type\": \"object\",\n      \"description\": \"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.\",\n      \"editor\": \"proxy\",\n      \"prefill\": {\n        \"useApifyProxy\": true\n      },\n      \"default\": {\n        \"useApifyProxy\": true\n      }\n    },\n    \"maxItems\": {\n      \"title\": \"Max items\",\n      \"type\": \"integer\",\n      \"description\": \"Hard cap on emitted records.\",\n      \"minimum\": 1,\n      \"maximum\": 1000,\n      \"default\": 25,\n      \"prefill\": 10\n    }\n  },\n  \"required\": [\n    \"mode\"\n  ]\n}",
    "readme": "# Connecticut Business Registry Entity & Diversity-Flag Lookup\n\nConnecticut'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.\n\n## Data source and known gaps\n\n- **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.\n- **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.\n- **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.\n- **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.\n\n## What this actor does\n\n- **4 search modes**:\n  - `byEntityName` — business entity name (substring match)\n  - `byAccountNumber` — exact Connecticut Business ID (account number)\n  - `byCity` — business (mailing) address city (exact match)\n  - `byNaicsCode` — full NAICS code or 2–5 digit industry prefix\n- **Entity status filter** — 26 status values (`Active`, `Dissolved`, `Revoked`, `Forfeited`, etc.)\n- **Entity type filter** — 22 business type values (LLC, Stock, Non-Stock, Limited Partnership, LLP, Statutory Trust, etc.)\n- **Domestic/foreign filter** — restrict to entities formed in Connecticut vs. elsewhere\n- **Formation-date range** — `formationDateFrom` / `formationDateTo` for new-business lead lists\n- **Diversity-owned only** — one toggle for woman-, veteran-, minority-, disability- or LGBTQI-owned certification\n- **Principals (officers/directors)** — name, designation, type, business and residence addresses\n- **Registered agents** — agent name, type, phone, email, business, mailing and residence addresses\n- **Filing history** — filing number, category, type, dates, organizer, volume/page, forfeiture date\n- **Name-change history** — old name, new name, change date, when the state publishes it\n- **Formation-jurisdiction detail** — formation place/country, organization-meeting date, foreign name and date began transacting in Connecticut\n- **Diversity-ownership flags** — woman-owned, veteran-owned, minority-owned, disability-owned, LGBTQI-owned, when on file\n- **Geocoded coordinates** — latitude/longitude of the mailing address, when available\n- **Automatic stable pagination** up to `maxItems`, ordered by the registry's record id\n- **Empty fields are omitted** at every depth\n\n## What's NOT included (and why)\n\n- **Individual officer compensation or biographical detail** — not present in the state's open-data extracts.\n- **Filing documents themselves** — the filing-history table lists filings, not the scanned PDFs.\n- **Name changes for the newest records** — the state's name-change history is a historical extract; see above.\n\n## Output per entity\n\nMaster fields:\n\n- `entityName`\n- `entityId` — Connecticut Business ID (account number)\n- `recordId` — internal registry record ID\n- `entityType` — e.g. `LLC`, `Stock`, `Non-Stock`\n- `status`, `subStatus` — e.g. `Active`, `Annual report due`\n- `administrativeDissolutionReason` — reason on file when an entity was administratively dissolved/forfeited, when on file\n- `citizenship` — `Domestic` or `Foreign`\n- `jurisdictionOfFormation`, `formationPlace`, `formationCountry`\n- `formationDate`, `organizationMeetingDate`, `beganTransactingInCtDate`, `annualReportDueDate`, `dissolutionDate` — `YYYY-MM-DD`, when on file\n- `nameInFormationJurisdiction` — the entity's registered name in its home jurisdiction, when on file\n- `mailingAddress`, `recordsAddress` (Keeper of Records), `officeAddress` (office in jurisdiction), `formationJurisdictionAddress`\n- `latitude`, `longitude` — when available\n- `naicsCode`, `naicsDescription`, `naicsSubCode` — when on file\n- `businessEmail`, `surveyEmail`\n- `totalAuthorizedShares` — for stock corporations, when a positive value is on file\n- `womanOwned`, `veteranOwned`, `minorityOwned`, `disabilityOwned`, `lgbtqiOwned` — boolean, when on file\n- `sourceUrl` — link to the entity on Connecticut's open-data API\n- `recordType: \"entity\"`, `scrapedAt`\n\nRelated records (attached when present):\n\n- `principals[]` — `name`, `firstName`, `middleName`, `lastName`, `suffix`, `designation`, `principalType`, `businessAddress`, `residenceAddress`\n- `agents[]` — `name`, `firstName`, `middleName`, `lastName`, `suffix`, `agentType`, `phone`, `email`, `businessAddress`, `mailingAddress`, `residenceAddress`\n- `filings[]` — `filingNumber`, `filingDate`, `effectiveDate`, `filingCategory`, `filingType`, `reportYear`, `organizerName`, `organizerTitle`, `organizerType`, `incorporatorName`, `volume`, `volumeType`, `pages`, `startPage`, `dateForfeited`, `physicalFiling`\n- `nameHistory[]` — `oldName`, `newName`, `changeDate`\n\n## Input\n\n| Field | Type | Default | Description |\n|---|---|---|---|\n| `mode` | string | `byEntityName` | One of the 4 search modes |\n| `entityName` | string | `WALMART` | mode=byEntityName |\n| `entityId` | string | – | mode=byAccountNumber |\n| `businessCity` | string | – | mode=byCity |\n| `naicsCode` | string | – | mode=byNaicsCode (full code or industry prefix) |\n| `entityStatus` | string | any | Optional status filter |\n| `entityType` | string | any | Optional entity type filter |\n| `citizenship` | string | any | Optional domestic/foreign filter |\n| `formationDateFrom` | date | – | Registration date on/after |\n| `formationDateTo` | date | – | Registration date on/before |\n| `diversityOwnedOnly` | boolean | `false` | Only diversity-certified entities |\n| `includePrincipals` | boolean | `true` | Attach principals/officers |\n| `includeAgents` | boolean | `true` | Attach registered agents |\n| `includeFilings` | boolean | `false` | Attach full filing history |\n| `includeNameHistory` | boolean | `false` | Attach name-change history |\n| `proxyConfiguration` | object | AUTO | Optional; datacenter only, never residential |\n| `maxItems` | int | `25` | Hard cap on entities (1–1000) |\n\n### Example: search by entity name\n\n```json\n{\n  \"mode\": \"byEntityName\",\n  \"entityName\": \"GOOGLE\",\n  \"maxItems\": 10\n}\n```\n\n### Example: lookup by exact Business ID with officer and agent data\n\n```json\n{\n  \"mode\": \"byAccountNumber\",\n  \"entityId\": \"0818011\",\n  \"includePrincipals\": true,\n  \"includeAgents\": true,\n  \"includeFilings\": true\n}\n```\n\n### Example: browse by city and status\n\n```json\n{\n  \"mode\": \"byCity\",\n  \"businessCity\": \"Hartford\",\n  \"entityStatus\": \"Active\",\n  \"entityType\": \"LLC\",\n  \"maxItems\": 50\n}\n```\n\n### Example: new diversity-certified businesses\n\n```json\n{\n  \"mode\": \"byNaicsCode\",\n  \"naicsCode\": \"5418\",\n  \"formationDateFrom\": \"2025-01-01\",\n  \"formationDateTo\": \"2025-12-31\",\n  \"diversityOwnedOnly\": true,\n  \"maxItems\": 100\n}\n```\n\n### Legacy saved tasks\n\nOlder 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.\n\n## Use cases\n\n- **Due diligence** — confirm a counterparty's Connecticut formation date, entity type, status, officers and registered agent before contracting\n- **Compliance & KYC** — cross-check a business's legal entity name, Business ID, principals and filing history\n- **Supplier diversity sourcing** — filter for woman-owned, veteran-owned, minority-owned, disability-owned or LGBTQI-owned businesses\n- **New-business lead lists** — filter by formation-date range and industry\n- **Industry research** — pull every active entity under a NAICS code or sector prefix\n- **Local market research** — pull every active entity in a given city\n- **Company name availability checks** — see what similarly-named entities already exist\n\n## FAQ\n\n**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.\n\n**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.\n\n**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.\n\n**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.\n\n**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.\n\n**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.\n\n**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.\n",
    "actorDefinition": {
      "actorSpecification": 1,
      "name": "connecticut-business-registry-entity-and-diversity",
      "title": "Connecticut Business Registry Entity & Diversity-Flag Lookup",
      "description": "Search Connecticut's official business registry by entity name, Business ID, city, NAICS code or formation date for entity type, status, addresses, principals, registered agents, filing history and diversity-ownership flags.",
      "version": "1.1",
      "buildTag": "latest",
      "dockerfile": "../Dockerfile",
      "readme": "# Connecticut Business Registry Entity & Diversity-Flag Lookup\n\nConnecticut'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.\n\n## Data source and known gaps\n\n- **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.\n- **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.\n- **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.\n- **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.\n\n## What this actor does\n\n- **4 search modes**:\n  - `byEntityName` — business entity name (substring match)\n  - `byAccountNumber` — exact Connecticut Business ID (account number)\n  - `byCity` — business (mailing) address city (exact match)\n  - `byNaicsCode` — full NAICS code or 2–5 digit industry prefix\n- **Entity status filter** — 26 status values (`Active`, `Dissolved`, `Revoked`, `Forfeited`, etc.)\n- **Entity type filter** — 22 business type values (LLC, Stock, Non-Stock, Limited Partnership, LLP, Statutory Trust, etc.)\n- **Domestic/foreign filter** — restrict to entities formed in Connecticut vs. elsewhere\n- **Formation-date range** — `formationDateFrom` / `formationDateTo` for new-business lead lists\n- **Diversity-owned only** — one toggle for woman-, veteran-, minority-, disability- or LGBTQI-owned certification\n- **Principals (officers/directors)** — name, designation, type, business and residence addresses\n- **Registered agents** — agent name, type, phone, email, business, mailing and residence addresses\n- **Filing history** — filing number, category, type, dates, organizer, volume/page, forfeiture date\n- **Name-change history** — old name, new name, change date, when the state publishes it\n- **Formation-jurisdiction detail** — formation place/country, organization-meeting date, foreign name and date began transacting in Connecticut\n- **Diversity-ownership flags** — woman-owned, veteran-owned, minority-owned, disability-owned, LGBTQI-owned, when on file\n- **Geocoded coordinates** — latitude/longitude of the mailing address, when available\n- **Automatic stable pagination** up to `maxItems`, ordered by the registry's record id\n- **Empty fields are omitted** at every depth\n\n## What's NOT included (and why)\n\n- **Individual officer compensation or biographical detail** — not present in the state's open-data extracts.\n- **Filing documents themselves** — the filing-history table lists filings, not the scanned PDFs.\n- **Name changes for the newest records** — the state's name-change history is a historical extract; see above.\n\n## Output per entity\n\nMaster fields:\n\n- `entityName`\n- `entityId` — Connecticut Business ID (account number)\n- `recordId` — internal registry record ID\n- `entityType` — e.g. `LLC`, `Stock`, `Non-Stock`\n- `status`, `subStatus` — e.g. `Active`, `Annual report due`\n- `administrativeDissolutionReason` — reason on file when an entity was administratively dissolved/forfeited, when on file\n- `citizenship` — `Domestic` or `Foreign`\n- `jurisdictionOfFormation`, `formationPlace`, `formationCountry`\n- `formationDate`, `organizationMeetingDate`, `beganTransactingInCtDate`, `annualReportDueDate`, `dissolutionDate` — `YYYY-MM-DD`, when on file\n- `nameInFormationJurisdiction` — the entity's registered name in its home jurisdiction, when on file\n- `mailingAddress`, `recordsAddress` (Keeper of Records), `officeAddress` (office in jurisdiction), `formationJurisdictionAddress`\n- `latitude`, `longitude` — when available\n- `naicsCode`, `naicsDescription`, `naicsSubCode` — when on file\n- `businessEmail`, `surveyEmail`\n- `totalAuthorizedShares` — for stock corporations, when a positive value is on file\n- `womanOwned`, `veteranOwned`, `minorityOwned`, `disabilityOwned`, `lgbtqiOwned` — boolean, when on file\n- `sourceUrl` — link to the entity on Connecticut's open-data API\n- `recordType: \"entity\"`, `scrapedAt`\n\nRelated records (attached when present):\n\n- `principals[]` — `name`, `firstName`, `middleName`, `lastName`, `suffix`, `designation`, `principalType`, `businessAddress`, `residenceAddress`\n- `agents[]` — `name`, `firstName`, `middleName`, `lastName`, `suffix`, `agentType`, `phone`, `email`, `businessAddress`, `mailingAddress`, `residenceAddress`\n- `filings[]` — `filingNumber`, `filingDate`, `effectiveDate`, `filingCategory`, `filingType`, `reportYear`, `organizerName`, `organizerTitle`, `organizerType`, `incorporatorName`, `volume`, `volumeType`, `pages`, `startPage`, `dateForfeited`, `physicalFiling`\n- `nameHistory[]` — `oldName`, `newName`, `changeDate`\n\n## Input\n\n| Field | Type | Default | Description |\n|---|---|---|---|\n| `mode` | string | `byEntityName` | One of the 4 search modes |\n| `entityName` | string | `WALMART` | mode=byEntityName |\n| `entityId` | string | – | mode=byAccountNumber |\n| `businessCity` | string | – | mode=byCity |\n| `naicsCode` | string | – | mode=byNaicsCode (full code or industry prefix) |\n| `entityStatus` | string | any | Optional status filter |\n| `entityType` | string | any | Optional entity type filter |\n| `citizenship` | string | any | Optional domestic/foreign filter |\n| `formationDateFrom` | date | – | Registration date on/after |\n| `formationDateTo` | date | – | Registration date on/before |\n| `diversityOwnedOnly` | boolean | `false` | Only diversity-certified entities |\n| `includePrincipals` | boolean | `true` | Attach principals/officers |\n| `includeAgents` | boolean | `true` | Attach registered agents |\n| `includeFilings` | boolean | `false` | Attach full filing history |\n| `includeNameHistory` | boolean | `false` | Attach name-change history |\n| `proxyConfiguration` | object | AUTO | Optional; datacenter only, never residential |\n| `maxItems` | int | `25` | Hard cap on entities (1–1000) |\n\n### Example: search by entity name\n\n```json\n{\n  \"mode\": \"byEntityName\",\n  \"entityName\": \"GOOGLE\",\n  \"maxItems\": 10\n}\n```\n\n### Example: lookup by exact Business ID with officer and agent data\n\n```json\n{\n  \"mode\": \"byAccountNumber\",\n  \"entityId\": \"0818011\",\n  \"includePrincipals\": true,\n  \"includeAgents\": true,\n  \"includeFilings\": true\n}\n```\n\n### Example: browse by city and status\n\n```json\n{\n  \"mode\": \"byCity\",\n  \"businessCity\": \"Hartford\",\n  \"entityStatus\": \"Active\",\n  \"entityType\": \"LLC\",\n  \"maxItems\": 50\n}\n```\n\n### Example: new diversity-certified businesses\n\n```json\n{\n  \"mode\": \"byNaicsCode\",\n  \"naicsCode\": \"5418\",\n  \"formationDateFrom\": \"2025-01-01\",\n  \"formationDateTo\": \"2025-12-31\",\n  \"diversityOwnedOnly\": true,\n  \"maxItems\": 100\n}\n```\n\n### Legacy saved tasks\n\nOlder 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.\n\n## Use cases\n\n- **Due diligence** — confirm a counterparty's Connecticut formation date, entity type, status, officers and registered agent before contracting\n- **Compliance & KYC** — cross-check a business's legal entity name, Business ID, principals and filing history\n- **Supplier diversity sourcing** — filter for woman-owned, veteran-owned, minority-owned, disability-owned or LGBTQI-owned businesses\n- **New-business lead lists** — filter by formation-date range and industry\n- **Industry research** — pull every active entity under a NAICS code or sector prefix\n- **Local market research** — pull every active entity in a given city\n- **Company name availability checks** — see what similarly-named entities already exist\n\n## FAQ\n\n**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.\n\n**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.\n\n**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.\n\n**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.\n\n**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.\n\n**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.\n\n**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.\n",
      "input": {
        "title": "Connecticut Secretary of State Business Search Scraper Input",
        "description": "Search Connecticut's official business registry (published by the Connecticut Secretary of State on the state's open-data portal) by entity name, exact Business ID (account number), business city, or NAICS industry code. Optionally filter by entity status, entity type, and domestic/foreign citizenship.",
        "type": "object",
        "schemaVersion": 1,
        "properties": {
          "mode": {
            "title": "Search mode",
            "type": "string",
            "description": "Which search axis to use.",
            "editor": "select",
            "enum": [
              "byEntityName",
              "byAccountNumber",
              "byCity",
              "byNaicsCode"
            ],
            "enumTitles": [
              "By entity name",
              "By exact Business ID (account number)",
              "By business city",
              "By NAICS industry code"
            ],
            "default": "byEntityName",
            "prefill": "byEntityName"
          },
          "entityName": {
            "title": "Entity name (mode=byEntityName)",
            "type": "string",
            "description": "Business entity name to search for (substring match), e.g. `WALMART`.",
            "editor": "textfield",
            "default": "WALMART",
            "prefill": "WALMART"
          },
          "entityId": {
            "title": "Business ID / account number (mode=byAccountNumber)",
            "type": "string",
            "description": "Exact Connecticut Business ID (account number), e.g. `0818011`.",
            "editor": "textfield"
          },
          "businessCity": {
            "title": "Business city (mode=byCity)",
            "type": "string",
            "description": "Exact business (mailing) address city to browse entities in, e.g. `Hartford`.",
            "editor": "textfield"
          },
          "naicsCode": {
            "title": "NAICS code (mode=byNaicsCode)",
            "type": "string",
            "description": "North American Industry Classification System code to search for, e.g. `541810`.",
            "editor": "textfield"
          },
          "entityStatus": {
            "title": "Entity status filter",
            "type": "string",
            "description": "Optionally restrict results to a single entity status.",
            "editor": "select",
            "enum": [
              "",
              "Active",
              "Active - Pending Domestication",
              "Cancelled",
              "Consolidation",
              "Converted",
              "Converted Out",
              "Dissolved",
              "Domesticated",
              "Expired",
              "Expired Reservation",
              "Forfeited",
              "Merged",
              "Pending Conversion",
              "Pending Filing",
              "Pending Merger",
              "Pending Withdrawal",
              "Recorded",
              "Redomesticated",
              "Registered",
              "Rejected",
              "Removed",
              "Renunciated",
              "Reserved",
              "Reserved Cancel",
              "Revoked",
              "Withdrawn"
            ],
            "enumTitles": [
              "Any status",
              "Active",
              "Active - Pending Domestication",
              "Cancelled",
              "Consolidation",
              "Converted",
              "Converted Out",
              "Dissolved",
              "Domesticated",
              "Expired",
              "Expired Reservation",
              "Forfeited",
              "Merged",
              "Pending Conversion",
              "Pending Filing",
              "Pending Merger",
              "Pending Withdrawal",
              "Recorded",
              "Redomesticated",
              "Registered",
              "Rejected",
              "Removed",
              "Renunciated",
              "Reserved",
              "Reserved Cancel",
              "Revoked",
              "Withdrawn"
            ],
            "default": "",
            "prefill": ""
          },
          "entityType": {
            "title": "Entity type filter",
            "type": "string",
            "description": "Optionally restrict results to a single entity (business) type.",
            "editor": "select",
            "enum": [
              "",
              "LLC",
              "Stock",
              "Non-Stock",
              "Limited Partnership",
              "LLP",
              "Statutory Trust",
              "General Partnerships",
              "B Corp",
              "Bank Stock",
              "Bank Non-Stock",
              "Credit Union Stock",
              "Credit Union Non-Stock",
              "Insurance Stock",
              "Insurance Non-Stock",
              "Cooperative Association",
              "Cemetery",
              "Religious",
              "Special Chartered",
              "Stock Specially Chartered",
              "Non-Stock Specially Chartered",
              "Unauthorized",
              "Unknown"
            ],
            "enumTitles": [
              "Any type",
              "LLC",
              "Stock Corporation",
              "Non-Stock Corporation",
              "Limited Partnership",
              "Limited Liability Partnership",
              "Statutory Trust",
              "General Partnership",
              "Benefit Corporation",
              "Bank (Stock)",
              "Bank (Non-Stock)",
              "Credit Union (Stock)",
              "Credit Union (Non-Stock)",
              "Insurance (Stock)",
              "Insurance (Non-Stock)",
              "Cooperative Association",
              "Cemetery",
              "Religious",
              "Special Chartered",
              "Stock Specially Chartered",
              "Non-Stock Specially Chartered",
              "Unauthorized",
              "Unknown"
            ],
            "default": "",
            "prefill": ""
          },
          "citizenship": {
            "title": "Domestic / foreign filter",
            "type": "string",
            "description": "Optionally restrict results to entities formed in Connecticut (Domestic) or elsewhere (Foreign).",
            "editor": "select",
            "enum": [
              "",
              "Domestic",
              "Foreign"
            ],
            "enumTitles": [
              "Any",
              "Domestic (formed in CT)",
              "Foreign (formed elsewhere)"
            ],
            "default": "",
            "prefill": ""
          },
          "formationDateFrom": {
            "title": "Formation date from",
            "type": "string",
            "description": "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.",
            "editor": "datepicker"
          },
          "formationDateTo": {
            "title": "Formation date to",
            "type": "string",
            "description": "Only entities whose registration/formation date is on or before this date (YYYY-MM-DD). Leave empty for no upper bound.",
            "editor": "datepicker"
          },
          "diversityOwnedOnly": {
            "title": "Diversity-owned only",
            "type": "boolean",
            "description": "Return only entities the state records as woman-, veteran-, minority-, disability- or LGBTQI-owned.",
            "default": false,
            "prefill": false
          },
          "includePrincipals": {
            "title": "Include principals (officers/directors)",
            "type": "boolean",
            "description": "Attach the principal/officer/director records the state publishes for each entity.",
            "default": true,
            "prefill": true
          },
          "includeAgents": {
            "title": "Include registered agents",
            "type": "boolean",
            "description": "Attach the registered-agent records (name, type, phone, email, addresses) the state publishes for each entity.",
            "default": true,
            "prefill": true
          },
          "includeFilings": {
            "title": "Include filing history",
            "type": "boolean",
            "description": "Attach the full filing-history records for each entity. Adds one extra request per 40 entities.",
            "default": false,
            "prefill": false
          },
          "includeNameHistory": {
            "title": "Include name-change history",
            "type": "boolean",
            "description": "Attach the name-change history (old name, new name, change date) for each entity where the state publishes it.",
            "default": false,
            "prefill": false
          },
          "proxyConfiguration": {
            "title": "Proxy configuration",
            "type": "object",
            "description": "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.",
            "editor": "proxy",
            "prefill": {
              "useApifyProxy": true
            },
            "default": {
              "useApifyProxy": true
            }
          },
          "maxItems": {
            "title": "Max items",
            "type": "integer",
            "description": "Hard cap on emitted records.",
            "minimum": 1,
            "maximum": 1000,
            "default": 25,
            "prefill": 10
          }
        },
        "required": [
          "mode"
        ]
      },
      "output": {
        "actorOutputSchemaVersion": 1,
        "title": "Connecticut Business Registry Entity & Diversity-Flag Lookup Output",
        "description": "Connecticut business entity records with Business ID, entity type, status, formation date, addresses, NAICS code, principals, registered agents and diversity-ownership flags.",
        "properties": {
          "entities": {
            "type": "string",
            "title": "Connecticut entities",
            "description": "Dataset containing all scraped Connecticut business entity records.",
            "template": "{{links.apiDefaultDatasetUrl}}/items"
          }
        }
      },
      "storages": {
        "dataset": {
          "actorSpecification": 1,
          "views": {
            "overview": {
              "title": "Entities",
              "transformation": {
                "fields": [
                  "entityName",
                  "entityId",
                  "entityType",
                  "status",
                  "formationDate",
                  "mailingAddress",
                  "naicsDescription"
                ]
              },
              "display": {
                "component": "table",
                "properties": {}
              }
            }
          }
        }
      },
      "environmentVariables": {}
    },
    "buildNumber": "1.1.1",
    "imageDigest": "0500aea1e467a7ce9a11e6afcf81b09686c50592a1b0ce761d11a07691e07cf0",
    "actVersion": {
      "sourceType": "SOURCE_FILES",
      "buildTag": "latest",
      "versionNumber": "1.1"
    },
    "usage": {
      "ACTOR_COMPUTE_UNITS": 0.0036266666666666665
    }
  }
}