# NYC Pre-Opening Restaurant Leads (DOH + Liquor License) (`elephantny/nyc-preopening-restaurant-leads`) Actor

Restaurants and bars about to open in New York City: Health Department permits still waiting for their first inspection, matched by address with new NY State liquor licenses. Includes the phone on the DOH record. Public records only.

- **URL**: https://apify.com/elephantny/nyc-preopening-restaurant-leads.md
- **Developed by:** [Yasin KAYA](https://apify.com/elephantny) (community)
- **Categories:** Lead generation, Business
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $50.00 / 1,000 leads

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

## NYC Pre-Opening Restaurant Leads

Find New York City restaurants and bars **before they open** — while they are still choosing their POS, insurance, suppliers, linen, pest control and payroll.

This Actor joins two official public datasets on street address + ZIP:

1. **NYC Health Department (DOHMH)** — food-service permits that have **not had their first inspection yet**. A restaurant needs this inspection before it can open, so these are places in their final setup stage. The DOH record includes the phone number.
2. **NY State Liquor Authority (SLA)** — **new on-premises liquor licenses** (restaurant, tavern, club, hotel, caterer, brewer). A new license is usually one of the last steps before opening.

A permit awaiting inspection **and** a fresh liquor license at the same address is a strong "opening soon" signal. Most liquor-license feeds only give you the license; this one tells you which of those places has not opened yet and gives you a number to call.

### What you get

| Field | Example |
|---|---|
| name | Cafe Jolie Laide |
| signal | New liquor license + DOH permit awaiting first inspection |
| address, zip, borough | 205 E 42nd St, 10017, Manhattan |
| phone | (917) 280-6744 (from the DOH record) |
| liquor_license_type | Restaurant |
| liquor_license_issued | 2026-11-17 |
| sla_legal_name | Table For Three Please LLC |
| doh_camis, sla_license_id | IDs you can look up in the official datasets |
| latitude, longitude | from the DOH record |

### Modes

- **matched** (default) — DOH permit awaiting first inspection + new liquor license at the same address. A test run over 30 days on Nov 18, 2026 returned 62 leads, 59 with a phone number.
- **liquor** — every new on-premises liquor license in the window (about 470 in 30 days), with the DOH phone when the address matches.
- **doh_pending** — every DOH permit still waiting for its first inspection (about 3,000 across the five boroughs). The city does not publish a date for these.

### Input

- `mode`: matched / liquor / doh_pending
- `daysBack`: liquor licenses issued in the last N days (1–180, default 30)
- `boroughs`: limit to some boroughs (empty = all five)
- `onlyWithPhone`: keep only rows with a valid phone number
- `maxItems`: stop after N results to control cost

Run it on a weekly schedule with `daysBack: 7` to get only the new ones.

### Honest limits

- Address matching is exact after normalization (St/Street, 5th/5, etc.). A place that filed slightly different addresses with the two agencies will not match.
- A new liquor license can also mean an existing restaurant changed owners.
- Names are as filed. The trade name on the license can differ from the sign on the door.
- Institutional kitchens (schools, hospitals, day care) and permits filed under what looks like a private individual's name are left out.
- No AI, no estimates, no scraped personal data: every field comes from the two public datasets below.

### Sources

- NYC DOHMH Restaurant Inspection Results — [data.cityofnewyork.us/d/43nn-pn8j](https://data.cityofnewyork.us/Health/DOHMH-New-York-City-Restaurant-Inspection-Results/43nn-pn8j)
- NY SLA Current Liquor Authority Active Licenses — [data.ny.gov/d/9s3h-dpkz](https://data.ny.gov/Economic-Development/Current-Liquor-Authority-Active-Licenses/9s3h-dpkz)

Both are refreshed by the agencies daily. Each row carries `retrieved_at`.

### Who uses this

POS and payments resellers, restaurant insurance brokers, beverage distributors, food and equipment suppliers, hood cleaning, pest control, linen, staffing and payroll providers.

Built by [NYC Restaurant Voice](https://nycrestaurantvoice.com/), which publishes the free [NYC Restaurant Openings Radar](https://nycrestaurantvoice.com/nyc-restaurant-openings-radar/) from the same records.

# Actor input Schema

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

matched = DOH permit awaiting first inspection AND a new liquor license at the same address (strongest signal, has phone). liquor = every new on-premises liquor license in the window. doh_pending = every DOH permit still waiting for its first inspection.

## `daysBack` (type: `integer`):

Window for the liquor license original issue date (1-180). Ignored for doh_pending.

## `boroughs` (type: `array`):

Leave empty for all five boroughs.

## `onlyWithPhone` (type: `boolean`):

Keep only rows where the DOH record has a valid phone number.

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

Stop after this many leads (0 = no limit). Useful to control cost.

## Actor input object example

```json
{
  "mode": "matched",
  "daysBack": 30,
  "boroughs": [],
  "onlyWithPhone": false,
  "maxItems": 0
}
```

# Actor output Schema

## `results` (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 = {};

// Run the Actor and wait for it to finish
const run = await client.actor("elephantny/nyc-preopening-restaurant-leads").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 = {}

# Run the Actor and wait for it to finish
run = client.actor("elephantny/nyc-preopening-restaurant-leads").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 '{}' |
apify call elephantny/nyc-preopening-restaurant-leads --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,elephantny/nyc-preopening-restaurant-leads"
        }
    }
}
```

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/1KpKHdUBnmCuyVpIM/builds/jHJywBDhn1eiv0NjM/openapi.json
