Leafly Cannabis Strain Scraper avatar

Leafly Cannabis Strain Scraper

Pricing

from $10.00 / 1,000 results

Go to Apify Store
Leafly Cannabis Strain Scraper

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

lulz bot

Maintained by Community

Actor 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

ParameterTypeDescription
searchQueriesarrayStrain names to search for (e.g. "Blue Dream", "OG Kush"). Leave empty to browse all
strainTypestringFilter by type: indica, sativa, hybrid, or any
maxResultsintegerMax number of strains to scrape. Default: 20, max: 5000
includeDetailsbooleanFetch detail pages for full effects/flavors/description. Default: false
proxyConfigurationobjectProxy settings (residential recommended)

Output Fields

Each result contains:

FieldTypeDescription
namestringStrain name (e.g. "Blue Dream")
slugstringURL slug
typestringindica, sativa, or hybrid
thcnumberMedian THC percentage
thcRangestringTHC range (e.g. "17%-22%")
cbdnumberMedian CBD percentage
topEffectstringPrimary reported effect
effectsarrayTop 5 effects by user votes
flavorsarrayTop 5 flavors (detail mode)
ratingnumberAverage user rating (0-5)
reviewCountnumberNumber of user reviews
topTerpenestringDominant terpene
terpenesarrayTop 3 terpenes (detail mode)
lineagearrayParent strain names (detail mode)
helpsWitharrayMedical conditions users report help with (detail mode)
descriptionstringStrain description
imageUrlstringStrain photo URL
sourceUrlstringLeafly strain page URL
scrapedAtstringISO 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

  1. Fetches Leafly's strain listing pages which contain server-rendered data in __NEXT_DATA__
  2. Extracts strain profiles including THC/CBD levels, effects, ratings, and terpenes
  3. Optionally fetches individual strain detail pages for enriched data (lineage, medical conditions, full descriptions)
  4. Applies type and search filters client-side for precise results