Ecommerce
Leafly.Com logo

Leafly.Com API

leafly.com

Cannabis marketplace and directory covering strains, products, dispensaries, effects, and reviews.

Actions
5
Category
Ecommerce
Login
Not required
Output
JSON

Call the Leafly.Com API

Submit a task, then poll the job until it settles. This example runs act_leafly_com_homepage_ssr.

curl -X POST https://api.anakin.io/v1/wire/task \
  -H "X-API-Key: $ANAKIN_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "action_id": "act_leafly_com_homepage_ssr",
    "params": {
      "place_id": "ChIJwTF6RcN4bIcRWd8aCrbRvX0"
    }
  }'

5 actions on leafly.com

Read

  • Homepage Dispensaries

    act_leafly_com_homepage_ssrread1 credit / call

    Returns homepage dispensary cards with names, ratings, locations, and tags for your area.

    place_id
    string
  • Nearby Dispensary Listing

    act_leafly_com_dispensary_nearby_listingread2 credits / call

    Lists nearby pickup dispensaries for the given coordinates. Returns dispensary names, distances, ratings, and store details within the search radius.

    lat
    string · required
    lon
    string · required
    place_id
    string
  • Product Search Listing

    act_leafly_com_product_search_listingread2 credits / call

    Searches cannabis products near a location filtered by subcategory. Returns product slugs, THC/CBD levels, brand names, and linked strain slugs.

    product_subcategory
    string · required
    lat
    string · required
    lon
    string · required
    skip
    string · required
  • Shop Unified Search

    act_leafly_com_shop_unified_searchread2 credits / call

    Unified search across strains, brands, or dispensaries at a location. Returns matching entity names, slugs, types, and summary metadata.

    entity_type
    string · required
    lat
    string · required
    lon
    string · required
    place_id
    string
  • Strain Detail

    act_leafly_com_strain_detailread1 credit / call

    Fetches the full cannabis strain profile. Returns effects, medical condition scores, cannabinoid percentiles, terpene info, and average rating.

    strain_slug
    string · required

Leafly.Com API questions

Is there an API for Leafly.Com?
Leafly.Com does not offer a public data API for this, but Anakin Wire provides 5 maintained endpoints for leafly.com. You call Anakin's REST API with an action ID and parameters and get structured JSON back; Anakin handles the browser, proxies, anti-bot, and parsing.
How do I scrape Leafly.Com data?
POST to https://api.anakin.io/v1/wire/task with your API key, the action ID, and its parameters, then poll GET /v1/wire/jobs/{id} until the job settles. There is nothing to install and no scraper to maintain — when leafly.com changes its markup, Anakin updates the action.
Do I need a Leafly.Com account?
No. Every Leafly.Com action listed here runs anonymously — no account and no credentials required.
What does the Leafly.Com API cost?
Usage-based credits, charged per call and refunded automatically when a job fails. New accounts start with 300 free credits and no card. See anakin.io/pricing for the current rates.

More Ecommerce APIs

All Ecommerce sites