# New York Business Entity Search — NY DOS Corporation Registry (`foxlabs/usa-newyork-company-data`) Actor

Search New York State's active corporation and business entity registry by name or DOS ID. Returns entity name, DOS ID, filing date, county, jurisdiction of formation, entity type, registered agent and the service-of-process address.

- **URL**: https://apify.com/foxlabs/usa-newyork-company-data.md
- **Developed by:** [Berkan Kaplan](https://apify.com/foxlabs) (community)
- **Categories:** Lead generation
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

$4.00 / 1,000 company records

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?

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

## New York Business Entity Search — NY DOS Corporation Registry

New York State publishes its whole active-corporation file as open data. This actor searches it by name or DOS ID and returns the record — entity type, initial filing date, county, jurisdiction of formation and the registered agent and service-of-process address you need to actually reach the company.

**No API key · Official source · Pay only for delivered rows · Same schema across the series**

### What data do you get?

| Field | Description |
|---|---|
| `companyName` | Current entity name |
| `registrationNumber` | DOS ID |
| `legalForm` | Entity type — domestic business corporation, foreign LLC and so on |
| `incorporatedOn` | Initial DOS filing date |
| `status` | `active` — the dataset only carries active entities |
| `county` | County of record |
| `jurisdiction` | Jurisdiction of formation |
| `registeredAgent` | Registered agent name |
| `registeredAgentAddress` | Registered agent address |
| `address` | DOS process (service-of-process) address |
| `city` | Process address city |
| `postalCode` | Process address ZIP |
| `sourceUrl` | NY Department of State entity search |

Every row also carries `query` (what you asked for), `scrapedAt` (ISO timestamp) and, when a
lookup fails, `error` explaining why.

### Example output

```json
{
  "country": "US",
  "registry": "New York Department of State — Active Corporations",
  "companyName": "ETSY, INC.",
  "registrationNumber": "3235342",
  "legalForm": "DOMESTIC BUSINESS CORPORATION",
  "incorporatedOn": "2005-06-06",
  "status": "active",
  "county": "Kings",
  "jurisdiction": "Delaware",
  "address": "117 ADAMS ST, BROOKLYN, NY, 11201",
  "city": "BROOKLYN",
  "sourceUrl": "https://apps.dos.ny.gov/publicInquiry/EntityDisplay?id=3235342"
}
```

### Input

```json
{
  "queries": ["Etsy","Peloton Interactive","Datadog"],
  "maxResultsPerQuery": 10,
  "maxConcurrency": 4,
  "includeRaw": false
}
```

| Input | What it does |
|---|---|
| `queries` | Entity names (`Etsy`, `Peloton Interactive`) or numeric DOS IDs (`2343712`). |
| `maxResultsPerQuery` | Caps how many rows one query may produce. |
| `maxConcurrency` | How many queries run at once. Lower it if the source starts throttling. |
| `includeRaw` | Attaches the source's untouched record under `raw`, for fields this actor does not map. |
| `requestDelayMs` | Politeness delay between requests. |
| `proxyConfiguration` | Optional. The Socrata API is open and rarely needs a proxy. |

### What people use it for

- **US entity verification** — confirm a New York counterparty is a real registered entity, and when it was formed.
- **Registered agent outreach** — the service-of-process address is the one legally reliable contact point on the record.
- **Market research** — search a keyword and see how many active NY entities carry it.

### Notes and limits

- The dataset contains active entities only. A dissolved company will not be found — absence is itself a signal, but not proof of dissolution.
- Names are stored upper case by the Department of State and are not re-cased here.

### Where the data comes from

New York State publishes the active corporation file through its Socrata open-data API with no key. Source: [NY Open Data — Active Corporations](https://data.ny.gov/Economic-Development/Active-Corporations-Beginning-1800/n9v6-gdp6)

### FAQ

#### Is this New York corporation scraper free?

The data source is free and needs no API key — you pay only for the rows the run delivers ($0.004 each). Failed or empty lookups are never charged.

#### Do I need an API key or a login?

No. New York State publishes the active corporation file through its Socrata open-data API with no key.

#### What can I search by?

Both. A numeric query is looked up as a DOS ID; anything else runs a contains-match on the current entity name.

#### How current is the data?

Every run queries the source live, so results are as fresh as the source itself. The Department of State refreshes the dataset regularly; it covers entities registered from 1800 onwards that are still active.

#### How fast is it, and how many queries can I run?

Queries run concurrently (4 at a time by default, tunable in the input). A prefilled run finishes in seconds; large lists scale roughly linearly and stay well inside a normal run timeout.

#### Can I export the results to CSV, Excel or JSON?

Yes. Apify datasets export to CSV, Excel, JSON, XML and HTML, and can be pulled through the API or pushed to your own storage.

#### What happens when a query returns nothing?

You still get a row, carrying your original `query` and an `error` field explaining why. Nothing is silently dropped, and you are not charged for it.

#### Is scraping this data legal?

Yes. New York publishes the corporation register as open data under its own open-data policy; corporate filings are public records.

### Related actors

- [Texas Business Entity Search](https://apify.com/foxlabs/usa-texas-company-data)
- [Colorado Business Entity Search](https://apify.com/foxlabs/usa-colorado-company-data)

***

Built by [Fox Labs](https://apify.com/foxlabs) — B2B company intelligence from public sources, as clean JSON.

# Actor input Schema

## `queries` (type: `array`):

Entity names (`Etsy`, `Peloton Interactive`) or numeric DOS IDs (`2343712`).

## `maxResultsPerQuery` (type: `integer`):

How many rows a single query may produce.

## `maxConcurrency` (type: `integer`):

How many queries to run at the same time. Lower it if the source throttles you.

## `includeRaw` (type: `boolean`):

Attach the source's untouched response under `raw`. Useful when you need a field this actor does not map.

## `requestDelayMs` (type: `integer`):

Politeness delay against a public source. Raise it for large runs.

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

Optional. The Socrata API is open and rarely needs a proxy.

## Actor input object example

```json
{
  "queries": [
    "Etsy",
    "Peloton Interactive",
    "Datadog"
  ],
  "maxResultsPerQuery": 10,
  "maxConcurrency": 4,
  "includeRaw": false,
  "requestDelayMs": 0,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# Actor output Schema

## `dataset` (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 = {
    "queries": [
        "Etsy",
        "Peloton Interactive",
        "Datadog"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("foxlabs/usa-newyork-company-data").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 = { "queries": [
        "Etsy",
        "Peloton Interactive",
        "Datadog",
    ] }

# Run the Actor and wait for it to finish
run = client.actor("foxlabs/usa-newyork-company-data").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 '{
  "queries": [
    "Etsy",
    "Peloton Interactive",
    "Datadog"
  ]
}' |
apify call foxlabs/usa-newyork-company-data --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,foxlabs/usa-newyork-company-data"
        }
    }
}

```

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/RhRIoBo7mQfoTCCnD/builds/YwADpDcTcjIJrikMN/openapi.json
