# Weedmaps Scraper — Cannabis Dispensaries & Products (`muhammadafzal/weedmaps-scraper`) Actor

Extract cannabis dispensaries, deliveries, and live product menus from Weedmaps by location, coordinates, or URLs with pricing, potency, and contact data.

- **URL**: https://apify.com/muhammadafzal/weedmaps-scraper.md
- **Developed by:** [Muhammad Afzal](https://apify.com/muhammadafzal) (community)
- **Categories:** Lead generation, E-commerce
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.60 / 1,000 weedmaps result items

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/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

## Weedmaps Scraper — Cannabis Dispensaries & Products

Weedmaps Scraper is a fast, reliable, and cost-effective Apify Actor to extract cannabis storefront dispensaries, delivery services, and live product menus from Weedmaps. Search by city, state, zip code, GPS coordinates, brand, keyword, or direct Weedmaps URLs.

***

### Features

- **Storefront Dispensaries & Delivery Services:** Extract business profiles, license numbers (recreational and medical), phone numbers, email addresses, websites, operating hours, amenities (curbside pickup, payment types), and GPS coordinates.
- **Live Product Menus:** Scrape cannabis products with real-time pricing, discounts, THC/CBD potency percentages, strains, genetics (Indica/Sativa/Hybrid), categories (Flower, Edibles, Vapes, Concentrates, Pre-rolls, etc.), package weights, and photos.
- **Flexible Location Filtering:** Search any US state or Canadian province by city/state name (e.g. `Los Angeles, CA`, `Denver, CO`), zip code (e.g. `90210`), or precise latitude/longitude (`34.0522,-118.2437`).
- **Direct Weedmaps URL Support:** Pass direct dispensary URLs (`https://weedmaps.com/dispensaries/stiiizy`), delivery URLs, or region listing pages.
- **Cross-Dispensary Product Search:** Find specific cannabis brands, strains, or items (e.g. `STIIIZY`, `live resin gummies`, `Alien Kush`) across all retailers in a geographic radius.
- **Ultra-Fast & Cost-Efficient:** Powered by direct HTTP requests with TLS fingerprinting. No slow headless browsers needed, running comfortably on 256 MB memory.

***

### Pricing & Pay Per Event (PPE)

This Actor uses **Pay per event (PPE)** pricing with full platform costs included (`isPPEPlatformUsagePaidByUser = false`). You only pay for successful results delivered to your dataset.

| Event | Free | Bronze (2.5% off) | Silver (5% off) | Gold (20% off) |
|---|---|---|---|---|
| **Actor start** (`apify-actor-start`) | $0.00625 | $0.006094 | $0.005938 | $0.005 |
| **Result item** (`apify-default-dataset-item`) | $0.002 | $0.00195 | $0.0019 | $0.0016 |

> **Note on Free Accounts:** Runs on Apify Free accounts deliver up to **5 records** per run. Upgrade to an Apify paid subscription for unlimited data extraction.

#### Representative Run Costs

- **20 dispensaries:** $0.00625 start + (20 × $0.002) = **$0.046**
- **100 products:** $0.00625 start + (100 × $0.002) = **$0.206**
- **500 items (dispensaries + menus):** $0.00625 start + (500 × $0.002) = **$1.006**

***

### Input Parameters

| Field | Type | Default | Description |
|---|---|---|---|
| `location` | String | `"Los Angeles, CA"` | City, state, postal code, or `lat,lng` coordinates to search around. |
| `searchType` | String | `"dispensaries"` | `dispensaries` (storefronts), `deliveries` (delivery services), `all` (both), or `products` (product search). |
| `query` | String | `""` | Optional keyword or brand filter (e.g., `"STIIIZY"`, `"gummies"`, `"flower"`). |
| `startUrls` | Array | `[]` | Direct Weedmaps URLs (dispensary profiles or region pages). |
| `scrapeProducts` | Boolean | `false` | When true, extracts menu items for each scraped dispensary. |
| `maxProductsPerDispensary` | Integer | `20` | Max products to extract per dispensary (1–100). |
| `radius` | String | `"25mi"` | Search radius (`10mi`, `25mi`, `50mi`, `100mi`). |
| `maxResults` | Integer | `20` | Maximum total records to deliver (1–1000). |

***

### Sample Output

#### Dispensary Record

```json
{
  "id": "65841",
  "type": "dispensary",
  "name": "STIIIZY Downtown LA",
  "slug": "stiiizy",
  "url": "https://weedmaps.com/dispensaries/stiiizy",
  "city": "Los Angeles",
  "state": "California",
  "address": "728 E Commercial St",
  "zipCode": "90012",
  "country": "United States",
  "latitude": 34.052206,
  "longitude": -118.232052,
  "phoneNumber": "(323) 929-4201",
  "email": "retail.dtla@stiiizy.com",
  "website": "https://www.stiiizy.com",
  "rating": 4.8,
  "reviewsCount": 8398,
  "licenseType": "recreational",
  "licenses": [
    {
      "type": "Adult-Use Retail",
      "number": "C10-0000346-LIC"
    }
  ],
  "menuItemsCount": 2067,
  "distanceMiles": 1.3,
  "hasCurbsidePickup": true,
  "acceptsDebitCards": true,
  "isRecreational": true,
  "isMedical": true,
  "scrapedAt": "2026-09-30T07:45:00.000Z"
}
```

#### Product / Menu Item Record

```json
{
  "id": "229069066",
  "type": "product",
  "name": "Alien Kush | Big Buds | 3.5g",
  "slug": "alien-kush-3-5g-flower",
  "url": "https://weedmaps.com/dispensaries/stiiizy/menu/alien-kush-3-5g-flower",
  "brandName": "Quiet Kings",
  "brandSlug": "quiet-kings",
  "category": "Indica",
  "subcategory": "Buds",
  "strain": "Alien Kush",
  "genetics": "Indica",
  "thcPercent": 26.85,
  "cbdPercent": 0.27,
  "price": 15,
  "originalPrice": 20,
  "onSale": true,
  "discountLabel": "-25%",
  "unit": "ounce",
  "quantity": "1/8 oz",
  "dispensaryName": "STIIIZY Downtown LA",
  "dispensarySlug": "stiiizy",
  "imageUrl": "https://images.weedmaps.com/products/sample.png",
  "scrapedAt": "2026-09-30T07:45:00.000Z"
}
```

***

### Use Cases

- **Market Intelligence & Price Monitoring:** Track cannabis retail pricing, promotions, and brand positioning across regional markets.
- **Brand Distribution Audit:** Verify which licensed retailers carry your brand's SKUs and audit inventory levels.
- **Cannabis B2B Lead Generation:** Build clean contact directories of dispensaries and delivery operators including verified state license numbers, emails, phone numbers, and addresses.
- **Competitive Menu Benchmarking:** Analyze product category breakdowns, THC potency ranges, and discount strategies.

# Actor input Schema

## `location` (type: `string`):

City, state, zip code, or lat,lng coordinates to search around (e.g., 'Los Angeles, CA', 'Denver, CO', 'Detroit, MI', or '34.0522,-118.2437'). Default is 'Los Angeles, CA'.

## `searchType` (type: `string`):

Select what type of cannabis businesses or items to retrieve: 'dispensaries' for storefronts, 'deliveries' for delivery services, 'all' for both, or 'products' for cross-dispensary product search.

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

Optional keyword or brand filter (e.g. 'STIIIZY', 'gummies', 'live resin', 'flower', 'indica'). Leave empty to retrieve all listings in the target location.

## `startUrls` (type: `array`):

Direct Weedmaps URLs to scrape. Supports region listing pages (e.g., 'https://weedmaps.com/dispensaries/in/united-states/california/los-angeles') or individual dispensary profiles (e.g., 'https://weedmaps.com/dispensaries/stiiizy').

## `scrapeProducts` (type: `boolean`):

When enabled, also extracts live product menu items (flower, edibles, vapes, concentrates, etc.) for each dispensary or delivery service found.

## `maxProductsPerDispensary` (type: `integer`):

Maximum number of menu items to extract per dispensary when Scrape Product Menus is enabled (1–100). Default is 20.

## `radius` (type: `string`):

Search radius around the target location.

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

Maximum total records (dispensaries, deliveries, or products) to deliver. Free-plan runs are capped at 5 results.

## Actor input object example

```json
{
  "location": "Los Angeles, CA",
  "searchType": "dispensaries",
  "scrapeProducts": false,
  "maxProductsPerDispensary": 20,
  "radius": "25mi",
  "maxResults": 20
}
```

# Actor output Schema

## `results` (type: `string`):

Schema-validated dispensary and product records.

## `summary` (type: `string`):

Delivered counts, warnings, and terminal execution status.

# 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 = {
    "location": "Los Angeles, CA",
    "searchType": "dispensaries",
    "radius": "25mi"
};

// Run the Actor and wait for it to finish
const run = await client.actor("muhammadafzal/weedmaps-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 = {
    "location": "Los Angeles, CA",
    "searchType": "dispensaries",
    "radius": "25mi",
}

# Run the Actor and wait for it to finish
run = client.actor("muhammadafzal/weedmaps-scraper").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 '{
  "location": "Los Angeles, CA",
  "searchType": "dispensaries",
  "radius": "25mi"
}' |
apify call muhammadafzal/weedmaps-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,muhammadafzal/weedmaps-scraper"
        }
    }
}
```

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/hOjbn2GguJJXJSmFN/builds/RzcXu5nNDZrfGAS3U/openapi.json
