# New Business Filings: CO, CT, NY and PA (`fecklesspleb/state-new-business-filings`) Actor

New LLCs, corporations and partnerships registered with the CO, CT, NY and PA Secretaries of State, from their official open-data portals. Daily feed with dedupe; individual agents and officers withheld. Not affiliated with any state.

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

## Pricing

$2.00 / 1,000 new business filings

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

## New Business Filings: CO, CT, NY and PA

Get the companies that registered with four U.S. Secretaries of State in the last few days: new
LLCs, corporations, partnerships and nonprofits, from each state's official open-data portal
(Socrata SODA API). Built for a daily schedule: it remembers what it already delivered, so each
filing is delivered (and charged) once.

Not affiliated with, or endorsed by, any state, Tyler Technologies or Socrata.

### What you get

One record per entity:

| Field | Example | Notes |
|---|---|---|
| `state`, `stateName` | `CO`, `Colorado` | |
| `entityId` | `20268290248` | CO entity ID, CT account number, NY DOS ID, PA filing number |
| `entityName` | `Coda Motion Media LLC` | |
| `entityType`, `entityTypeCode` | `Domestic Limited Liability Company`, `DLLC` | CO codes expanded where the meaning is known |
| `entityStatus` | `Good Standing` | CT: Active, Dissolved...; NY dataset lists active entities only; PA: not published |
| `filingDate` | `2026-10-28` | formation / registration date |
| `jurisdictionOfFormation`, `county` | `CO`, `Kings` | county: NY and PA |
| `principalAddress` | `{line1, line2, city, state, zip, country}` | CO principal office, CT billing address, NY location; PA: city, state, ZIP5 only |
| `naicsCode`, `citizenship` | `Religious Organizations (813110)`, `Domestic` | CT only |
| `registeredAgent` | `{role, type, name, address, detailsWithheld}` | CO and NY |
| `serviceOfProcess` | same shape | NY only |
| `parties` | `[{role: "Organizer", type: "person", detailsWithheld: true}]` | PA only, roles only |
| `source` | portal, publisher, dataset ID, link to the state's public dataset page, licence, attribution | no link to the raw row (it would show the agent names this Actor withholds) |
| `disclaimer` | Colorado's required disclaimer | CO records only |

### Privacy

Entities only, like our Sunbiz Actor. Natural persons are never output: they appear only as a role
with `"type": "person", "detailsWithheld": true` and no name or address.

- **Colorado:** individual registered agents are masked. The Actor never downloads agent names; it
  asks the API only whether a person's name is present. Commercial agent companies are kept.
- **New York:** agent and service-of-process names are kept only when they are clearly an
  organisation (a legal form such as INC, LLC, CORP, P.C., or a firm keyword such as REGISTERED,
  SERVICES, LAW). Anything else is treated as a person and masked with its address. This is a
  heuristic that errs towards masking. Chairman fields are never read.
- **Pennsylvania:** officer / organizer names and street addresses are never read; only party roles,
  city, ZIP5 and county.
- **Connecticut:** business e-mail addresses and owner-demographic flags are never read.
- **Sole proprietors / trade names:** none of these four registries list them; a guard drops any
  entity type that looks like one.
- Entity addresses are published by the states as the business's address. For one-person LLCs this
  can be a home. Please use the data lawfully (no unsolicited marketing where the law forbids it).

### Input

| Field | Default | |
|---|---|---|
| `states` | all four | CO, CT, NY, PA. Oregon and Texas are not offered: their portals publish no reuse terms of their own. |
| `mode` | `daily_feed` | or `date_range` with `startDate` / `endDate` |
| `lookbackDays` | 7 | Pennsylvania's dataset is published weeks late; use 40+ for PA |
| `nameKeywords` | none | name contains any of these words |
| `includeRejected` | false | CT also lists rejected filings |
| `onlyNewSinceLastRun` | `auto` | dedupe on for daily feed |
| `maxItems` | 5 | 5 filings = $0.01; raise it for a full daily feed |

With empty input `{}` the Actor reads the last 7 days from all four states (round robin, so the
first states are represented) and stops at 5 filings: a few seconds and $0.01.

If a run delivers no filing (none in the window, all already delivered by an earlier run, or every
state skipped), the dataset gets one free status row instead of being empty:
`{"type": "status", "status": "warning" | "error", "message": "..."}`. Invalid input (for example an
unknown state or a bad date) also ends with one free status row and nothing fetched or charged.

### Pricing

Pay per event, no start fee: **$0.002 per filing** saved. Nothing else is charged. Filings already
delivered in an earlier run are skipped without charge.

### Sources, terms and attribution

| State | Dataset | Terms |
|---|---|---|
| Colorado | [Business Entities in Colorado](https://data.colorado.gov/d/4ykn-tg5h), Colorado Department of State | [data.colorado.gov Terms of Service](https://data.colorado.gov/terms); dataset marked public domain |
| Connecticut | [Business Registry - Business Master](https://data.ct.gov/d/n7gp-d28j), Secretary of the State | [data.ct.gov terms](https://data.ct.gov/terms); dataset marked public domain |
| New York | [Active Corporations: Beginning 1800](https://data.ny.gov/d/n9v6-gdp6), Department of State | [OPEN-NY Terms of Use](https://data.ny.gov/dataset/OPEN-NY-Terms-Of-Use/77gx-ii52) |
| Pennsylvania | [Registered Businesses in PA Current by County](https://data.pa.gov/d/xvd7-5r2c), Department of State | [data.pa.gov Data Policy](https://data.pa.gov/data-policy) |

Pennsylvania: Data retrieved from data.pa.gov (https://www.data.pa.gov/).

The states can require use of their data to stop (Colorado for any reason, New York by written notice). If a state asks us to stop, we drop that state from this Actor.

Colorado requires this disclaimer, which is also in every Colorado record:

> 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.

### How it behaves

- Reads each portal's robots.txt at the start of each run and obeys it, including `Crawl-delay: 1`
  (at most 1 request per second per portal). If robots.txt cannot be read (server error, HTML page,
  network failure) that state is skipped and listed in the run summary.
- Unauthenticated public SODA API only; no logins, no browser.
- A `RUN_SUMMARY` record in the default key-value store gives counts per state, persons withheld and
  any state that was skipped.

### Use from code

**Python** (`pip install apify-client`):

```python
from apify_client import ApifyClient

client = ApifyClient("<YOUR_APIFY_TOKEN>")
run = client.actor("<username>/state-new-business-filings").call(
    run_input={"states": ["CO", "NY"], "mode": "daily_feed", "lookbackDays": 2, "maxItems": 500},
)
## apify-client 3.x returns a Run object; on 1.x/2.x use run["defaultDatasetId"]
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)
```

**JavaScript / Node.js** (`npm install apify-client`):

```js
import { ApifyClient } from 'apify-client';

const client = new ApifyClient({ token: process.env.APIFY_TOKEN });
const run = await client.actor('<username>/state-new-business-filings').call({ states: ['CO', 'NY'], maxItems: 500 });
const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(items);
```

# Changelog

This Actor's version history is a separate document: https://apify.com/fecklesspleb/state-new-business-filings/changelog.md

# Actor input Schema

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

Secretary of State registries to read. Oregon and Texas are not offered because their portals publish no reuse terms of their own.

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

Daily feed is built for a daily schedule and skips filings already delivered. Date range is for backfills.

## `lookbackDays` (type: `integer`):

Daily feed: filings dated in the last N days. Pennsylvania's dataset lags by weeks; use 40 or more if you want PA in a daily feed (dedupe means you pay once per filing).

## `startDate` (type: `string`):

Date range mode: first filing date (YYYY-MM-DD).

## `endDate` (type: `string`):

Date range mode: last filing date (YYYY-MM-DD). Defaults to today.

## `nameKeywords` (type: `array`):

Optional: only entities whose name contains any of these words (case-insensitive), e.g. HOLDINGS, DENTAL.

## `includeRejected` (type: `boolean`):

Connecticut also lists filings the State rejected. Off by default.

## `onlyNewSinceLastRun` (type: `string`):

Skip filings this Actor already delivered under the same state key.

## `stateKey` (type: `string`):

Separate dedupe memory per feed, e.g. one key per schedule.

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

Stop after this many filings. Default 5 = $0.01 at $0.002 per filing, so an empty-input run stays cheap. Raise it for a full daily feed (about 1,500 a day across CO, CT and NY).

## `maxPagesPerState` (type: `integer`):

Safety cap: 1,000 rows per page, read at 1 request per second.

## Actor input object example

```json
{
  "states": [
    "CO",
    "CT",
    "NY",
    "PA"
  ],
  "mode": "daily_feed",
  "lookbackDays": 7,
  "includeRejected": false,
  "onlyNewSinceLastRun": "auto",
  "stateKey": "default",
  "maxItems": 5,
  "maxPagesPerState": 50
}
```

# Actor output Schema

## `filings` (type: `string`):

No description

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

No description

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "states": [
        "CO",
        "CT",
        "NY",
        "PA"
    ],
    "maxItems": 5
};

// Run the Actor and wait for it to finish
const run = await client.actor("fecklesspleb/state-new-business-filings").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "states": [
        "CO",
        "CT",
        "NY",
        "PA",
    ],
    "maxItems": 5,
}

# Run the Actor and wait for it to finish
run = client.actor("fecklesspleb/state-new-business-filings").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "states": [
    "CO",
    "CT",
    "NY",
    "PA"
  ],
  "maxItems": 5
}' |
apify call fecklesspleb/state-new-business-filings --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,fecklesspleb/state-new-business-filings"
        }
    }
}
```

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/u6IoWoXaWlvOelmNn/builds/Y7LYp8HA8iU3vOm3o/openapi.json
