Leafly Cannabis Strain Scraper
Pricing
from $10.00 / 1,000 results
Go to Apify Store
Leafly Cannabis Strain Scraper
Scrape cannabis strain data from Leafly. Get strain names, types (indica/sativa/hybrid), THC/CBD levels, effects, flavors, ratings, review counts, and terpene profiles from the largest cannabis database.
Pricing
from $10.00 / 1,000 results
Rating
0.0
(0)
Developer
lulz bot
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
14 hours ago
Last modified
Categories
Share
Scrape cannabis strain data from Leafly -- the world's largest cannabis information resource with 6,000+ strain profiles.
What it does
- Browse mode: Scrape all strains alphabetically, optionally filtering by type (indica/sativa/hybrid)
- Search mode: Search for specific strains by name
- Detail mode: Optionally fetch individual strain pages for full effects, flavors, terpenes, lineage, and medical conditions
Extracts data from Leafly's server-rendered NEXT_DATA -- no JavaScript rendering needed.
Input Parameters
| Parameter | Type | Description |
|---|---|---|
searchQueries | array | Strain names to search for (e.g. "Blue Dream", "OG Kush"). Leave empty to browse all |
strainType | string | Filter by type: indica, sativa, hybrid, or any |
maxResults | integer | Max number of strains to scrape. Default: 20, max: 5000 |
includeDetails | boolean | Fetch detail pages for full effects/flavors/description. Default: false |
proxyConfiguration | object | Proxy settings (residential recommended) |
Output Fields
Each result contains:
| Field | Type | Description |
|---|---|---|
name | string | Strain name (e.g. "Blue Dream") |
slug | string | URL slug |
type | string | indica, sativa, or hybrid |
thc | number | Median THC percentage |
thcRange | string | THC range (e.g. "17%-22%") |
cbd | number | Median CBD percentage |
topEffect | string | Primary reported effect |
effects | array | Top 5 effects by user votes |
flavors | array | Top 5 flavors (detail mode) |
rating | number | Average user rating (0-5) |
reviewCount | number | Number of user reviews |
topTerpene | string | Dominant terpene |
terpenes | array | Top 3 terpenes (detail mode) |
lineage | array | Parent strain names (detail mode) |
helpsWith | array | Medical conditions users report help with (detail mode) |
description | string | Strain description |
imageUrl | string | Strain photo URL |
sourceUrl | string | Leafly strain page URL |
scrapedAt | string | ISO 8601 timestamp |
Example Output
{"name": "Blue Dream","slug": "blue-dream","type": "hybrid","thc": 21,"thcRange": "17%-24%","cbd": 0,"topEffect": "relaxed","effects": ["relaxed", "happy", "euphoric", "creative", "uplifted"],"rating": 4.34,"reviewCount": 15234,"topTerpene": "myrcene","description": "Blue Dream is a sativa-dominant hybrid...","imageUrl": "https://images.leafly.com/flower-images/...","sourceUrl": "https://www.leafly.com/strains/blue-dream","scrapedAt": "2026-04-26T10:00:00.000Z"}
Example Inputs
Browse all indica strains
{"strainType": "indica","maxResults": 50}
Search for specific strains with full details
{"searchQueries": ["Blue Dream", "OG Kush", "Girl Scout Cookies"],"includeDetails": true,"maxResults": 10}
How it works
- Fetches Leafly's strain listing pages which contain server-rendered data in
__NEXT_DATA__ - Extracts strain profiles including THC/CBD levels, effects, ratings, and terpenes
- Optionally fetches individual strain detail pages for enriched data (lineage, medical conditions, full descriptions)
- Applies type and search filters client-side for precise results