# NY Business Entity Scraper (`parseforge/ny-business-entity-scraper`) Actor

Scrapes New York business entity records from the NY Department of State database by name, DOS ID, or filters. Returns DOS ID, entity name, type, status, filing date, county, and registered agent.

- **URL**: https://apify.com/parseforge/ny-business-entity-scraper.md
- **Developed by:** [ParseForge](https://apify.com/parseforge) (community)
- **Categories:** Automation, Lead generation, Other
- **Stats:** 15 total users, 2 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $11.99 / 1,000 result items

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
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?

Actors are web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
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.
Actors are written with capital "A".

## 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.
The best way to integrate Actors is as follows.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).

# README

[![ParseForge](https://raw.githubusercontent.com/ParseForge/apify-assets/main/banner.jpg)](https://apify.com/parseforge?fpr=vmoqkp)

### NY Business Entity Scraper

**Scrape New York business entity records from the NY Department of State database, up to thousands per run.** Every entity returns its DOS ID, name, type, status, filing date, county, and registered agent. No API key or login required. Export to CSV, JSON, Excel, or XML.

New York's business entity database is public but has no bulk download or API. Searching one name at a time through the web portal is slow and error-prone. This scraper reads the official NY DOS Corporation and Business Entity Database directly, applying filters for name, entity type, county, status, and filing date, and returns each matching entity as a structured row.

| Who uses it | What they scrape NY Department of State for |
|---|---|
| Legal researchers | Verify the active status and filing history of a specific corporation or LLC. |
| Compliance officers | Monitor entity status changes or dissolutions across a portfolio of companies. |
| Market analysts | Count new business formations by county or entity type to spot economic trends. |
| Sales teams | Build a lead list of recently filed businesses in a target county. |
| Journalists | Investigate the ownership and registration details of a business entity. |

### What it does

This Actor collects New York business entity records from the NY Department of State database by name, DOS ID, or filters, and returns each entity as a flat row with its DOS ID, name, type, status, filing date, county, and registered agent details.

- 🔍 **Search by name or DOS ID:** Enter a business name prefix (e.g. "APPLE") or a specific DOS Corporation ID to retrieve exact records.
- 📅 **Date range filter:** Set a filing date window to find entities formed or registered within a specific period.
- 📍 **County filter:** Narrow results to a single NY county (e.g. NEW YORK, KINGS, NASSAU) for local analysis.
- 🏷️ **Entity type and status filters:** Filter by type (DOMESTIC BUSINESS CORPORATION, FOREIGN LLC, etc.) and status (Active, Dissolved, Revoked).

Results export to CSV, JSON, Excel, or XML, or straight from the API.

### What you can do with NY Department of State data

**📈 Track business formation trends.**

A market researcher runs the scraper with a date range and county filter to count new LLCs and corporations filed in Brooklyn over the last quarter.

**🔍 Verify entity status for due diligence.**

A compliance officer enters a list of DOS IDs to confirm each entity is Active and not Dissolved or Revoked.

**📋 Build a lead list of new businesses.**

A sales team filters by county and entity type to collect recently filed businesses in their target area for outreach.

**📰 Investigate corporate registrations.**

A journalist searches by business name to find all entities with a similar name and check their filing dates and statuses.

### Why choose this scraper

|  | What you get |
|---|---|
| **No API needed** | Scrapes the public NY DOS database directly, no registration or API key required. |
| **Structured data** | Each entity returns DOS ID, name, type, status, filing date, county, and registered agent in a consistent schema. |
| **Flexible filters** | Search by name prefix, exact DOS ID, entity type, county, status, or filing date range. |
| **Bulk export** | Download results as CSV, JSON, Excel, or XML for analysis or integration. |

### How it compares

No other Store actor targets NY Department of State the same way, so the honest comparison is with the alternatives teams actually weigh.

| | NY Business Entity Scraper | Build it in-house | By hand |
|---|---|---|---|
| Setup | Run it now, zero config | Days of engineering | None, but hours per pull |
| When NY Department of State changes | Maintained for you | You fix it | You re-learn the page |
| Proxies, retries, anti-bot | Built in | Your problem | Browser only |
| Output | Fixed JSON schema, CSV/Excel export | Whatever you build | Copy-paste |
| Cost | Pay per result | Engineering time | Analyst hours |

### Configure the run

Drive the Actor from a business name, DOS ID, or a combination of filters (entity type, county, status, filing date range). Filters are applied as each record is read from the database, so only matching entities reach your dataset. The Input tab lists every parameter.

A first run with the defaults:

```json
{
  "searchName": "APPLE",
  "maxItems": 10
}
```

A larger pull:

```json
{
  "searchName": "APPLE",
  "maxItems": 200
}
```

### Pricing

Pay-per-result: **$0.01599 per result** collected. You pay only for the results written to your dataset.

| Results collected | Approximate cost |
|---|---|
| 100 results | $1.60 |
| 1,000 results | $15.99 |
| 10,000 results | $159.90 |

New Apify accounts start with $5 in free credit.

### Free users

Free-plan runs return up to 10 results as a preview. [Upgrade your Apify plan](https://console.apify.com/sign-up?fpr=vmoqkp) to collect up to 1,000,000 results per run.

### Run it

1. [Create a free Apify account with $5 in credit](https://console.apify.com/sign-up?fpr=vmoqkp).
2. Open the [NY Business Entity Scraper](https://apify.com/parseforge/ny-business-entity-scraper?fpr=vmoqkp).
3. Set your inputs and any filters, then click **Start**.
4. Export the results as CSV, Excel, JSON, or XML from the **Dataset** tab.

Run it programmatically through the [Apify API](https://docs.apify.com/api/v2) (`run-sync-get-dataset-items`) or the [ApifyClient](https://docs.apify.com/api/client/js) for JavaScript and Python.

### Use with AI agents (MCP)

Give an AI agent live access to NY Department of State through the Model Context Protocol. Add the Actor to Claude, Cursor, or any MCP client:

```bash
claude mcp add --transport http apify "https://mcp.apify.com/?tools=parseforge/ny-business-entity-scraper"
```

Then prompt it in plain language to run the scraper and read back the results.

### Troubleshooting

**Why am I getting no results?**

Check that your searchName or dosId is correct. For name searches, it is a prefix match. For filters, ensure the exact spelling and case (e.g. county names in all caps). Also verify that the date range is valid.

**The scraper returns fewer entities than maxItems.**

The scraper stops when it reaches maxItems or when no more matching entities are found. If your filters are too narrow, there may be fewer results available.

**Can I scrape all entities in the database?**

The scraper is designed for targeted searches and filters. To scrape all entities, you would need to run multiple searches with broad filters, but the database does not support a full dump.

**The entity type filter is not working.**

Ensure you use the exact entity type string as shown in the database, e.g. DOMESTIC BUSINESS CORPORATION. Partial matches are not supported.

**The date filter seems ignored.**

Verify the date format is YYYY-MM-DD and that the from date is before the to date. The filter applies to the filing date field.

### FAQ

| Question | Answer |
|---|---|
| What data does this scraper return? | It returns the DOS ID, entity name, entity type, status, filing date, county, and registered agent details for each matching business entity from the NY Department of State database. |
| Do I need an API key or login? | No. The scraper accesses the public NY DOS Corporation and Business Entity Database directly, no authentication required. |
| Can I search by exact DOS ID? | Yes. Enter the DOS Corporation ID in the dosId field. If provided, the name search is ignored and only that specific entity is returned. |
| How do I filter by county? | Use the county field with the county name in all caps, e.g. NEW YORK, KINGS, QUEENS, NASSAU, SUFFOLK. |
| What entity types can I filter by? | You can filter by types like DOMESTIC BUSINESS CORPORATION, FOREIGN BUSINESS CORPORATION, DOMESTIC LIMITED LIABILITY COMPANY, FOREIGN LIMITED LIABILITY COMPANY, and others. |
| What statuses are available? | Common statuses include Active, Discontinued, Annulled, Revoked, and Dissolved. Enter the exact status string in the status field. |
| Can I search by business name only? | Yes. Enter a name prefix in the searchName field. It performs a prefix match, so "APPLE" finds all entities starting with APPLE. |
| How many entities can I scrape per run? | Set the maxItems field to your desired number. There is no hard limit, but be mindful of the database response speed. |
| What date format should I use for filing date filters? | Use YYYY-MM-DD format, e.g. 2023-01-15 for January 15, 2023. |
| Can I export the data to Excel? | Yes. The Actor supports export to CSV, JSON, Excel, and XML formats. |

### Related actors

Browse the full [ParseForge collection](https://apify.com/parseforge?fpr=vmoqkp) for more scrapers.

🆘 **Need help?** Email parseforge@protonmail.com with your run ID, your input, and what you expected.

⚠️ **Disclaimer.** This Actor is unofficial and is not affiliated with, endorsed by, or sponsored by New York Department of State. It collects only publicly available data. You are responsible for using the collected data in compliance with the source's terms of service and applicable data-protection laws, including GDPR, CCPA, and PIPL. Do not use it to collect personal data unlawfully.

# Actor input Schema

## `searchName` (type: `string`):

Search by entity name (prefix match). Example: "APPLE" finds all entities starting with APPLE. If dosId is provided, this field is ignored.

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

How many business entities to collect per run.

## `dosId` (type: `string`):

Search by DOS Corporation ID number (corpid\_num). If provided, entity name search is ignored.

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

Filter by entity type. Examples: DOMESTIC BUSINESS CORPORATION, FOREIGN BUSINESS CORPORATION, DOMESTIC LIMITED LIABILITY COMPANY, FOREIGN LIMITED LIABILITY COMPANY

## `county` (type: `string`):

Filter by NY county of principal office (e.g. NEW YORK, KINGS, QUEENS, BRONX, RICHMOND, NASSAU, SUFFOLK)

## `status` (type: `string`):

Filter results by entity status. Examples: Active, Discontinued, Annulled, Revoked, Dissolved

## `dateFiledFrom` (type: `string`):

Filter entities filed on or after this date (YYYY-MM-DD format)

## `dateFiledTo` (type: `string`):

Filter entities filed on or before this date (YYYY-MM-DD format)

## Actor input object example

```json
{
  "searchName": "APPLE",
  "maxItems": 10
}
```

# Actor output Schema

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

Dataset with all scraped items

# 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 = {
    "searchName": "APPLE",
    "maxItems": 10
};

// Run the Actor and wait for it to finish
const run = await client.actor("parseforge/ny-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 = {
    "searchName": "APPLE",
    "maxItems": 10,
}

# Run the Actor and wait for it to finish
run = client.actor("parseforge/ny-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 '{
  "searchName": "APPLE",
  "maxItems": 10
}' |
apify call parseforge/ny-business-entity-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,parseforge/ny-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/ThbJuvdyP4hI7RG1D/builds/itxJW1j90bLOSt4i9/openapi.json
