# New York Cannabis Licenses Scraper: Dispensaries & Growers (`scrapers_lat/ny-cannabis-licenses-scraper`) Actor

Scrape New York State licensed cannabis businesses: adult-use retail dispensaries, cultivators, processors, distributors and microbusinesses. Extract entity name, trade name (DBA), license type and number, status, full address, county, website and licensed activities. Export to JSON, CSV or Excel.

- **URL**: https://apify.com/scrapers\_lat/ny-cannabis-licenses-scraper.md
- **Developed by:** [Scrapers Lat](https://apify.com/scrapers_lat) (community)
- **Categories:** Lead generation, Automation, Developer tools
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.00 / 1,000 results

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/platform/actors/running/actors-in-store#pay-per-event

## What's an Apify Actor?

Actors are a software tools running on the Apify platform, for all kinds of web data extraction and automation use cases.
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.

In JavaScript/TypeScript projects, use official [JavaScript/TypeScript client](https://docs.apify.com/api/client/js.md):

```bash
npm install apify-client
```

In Python projects, use official [Python client library](https://docs.apify.com/api/client/python.md):

```bash
pip install apify-client
```

In shell scripts, use [Apify CLI](https://docs.apify.com/cli/docs.md):

````bash
# MacOS / Linux
curl -fsSL https://apify.com/install-cli.sh | bash
# Windows
irm https://apify.com/install-cli.ps1 | iex
```bash

In AI frameworks, you might use the [Apify MCP server](https://docs.apify.com/platform/integrations/mcp.md).

If your project is in a different language, use 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

<!-- actor-banner -->
![New York Cannabis Licenses Scraper: Dispensaries & Growers](https://scrapers.lat/banners/ny-cannabis-licenses-scraper.png)
<!-- /actor-banner -->

## New York Cannabis Licenses Scraper: Dispensaries & Growers

> Extract every licensed cannabis business in New York State: adult-use retail dispensaries, cultivators, processors, distributors, microbusinesses and registered organizations, with entity name, trade name, license type and number, status, full address, county, website and licensed activities.

![Apify](https://img.shields.io/badge/Platform-Apify-1CE1CE?logo=apify&logoColor=white)
![Coverage](https://img.shields.io/badge/Coverage-New%20York%20State-blue)
![Maintained](https://img.shields.io/badge/Maintained-Yes-brightgreen)
![Output](https://img.shields.io/badge/Output-JSON%20%7C%20CSV%20%7C%20Excel-orange)

<table><tr>
<td align="center"><strong>34 fields</strong><br>per business</td>
<td align="center"><strong>Statewide</strong><br>coverage</td>
<td align="center"><strong>JSON / CSV / Excel</strong><br>output formats</td>
<td align="center"><strong>Updated</strong><br>daily</td>
</tr></table>

<br>

### What you get

Each record is one New York cannabis license holder or applicant, with the business, the licence, the site address and the licensed activities.

- **businessName**: best display name, the trade name (DBA) when present, otherwise the legal entity name
- **entityName**: legal entity name on the licence, for example 100 North 3rd Ltd
- **dba**: trade name the business operates under, for example 7 Leaf Clover
- **licenseType**: Adult-Use Retail Dispensary, Conditional Retail Dispensary, Microbusiness, Cultivator, Processor, Distributor, Registered Organization Dispensary and more
- **licenseTypeCode**: short licence type code, for example OCMRETL
- **licenseNumber**: state licence number, for example OCM-RETL-25-000306
- **licenseStatus**: Active, In-Process, Amendment Under Review, PCA Under Review or Inactive
- **licenseStatusCode**: short status code
- **applicationNumber**: original application number
- **operationalStatus**: whether the business is Active or Non-Operational
- **businessPurpose**: what the licence authorizes, for example Adult-Use Retail Sales
- **tierType**: cultivation or processor tier when applicable
- **processorType**: processor type when applicable
- **address**: full site address on one line
- **addressLine1**: street address
- **addressLine2**: second address line when present
- **city**: city or town
- **state**: state, NY
- **zip**: ZIP code
- **county**: county, for example Kings, Queens, Erie, Monroe
- **region**: region label, for example Brooklyn, Finger Lakes
- **businessWebsite**: business website when the licensee provided one
- **socialEquityCategory**: social and economic equity designation, for example Women-Owned Business, Minority-Owned Business, Service-Disabled Veteran-Owned Business, Distressed Farmer
- **hoursOfOperation**: published opening hours for retail locations when available
- **issuedDate**: date the licence was issued
- **effectiveDate**: date the licence became effective
- **expirationDate**: date the licence expires
- **retailDateOpenedToPublic**: date the dispensary opened to the public when available
- **cultivationActivities**: list of licensed cultivation activities, for example Indoor, Outdoor, Drying / Curing
- **processingActivities**: list of licensed processing activities, for example Extraction, Blending and Infusing, Branding
- **retailActivities**: list of licensed retail activities, for example Sales with Delivery, Non-Cannabis Products
- **locationId**: unique location identifier for the site
- **observedAt**: when this record was last seen by the scraper

### Who is it for

| Use case | Who benefits |
|---|---|
| Build lead lists of licensed dispensaries, growers and processors with address and website | Cannabis suppliers, wholesalers, POS, delivery and B2B sales teams |
| Map competitors and market coverage by county, region and licence type | Operators, investors and market analysts |
| Track newly licensed and newly opened businesses across the state | Brands, distributors and service providers |
| Verify a business licence type, number and status | Compliance, legal and due-diligence teams |
| Target social equity and minority, women or veteran-owned licensees | Ancillary services, lenders and program partners |

### Frequently Asked Questions

**What data does the New York cannabis licenses scraper cover?**  
It covers licensed and applicant cannabis businesses across New York State from the Office of Cannabis Management: adult-use retail dispensaries, conditional retail dispensaries, microbusinesses, cultivators, processors, distributors, registered organization dispensaries and registered organizations. Each record includes the business, licence details, site address, county, website and the specific activities the licence authorizes.

**Is the data current?**  
Yes. The source is refreshed daily, so a run reflects the current list of licence holders and applicants, including newly issued licences and newly opened dispensaries, not a stale archive.

**How many businesses can I scrape in one run?**  
There is no fixed cap beyond the Max Items value you set. The scraper pages through the full statewide list, so you can pull the whole set of licensed businesses or narrow to a single county, city or licence type.

**Can I filter by license type, status, county or city?**  
Yes. You can filter by licence type, licence status, county and city, and run a free text search across the business name, trade name and address. Filters combine, so you can narrow to, for example, active retail dispensaries in Kings county.

**Does it include contact information?**  
Each record includes the full site address, county and, when the licensee provided it, a business website and published opening hours. Every business also carries its legal entity name and trade name, which is what makes the data useful for outreach and lead generation.

<!-- example-tasks -->
<!-- /example-tasks -->

<!-- x402 -->
### Export, API and AI agents (x402 + MCP)

Export the scraped data to **JSON, CSV or Excel**, pull it as a **dataset** through the Apify **API**, or wire it into your app with **no code**. This web scraper and data extractor also works for bulk data extraction and scheduled runs.

For AI agents: this Actor is available on **x402**, Apify's agentic payment standard built with Coinbase. An AI agent can discover, pay for and run it on its own with a funded wallet and a single HTTP request: no account, no subscription, no API key and no human in the loop. It also runs as an **MCP** tool inside Claude, Cursor and other AI clients out of the box. Learn more about [x402 agentic payments on Apify](https://docs.apify.com/platform/integrations/x402).
<!-- /x402 -->

<!-- related-actors -->
### Related scrapers

Need data from the same space? Here are other scrapers we build and maintain:

- [NY DOS Business Scraper](https://apify.com/scrapers_lat/ny-dos-business-scraper): Look up New York State registered corporations and LLCs with entity details and filing history.
- [NYC DOB Building Permits Scraper](https://apify.com/scrapers_lat/nyc-dob-permits-scraper): Scrape NYC Department of Buildings permits with contractor licenses and property owner contacts.
- [NPPES NPI Provider Scraper](https://apify.com/scrapers_lat/nppes-npi-scraper): Extract US healthcare provider records with addresses and contact details from the NPI Registry.
- [SEC EDGAR Filings Scraper](https://apify.com/scrapers_lat/sec-edgar-filings-scraper): Pull company filings and metadata from the SEC EDGAR system.

<!-- /related-actors -->

<!-- scrapers-lat-cta -->
### More scrapers at scrapers.lat

This actor is built and maintained by [scrapers.lat](https://scrapers.lat), where we publish scrapers for Latin American and US public platforms: real estate, jobs, e-commerce, company registries and government data. Browse the full catalog, see live sample output for each one, or ask us for a custom scraper at [scrapers.lat](https://scrapers.lat).

---

> This actor is an independent tool and has no affiliation with the New York State Office of Cannabis Management or the State of New York. It only accesses data that is publicly available. Use it in accordance with the source platform's terms of service.

# Actor input Schema

## `query` (type: `string`):

Free text search across the whole record: business name, trade name (DBA), address, city or county. Leave empty to return every licensed business. Example: green, brooklyn, farm.
## `maxItems` (type: `integer`):

Maximum number of licence records to collect. Optional. Leave empty to collect every match.
## `licenseType` (type: `string`):

Restrict to one licence type. Leave as Any to include all types.
## `licenseStatus` (type: `string`):

Filter by licence status. Active means a live, operating licence.
## `county` (type: `string`):

Match businesses in a New York county, for example Kings, Queens, New York, Erie, Monroe.
## `city` (type: `string`):

Match businesses in a city or town, for example Brooklyn, Buffalo, Albany.
## `appToken` (type: `string`):

Optional. The public data API is keyless, but a free Socrata app token raises the rate limit for very large pulls. Leave empty unless you have one.

## Actor input object example

```json
{
  "maxItems": 100,
  "licenseType": "",
  "licenseStatus": ""
}
````

# 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 = {
    "query": "",
    "maxItems": 100
};

// Run the Actor and wait for it to finish
const run = await client.actor("scrapers_lat/ny-cannabis-licenses-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 = {
    "query": "",
    "maxItems": 100,
}

# Run the Actor and wait for it to finish
run = client.actor("scrapers_lat/ny-cannabis-licenses-scraper").call(run_input=run_input)

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

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

```

## CLI example

```bash
echo '{
  "query": "",
  "maxItems": 100
}' |
apify call scrapers_lat/ny-cannabis-licenses-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=scrapers_lat/ny-cannabis-licenses-scraper",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "New York Cannabis Licenses Scraper: Dispensaries & Growers",
        "description": "Scrape New York State licensed cannabis businesses: adult-use retail dispensaries, cultivators, processors, distributors and microbusinesses. Extract entity name, trade name (DBA), license type and number, status, full address, county, website and licensed activities. Export to JSON, CSV or Excel.",
        "version": "0.1",
        "x-build-id": "G4bxWvN844JkyIMfj"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/scrapers_lat~ny-cannabis-licenses-scraper/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-scrapers_lat-ny-cannabis-licenses-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        },
        "/acts/scrapers_lat~ny-cannabis-licenses-scraper/runs": {
            "post": {
                "operationId": "runs-sync-scrapers_lat-ny-cannabis-licenses-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor and returns information about the initiated run in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/runsResponseSchema"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/acts/scrapers_lat~ny-cannabis-licenses-scraper/run-sync": {
            "post": {
                "operationId": "run-sync-scrapers_lat-ny-cannabis-licenses-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        }
    },
    "components": {
        "schemas": {
            "inputSchema": {
                "type": "object",
                "properties": {
                    "query": {
                        "title": "Search",
                        "type": "string",
                        "description": "Free text search across the whole record: business name, trade name (DBA), address, city or county. Leave empty to return every licensed business. Example: green, brooklyn, farm."
                    },
                    "maxItems": {
                        "title": "Max Items",
                        "minimum": 1,
                        "maximum": 1000000,
                        "type": "integer",
                        "description": "Maximum number of licence records to collect. Optional. Leave empty to collect every match."
                    },
                    "licenseType": {
                        "title": "License Type",
                        "enum": [
                            "",
                            "Adult-Use Retail Dispensary License",
                            "Adult-Use Conditional Retail Dispensary License",
                            "Adult-Use Microbusiness License",
                            "Adult-Use Cultivator License",
                            "Adult-Use Processor License",
                            "Adult-Use Distributor License",
                            "Adult-Use Processor Type Three-Branding",
                            "Adult-Use Processor Type Three-Flower",
                            "Adult-Use Registered Organization Dispensary License",
                            "Registered Organization"
                        ],
                        "type": "string",
                        "description": "Restrict to one licence type. Leave as Any to include all types.",
                        "default": ""
                    },
                    "licenseStatus": {
                        "title": "License Status",
                        "enum": [
                            "",
                            "Active",
                            "In-Process",
                            "Amendment Under Review",
                            "PCA Under Review",
                            "Inactive"
                        ],
                        "type": "string",
                        "description": "Filter by licence status. Active means a live, operating licence.",
                        "default": ""
                    },
                    "county": {
                        "title": "County",
                        "type": "string",
                        "description": "Match businesses in a New York county, for example Kings, Queens, New York, Erie, Monroe."
                    },
                    "city": {
                        "title": "City",
                        "type": "string",
                        "description": "Match businesses in a city or town, for example Brooklyn, Buffalo, Albany."
                    },
                    "appToken": {
                        "title": "Socrata App Token",
                        "type": "string",
                        "description": "Optional. The public data API is keyless, but a free Socrata app token raises the rate limit for very large pulls. Leave empty unless you have one."
                    }
                }
            },
            "runsResponseSchema": {
                "type": "object",
                "properties": {
                    "data": {
                        "type": "object",
                        "properties": {
                            "id": {
                                "type": "string"
                            },
                            "actId": {
                                "type": "string"
                            },
                            "userId": {
                                "type": "string"
                            },
                            "startedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "finishedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "status": {
                                "type": "string",
                                "example": "READY"
                            },
                            "meta": {
                                "type": "object",
                                "properties": {
                                    "origin": {
                                        "type": "string",
                                        "example": "API"
                                    },
                                    "userAgent": {
                                        "type": "string"
                                    }
                                }
                            },
                            "stats": {
                                "type": "object",
                                "properties": {
                                    "inputBodyLen": {
                                        "type": "integer",
                                        "example": 2000
                                    },
                                    "rebootCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "restartCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "resurrectCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "computeUnits": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "options": {
                                "type": "object",
                                "properties": {
                                    "build": {
                                        "type": "string",
                                        "example": "latest"
                                    },
                                    "timeoutSecs": {
                                        "type": "integer",
                                        "example": 300
                                    },
                                    "memoryMbytes": {
                                        "type": "integer",
                                        "example": 1024
                                    },
                                    "diskMbytes": {
                                        "type": "integer",
                                        "example": 2048
                                    }
                                }
                            },
                            "buildId": {
                                "type": "string"
                            },
                            "defaultKeyValueStoreId": {
                                "type": "string"
                            },
                            "defaultDatasetId": {
                                "type": "string"
                            },
                            "defaultRequestQueueId": {
                                "type": "string"
                            },
                            "buildNumber": {
                                "type": "string",
                                "example": "1.0.0"
                            },
                            "containerUrl": {
                                "type": "string"
                            },
                            "usage": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "integer",
                                        "example": 1
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "usageTotalUsd": {
                                "type": "number",
                                "example": 0.00005
                            },
                            "usageUsd": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "number",
                                        "example": 0.00005
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
