# Massachusetts Cannabis Licensing Scraper (`parseforge/ma-cannabis-licensing-scraper`) Actor

Extract cannabis licensing data from Massachusetts CCC. 1,700+ licenses with 80 fields: business info, contacts, license status, inspections, social equity, retail prices. Filter by status, type, or city. Pure API, no proxy.

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

## Pricing

from $5.50 / 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

![ParseForge Banner](https://raw.githubusercontent.com/ParseForge/apify-assets/main/banner.jpg)

## 🌿 Massachusetts Cannabis Licensing Scraper

Whether you're a cannabis entrepreneur researching the Massachusetts market, a compliance consultant tracking license statuses, or an analyst studying the regulated cannabis industry, this scraper delivers comprehensive licensing data from the Cannabis Control Commission (CCC).

> **The MA Cannabis Licensing Scraper collects 1,700+ cannabis license records with 80 fields per record including business info, license status, ownership details, and retail pricing data. Filter by status, license type, and city.**

### ✨ What Does It Do

- 📋 **License records** - 1,700+ cannabis licenses and applications with 80 data fields
- 🏢 **Business details** - names, addresses, phone, email, EIN for every licensee
- 📊 **License data** - status, type, number, dates, and regulatory details
- 💰 **Retail prices** - average price per gram by month (separate dataset)
- 🔍 **Filters** - search by license status, type, or city

### 🔧 Input

```json
{
    "dataset": "licenses",
    "licenseStatus": "Active",
    "city": "Boston",
    "maxItems": 100
}
````

### 📊 Output

Each license record includes 80 data fields. Download as JSON, CSV, or Excel.

```json
{
    "BUSINESS_NAME": "Green Horizons LLC",
    "BUSINESS_CITY": "Boston",
    "BUSINESS_STATE": "MA",
    "LICENSE_NUMBER": "MR281234",
    "LICENSE_STATUS": "Active",
    "LICENSE_TYPE": "Marijuana Retailer",
    "BUSINESS_EMAIL": "info@greenhorizons.com",
    "BUSINESS_PHONE": "617-555-0123",
    "scrapedAt": "2026-04-09T00:00:00.000Z"
}
```

### 📋 How to Use

1. **Sign Up** - [Create a free account w/ $5 credit](https://console.apify.com/sign-up?fpr=vmoqkp)
2. **Configure** - choose dataset, set filters, and max items
3. **Run It** - click "Start" and get structured cannabis licensing data

### 🎯 Business Use Cases

- 🌿 **Cannabis entrepreneurs** - research market density and competition by city
- 📋 **Compliance consultants** - track license statuses and regulatory changes
- 📊 **Market analysts** - study pricing trends and market growth
- 🏢 **Real estate** - identify areas with cannabis business activity
- 💼 **Investors** - evaluate the Massachusetts cannabis market landscape

### 💡 Recommended Actors

| Actor | Description | Link |
|-------|-------------|------|
| FDIC Bank Scraper | US bank data and financials | [Link](https://apify.com/parseforge/fdic-bank-scraper) |
| Regulations.gov Scraper | Federal regulatory documents | [Link](https://apify.com/parseforge/regulations-gov-scraper) |
| OpenFDA Drug Scraper | FDA drug data | [Link](https://apify.com/parseforge/openfda-drug-scraper) |
| BLS Wage Data Scraper | Employment statistics | [Link](https://apify.com/parseforge/bls-wage-data-scraper) |
| FMCSA Carrier Safety Scraper | Trucking safety data | [Link](https://apify.com/parseforge/fmcsa-carrier-safety-scraper) |

### 🆘 Need Help?

- Visit the [Apify documentation](https://docs.apify.com) for platform guides
- Contact us at [Tally contact form](https://tally.so/r/BzdKgA)

### ⚠️ Disclaimer

> This Actor is an independent tool and is not affiliated with, endorsed by, or connected to the Massachusetts Cannabis Control Commission. It accesses only publicly available data.

# Actor input Schema

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

Free users: Limited to 10 records (preview). Paid users: Optional, max 1,000,000

## `dataset` (type: `string`):

Which CCC dataset to query.

## `licenseStatus` (type: `string`):

Filter by license status (e.g. Active, Expired, Suspended).

## `licenseType` (type: `string`):

Filter by license type (e.g. Retailer, Cultivator, Manufacturer). Partial match supported.

## `city` (type: `string`):

Filter by city name (e.g. Boston, Worcester, Springfield).

## Actor input object example

```json
{
  "maxItems": 10,
  "dataset": "licenses"
}
```

# Actor output Schema

## `overview` (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 = {
    "maxItems": 10,
    "dataset": "licenses"
};

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

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

```

## MCP server setup

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

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "Massachusetts Cannabis Licensing Scraper",
        "description": "Extract cannabis licensing data from Massachusetts CCC. 1,700+ licenses with 80 fields: business info, contacts, license status, inspections, social equity, retail prices. Filter by status, type, or city. Pure API, no proxy.",
        "version": "1.0",
        "x-build-id": "TybE5x0drDEa78vlx"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/parseforge~ma-cannabis-licensing-scraper/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-parseforge-ma-cannabis-licensing-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/parseforge~ma-cannabis-licensing-scraper/runs": {
            "post": {
                "operationId": "runs-sync-parseforge-ma-cannabis-licensing-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/parseforge~ma-cannabis-licensing-scraper/run-sync": {
            "post": {
                "operationId": "run-sync-parseforge-ma-cannabis-licensing-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": {
                    "maxItems": {
                        "title": "Max Items",
                        "minimum": 1,
                        "maximum": 1000000,
                        "type": "integer",
                        "description": "Free users: Limited to 10 records (preview). Paid users: Optional, max 1,000,000"
                    },
                    "dataset": {
                        "title": "Dataset",
                        "enum": [
                            "licenses",
                            "prices"
                        ],
                        "type": "string",
                        "description": "Which CCC dataset to query."
                    },
                    "licenseStatus": {
                        "title": "License Status",
                        "enum": [
                            "",
                            "Active",
                            "Expired",
                            "Suspended",
                            "Revoked",
                            "Surrendered"
                        ],
                        "type": "string",
                        "description": "Filter by license status (e.g. Active, Expired, Suspended)."
                    },
                    "licenseType": {
                        "title": "License Type",
                        "type": "string",
                        "description": "Filter by license type (e.g. Retailer, Cultivator, Manufacturer). Partial match supported."
                    },
                    "city": {
                        "title": "City",
                        "type": "string",
                        "description": "Filter by city name (e.g. Boston, Worcester, Springfield)."
                    }
                }
            },
            "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
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
