# NY DMV Auto Dealer & Repair Shop Leads (`infocomp/ny-dmv-dealer-repair-leads`) Actor

New York DMV-licensed car dealers, repair & body shops, inspection stations and dismantlers: business name, address, facility type, license issue/renewal/expiry dates. Filter by county, city, ZIP, type. No owner names. $2/1,000. Not an official NY DMV product.

- **URL**: https://apify.com/infocomp/ny-dmv-dealer-repair-leads.md
- **Developed by:** [InfoComp Data](https://apify.com/infocomp) (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

$2.00 / 1,000 facility 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

## NY DMV Auto Dealer & Repair Shop Leads

Get a list of **New York State car dealers, auto repair and body shops, and inspection stations** licensed by the
NYS Department of Motor Vehicles. Each row is **one business location** with its **business name, street address,
county, facility types** (new/used car dealer, repair shop, body shop, inspection station, dismantler, scrap
processor and more), and **license dates**: first issued, last renewed and next expiration.

Built for people who sell to auto businesses: auto-parts distributors, shop-management and dealer software,
garage and dealer insurance, paint and equipment suppliers, floor-plan lenders, marketing agencies, and anyone
mapping the New York automotive market.

> **Not an official NY DMV product.** Not affiliated with or endorsed by the New York State Department of Motor
> Vehicles or the State of New York. Data comes from NYS DMV's public dataset "Facilities Licensed by the
> Department of Motor Vehicles (DMV)" on OPEN-NY (data.ny.gov). **NYS DMV last updated the data on Nov 2, 2026**
> (DMV posts it about once a year). Addresses and licenses can change, so verify before you rely on them.

### What you get

- About **25,600** facilities with an active license in New York State (about **33,300** including licenses that expired in the last 6 years).
- Kings County (Brooklyn) alone: about **1,300** active facilities. Statewide: about 12,000 dealers, 16,000 repair or body shops and 8,400 inspection stations (many hold more than one license).
- Business name, street address, city, state, ZIP code, county, latitude and longitude.
- **Facility types** in plain words and DMV codes, plus quick flags: `is_dealer`, `is_repair_shop`, `is_inspection_station`.
- Every license at the location with its **original issue date, last renewal date, expiration date** and status.
- `first_licensed_date` (how long the business has been licensed), `latest_renewal_date`, `next_expiration_date` and months left.

#### Business-level data only (privacy)

This is a **company** lead list, not a list of people.

- **No owner names.** DMV's file has an owner-name column; it is never output.
- When a business is licensed under the **owner's own personal name** (a sole proprietor such as "JOHN A SMITH"), that location is **skipped for free**, so no person's name ever appears as a business name. This affects about 1% of facilities.
- **No phones or emails.** DMV's file has none, and this Actor does not look them up.

### Input

| Field | Default | What it does |
|---|---|---|
| Counties | `["Kings"]` | NY county names (Kings, Queens, Erie, Suffolk...) or 4-letter DMV codes. Brooklyn, Manhattan and Staten Island also work. Leave empty for all of New York State. |
| Cities | none | Facility city as DMV lists it (Buffalo, Rochester, Brooklyn). Matches the start of the name. |
| ZIP codes | none | 5-digit ZIP codes. |
| Facility / license types | all | For example New Car Dealer (DLN), Used Car Dealer (DLU), Repair Shop (RS), Repair Shop Body (RSB), Public Inspection Station (ISP), Dismantler (DIS). A location is kept if it holds at least one of them. |
| Business name contains | none | For example "collision" or "Toyota". |
| License first issued on or after | none | Find **newer businesses**, e.g. 2026-01-01 finds shops and dealers licensed this year. |
| License expiring within (months) | none | Keep locations whose next license expires soon. |
| Include expired licenses | off | Also include licenses that expired in the last ~6 years. |
| Max results | 25 | Stops after this many rows. |

The default input returns 25 Brooklyn facilities in about a second.

Example: all new and used car dealers in Erie County: `{"counties": ["Erie"], "facilityTypes": ["DLN", "DLU"], "maxResults": 1000}`.
Example: repair and body shops anywhere in NY first licensed in 2026: `{"counties": [], "facilityTypes": ["RS", "RSB"], "firstLicensedSince": "2026-01-01"}`.

### Output sample

This row is real and untrimmed. It comes from a local default run on Nov 13, 2026.

```json
{
  "facility_number": "6240133",
  "business_name": "BELTWAY MOTOR SALES CO INC",
  "street_address": "353 65 ST",
  "city": "BROOKLYN",
  "state": "NY",
  "zip_code": "11220",
  "county": "Kings",
  "latitude": 40.63846,
  "longitude": -74.02216,
  "facility_categories": [
    "Dealer",
    "Repair shop",
    "Inspection station"
  ],
  "facility_types": [
    "Used Car Dealer",
    "Repair Shop",
    "Public Inspection Station"
  ],
  "license_type_codes": [
    "DLU",
    "RS",
    "ISP"
  ],
  "is_dealer": true,
  "is_repair_shop": true,
  "is_inspection_station": true,
  "license_status": "active",
  "active_license_count": 3,
  "first_licensed_date": "1979-12-20",
  "latest_renewal_date": "2025-11-19",
  "next_expiration_date": "2027-11-30",
  "months_to_next_expiration": 12,
  "licenses": [
    {
      "type_code": "DLU",
      "type": "Used Car Dealer",
      "category": "Dealer",
      "original_issue_date": "1984-09-27",
      "last_renewal_date": "2025-11-19",
      "expiration_date": "2027-11-30",
      "status": "active"
    },
    {
      "type_code": "RS",
      "type": "Repair Shop",
      "category": "Repair shop",
      "original_issue_date": "1979-12-20",
      "last_renewal_date": "2025-11-19",
      "expiration_date": "2027-11-30",
      "status": "active"
    },
    {
      "type_code": "ISP",
      "type": "Public Inspection Station",
      "category": "Inspection station",
      "original_issue_date": "1980-08-08",
      "last_renewal_date": "2025-11-19",
      "expiration_date": "2027-11-30",
      "status": "active"
    }
  ],
  "source": "New York State Department of Motor Vehicles (NYS DMV), \"Facilities Licensed by the Department of Motor Vehicles (DMV)\", OPEN-NY data.ny.gov dataset nhjr-rpi2 (keyless public API).",
  "disclaimer": "Not an official NY DMV product. Not affiliated with or endorsed by the NYS Department of Motor Vehicles or the State of New York. Provided as-is from public OPEN-NY data; verify before relying on it.",
  "dmv_data_updated": "2026-11-02T21:49:22+00:00",
  "retrieved_at": "2026-11-14T03:33:20Z"
}
```

The dataset has an "Overview" table view and an "All fields" view. `RUN_SUMMARY` in the key-value store lists the filters, counts, free skips and HTTP stats.

### Pricing

Pay per event: **`facility-lead` at $0.002 per facility row = $2.00 per 1,000 leads**. There is no start fee and no run fee.

- One row per business location, even if it holds several DMV licenses.
- Empty runs, failed runs and filtered-out or skipped facilities are **free**, and those rows are not saved.
- The Actor respects the maximum cost you set for a run. It stops cleanly when it reaches the limit.

### How it works

The Actor reads NYS DMV's public OPEN-NY dataset through its official API, which needs no key or login. It requests only the columns it needs.
Location-only searches stream through the file in order. Searches by type, name or issue date first find the matching facility numbers, then fetch all licenses for those facilities in batches.
In local tests the default run took under 1 second (3 requests), 200 Erie County dealers took about 5 seconds, and all ~24,000 active facilities statewide took about 16 seconds.

### Data source and terms

- Source: New York State Department of Motor Vehicles, "Facilities Licensed by the Department of Motor Vehicles (DMV)", dataset nhjr-rpi2 on OPEN-NY (data.ny.gov), the State's official open-data portal.
- OPEN-NY's Terms of Use let anyone download and reuse the data for any lawful purpose, including private-sector projects, with no attribution or pre-approval required. We credit NYS DMV anyway.
- Field meanings follow DMV's data dictionary. License types and dates are DMV's own records, not ours.
- NYS DMV credit is on every row (`source`). The not-an-official-NY-DMV-product notice is on every row (`disclaimer`).

### More Business Leads tools from InfoComp

- [HUD Multifamily Owner/Manager Leads](https://apify.com/infocomp/hud-multifamily-leads): HUD-assisted apartment properties with the management company, Section 8 contract expiry and inspection scores.
- [FMCSA New Carrier Leads](https://apify.com/infocomp/fmcsa-new-carrier-leads): new trucking companies and freight brokers with fresh operating authority.
- [FMCSA Carrier Vetting](https://apify.com/infocomp/fmcsa-carrier-vetting): check authority, insurance and safety flags for USDOT numbers in bulk.
- [VIN Decoder Bulk: Specs, Recalls, MPG](https://apify.com/infocomp/bulk-vin-decoder-recalls-mpg): decode fleets of VINs with open recalls and fuel cost.

### Limits

- New York State only. DMV updates the file about once a year (last update Nov 2, 2026), so very new businesses may be missing and closed ones may still show as active until their license expires.
- DMV stores names in two 20-character parts; the Actor joins them with a space, so a few names show an odd break or DMV abbreviation (e.g. "AIR CONDITNING").
- About 4% of facilities have no latitude/longitude.
- DMV gives each license's expiration as the end of a month. "Active" means the expiration date is today or later.

# Actor input Schema

## `counties` (type: `array`):

New York county names (e.g. Kings, Queens, Erie, Suffolk) or 4-letter DMV codes (KING, ERIE). Brooklyn, Manhattan and Staten Island also work. Empty = all of New York State (about 33,000 facilities).

## `cities` (type: `array`):

Optional. Facility city as DMV lists it, e.g. Buffalo, Rochester, Brooklyn. Matches the start of the name.

## `zipCodes` (type: `array`):

Optional. 5-digit ZIP codes of the facility.

## `facilityTypes` (type: `array`):

Optional. Keep facilities that hold at least one of these DMV licenses. Empty = all types.

## `nameContains` (type: `string`):

Optional. Only businesses whose name contains this text, e.g. 'collision' or 'Toyota'.

## `firstLicensedSince` (type: `string`):

Optional. Find newer businesses: keep facilities with a license (of the selected types) first issued on or after this date, e.g. 2025-01-01.

## `expiringWithinMonths` (type: `integer`):

Optional. Keep facilities whose next active license expires within this many months (0 = this month).

## `includeExpired` (type: `boolean`):

Off (default): only facilities with at least one active (unexpired) license, and only active licenses are listed. On: also include licenses that expired in the last ~6 years (DMV keeps them in the file).

## `maxResults` (type: `integer`):

Stop after this many facility leads. Each lead is one charged row. Kings County has about 1,300 active facilities; New York State about 25,000.

## Actor input object example

```json
{
  "counties": [
    "Kings"
  ],
  "cities": [],
  "zipCodes": [],
  "facilityTypes": [],
  "includeExpired": false,
  "maxResults": 25
}
```

# Actor output Schema

## `results` (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 = {
    "counties": [
        "Kings"
    ],
    "cities": [],
    "maxResults": 25
};

// Run the Actor and wait for it to finish
const run = await client.actor("infocomp/ny-dmv-dealer-repair-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 = {
    "counties": ["Kings"],
    "cities": [],
    "maxResults": 25,
}

# Run the Actor and wait for it to finish
run = client.actor("infocomp/ny-dmv-dealer-repair-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 '{
  "counties": [
    "Kings"
  ],
  "cities": [],
  "maxResults": 25
}' |
apify call infocomp/ny-dmv-dealer-repair-leads --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,infocomp/ny-dmv-dealer-repair-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/zmdSoAcvrASTqMq9b/builds/LX6RcokfTv2Vr16YB/openapi.json
