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 / callReturns 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 / callLists 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 / callSearches 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 / callUnified 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 / callFetches 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
123inkt
The Netherlands' largest online store for printer ink, toner, and office supplies. Look up products, check live prices and stock, add to cart, and review your cart — one item or a large order.
Allegro
Allegro — Poland's largest online marketplace. Product search and category listings with names, prices (PLN), sellers, ratings and links.
App4Sales
App4Sales (portal4sales) — B2B wholesale ordering portal. Tenant-based catalog: login, categories, product search & details, and cart operations.
Blue Ridge Knives
Blue Ridge Knives — US wholesale distributor of knives and outdoor gear. Sign in with your dealer account to search the range, look up a product's price, stock, UPC and full specifications, and build or empty your cart. The storefront is open to signed-in dealers only. Nothing is ever checked out — placing the order stays with you.
Dumco
Dumco B.V. — B2B wholesale webshop (dumcoshop.nl). Login, catalog browse/search/details, cart operations, and account data (orders, invoices, credit notes, backorders, wishlists).
Flipkart
Flipkart India - product search, details, reviews, pricing, and order history.