Leafly Cannabis Strain Scraper avatar

Leafly Cannabis Strain Scraper

Pricing

from $3.00 / 1,000 results

Go to Apify Store
Leafly Cannabis Strain Scraper

Leafly Cannabis Strain Scraper

Scrape cannabis strains from Leafly - get trending strains or look up specific strains by slug. Returns THC/CBD content, cannabinoids, terpenes, effects, ratings, and review counts.

Pricing

from $3.00 / 1,000 results

Rating

0.0

(0)

Developer

Crawler Bros

Crawler Bros

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

5 days ago

Last modified

Share

Scrape cannabis strain data from Leafly — one of the most comprehensive cannabis databases on the internet. Get trending strains with full THC/CBD content, cannabinoid profiles, terpene data, effects, ratings, and review counts.

What does it scrape?

This actor pulls data from the Leafly Consumer API (consumer-api.leafly.com), which provides structured, real-time strain data including:

  • Strain identity: name, slug, type (Indica / Sativa / Hybrid)
  • Cannabinoid content: THC %, CBD %, CBG %, CBC %, THCV %
  • Effects: scored list of all reported effects (euphoric, relaxed, creative, etc.)
  • Terpenes: scored list of dominant terpenes (myrcene, caryophyllene, limonene, etc.)
  • Ratings: average rating and total review count
  • Images: high-quality nug/flower images
  • Detail-only data (bySlug mode): dominant flavors, common side effects, medical symptoms/conditions it may help with, grow info (difficulty, yield, height, flowering time, grow notes), genetic lineage (parent/child strains), community follower count, and user photo count

Input

FieldTypeDescription
modestringtrending (default) or bySlug
strainSlugsstring[]Required for bySlug — e.g. ["blue-dream", "gsc"]
strainTypestringFilter: Indica, Sativa, Hybrid, or empty for all
minThcintegerMinimum THC % (0–35)
maxThcintegerMaximum THC % (0–35)
minRatingintegerMinimum average rating (1–5)
maxItemsintegerMax records to emit (default 20, max 500)

Modes

  • trending — Returns Leafly's current featured/trending strains with full data
  • bySlug — Fetches the full strain-detail record for each provided strain slug (one record per valid slug)

Output

Each record contains:

{
"strainId": "505298",
"slug": "lemon-cherry-gelato",
"name": "Lemon Cherry Gelato",
"strainType": "Hybrid",
"thcContent": 20.0,
"description": "Lemon Cherry Gelato is a hybrid marijuana strain...",
"effects": ["tingly", "relaxed", "giggly", "euphoric", "happy"],
"topEffect": "Tingly",
"terpenes": ["caryophyllene", "linalool", "limonene", "myrcene", "pinene"],
"topTerpene": "caryophyllene",
"cannabinoids": {"thc": 20.0},
"averageRating": 4.59,
"reviewCount": 825,
"imageUrl": "https://images.leafly.com/flower-images/...",
"strainUrl": "https://www.leafly.com/strains/lemon-cherry-gelato",
"sourceUrl": "https://consumer-api.leafly.com/api/strain_playlists/v2",
"scrapedAt": "2026-06-30T12:00:00+00:00",
"recordType": "strain"
}

bySlug mode records include additional detail-only fields not available from the trending feed:

{
"flavors": ["Berry", "Blueberry", "Sweet", "Flowery"],
"negativeEffects": ["Dry mouth", "Dry eyes", "Dizzy", "Paranoid"],
"helpsWithSymptoms": ["Stress", "Depression", "Pain", "Insomnia"],
"helpsWithConditions": ["Anxiety", "PTSD", "Bipolar disorder"],
"growInfo": {
"difficulty": "Moderate",
"yield": "High",
"height": "Tall",
"outdoorFinish": "Early - Mid October",
"floweringDays": 67,
"notes": "Well suited for sea of green (SOG)..."
},
"parentStrains": ["Blueberry", "Haze"],
"childStrains": ["Pinnacle", "Mango Dream"],
"totalFollowers": 228273,
"photoCount": 2504
}

description is a plain-text strain overview, included whenever Leafly publishes one (present on most strains). cbdContent is a separate top-level percentage that appears only for CBD-bearing strains — most strains are THC-dominant with 0% CBD, in which case both cbdContent and the cbd entry inside cannabinoids are omitted. The cannabinoids object lists only the cannabinoids a strain actually contains above 0% (always THC, often CBG, plus CBD / CBC / THCV when present).

FAQs

Does it require a Leafly account or API key? No. This actor uses Leafly's public consumer API which is freely accessible without authentication.

How many strains can I get per run? The trending mode returns up to 6 featured strains per fetch. Use bySlug mode with multiple slugs to retrieve data for more strains — each valid slug resolves to exactly one full strain-detail record.

Can I filter by effects or terpenes? Currently you can filter by strain type, THC content, and rating. The effects and terpenes data is included in every record for your own downstream filtering.

What extra data does bySlug mode return? Because it hits Leafly's per-strain detail endpoint, bySlug records include flavors, common negative effects, medical symptoms/conditions the strain may help with, grow info (difficulty, yield, height, flowering days, notes), genetic lineage (parent/child strains), total community followers, and user photo count. The trending feed doesn't expose this data, so those fields are only present on bySlug records.

What does "trending strains" mean? Leafly's API returns its current featured/trending strain playlist — the most popular strains at the moment. This data updates in real time.

Are dispensary data included? No. This actor focuses on strain data. Dispensary search is not available via Leafly's public API.

What terpenes are included? Myrcene, caryophyllene, limonene, linalool, pinene, terpinolene, ocimene, humulene, and more — all with relative abundance scores.