Discover/leafly.com API
live

leafly.com APIleafly.com

Access Leafly data via API: cannabis strains with terpene and effect filters, dispensary locations, product menus with THC/CBD content, and brand listings.

Endpoints
9
Updated
10d ago
Try it
Number of results to skip for pagination.
Number of results to return.
Filter by effect (e.g., 'creative', 'relaxed', 'euphoric', 'sleepy').
Filter by flavor (e.g., 'berry', 'citrus', 'earthy').
Filter by terpene (e.g., 'myrcene', 'limonene', 'caryophyllene').
Filter by medical symptom (e.g., 'pain', 'stress', 'anxiety').
Filter by strain type: 'indica', 'sativa', or 'hybrid'.
api.parse.bot/scraper/a1bdb45f-d7d8-419e-b184-5ff3e3e1608e/<endpoint>
Ready to send
Fill in the parameters and hit sign in to send to see live response data here.
Use it in your codegrab a free API key at signup
curl -X GET 'https://api.parse.bot/scraper/a1bdb45f-d7d8-419e-b184-5ff3e3e1608e/list_strains?skip=0&take=3' \
  -H 'X-API-Key: $PARSE_API_KEY'
All endpoints · 9 totalclick to expand

List cannabis strains with pagination and optional filters. Returns an array of strain objects and a total count.

Input
ParamTypeDescription
skipintegerNumber of results to skip for pagination.
takeintegerNumber of results to return.
effectstringFilter by effect (e.g., 'creative', 'relaxed', 'euphoric', 'sleepy').
flavorstringFilter by flavor (e.g., 'berry', 'citrus', 'earthy').
terpenestringFilter by terpene (e.g., 'myrcene', 'limonene', 'caryophyllene').
helps_withstringFilter by medical symptom (e.g., 'pain', 'stress', 'anxiety').
strain_typestringFilter by strain type: 'indica', 'sativa', or 'hybrid'.
Response
{
  "type": "object",
  "fields": {
    "total": "integer total count of matching strains",
    "strains": "array of strain summary objects with name, slug, category, effects, and terps"
  },
  "sample": {
    "data": {
      "total": 6000,
      "strains": [
        {
          "id": 512205,
          "name": "Hash Burger",
          "slug": "hash-burger",
          "category": "Hybrid"
        }
      ]
    },
    "status": "success"
  }
}

About the leafly.com API

The Leafly API exposes 9 endpoints covering cannabis strains, dispensaries, product menus, and brands. Use list_strains to filter thousands of strains by effect, flavor, terpene, or medical symptom, get_dispensary_menu to retrieve live menu items with THC content and pricing, and search_site to query across strains, dispensaries, brands, and articles in a single call.

Strain Data

The list_strains endpoint accepts filters for strain_type (indica, sativa, hybrid), effect (e.g. creative, sleepy), flavor (e.g. berry, citrus), terpene (e.g. myrcene, caryophyllene), and helps_with (e.g. pain, anxiety). Each strain object in the response includes name, slug, category, effects, and terpene data. For more depth, get_strain_detail takes a slug and returns the full description, cannabinoid data, images, and an array of user reviews. Keyword-based lookup is available via search_strains, which accepts a query string and supports pagination with skip and take.

Dispensaries and Menus

list_dispensaries accepts lat and lon coordinates and returns dispensary summaries including name, address, rating, review count, and open status. get_dispensary_detail resolves a dispensary slug to its full record: address, operating hours, schedule, photos, and delivery information. get_dispensary_menu takes a dispensary slug and returns paginated menu items, each with name, price, product category, THC and CBD content, associated strain, brand, and variants. For individual products, get_product_detail requires the menu item ID, store slug, and product slug, and returns the full product record alongside dispensary context and similar items from the same menu.

Brands and Global Search

list_brands pages through Leafly's cannabis brand catalog, returning id, slug, name, description, logo URL, and tagline for each brand. search_site provides a single entry point for cross-entity search, returning results grouped into five typed arrays: strain, dispensary, brand, menuItem, and article. This is useful when the category of a search result is unknown in advance.

Common use cases
  • Build a strain finder that lets users filter by terpene, effect, and strain type using list_strains parameters
  • Display dispensary hours, delivery availability, and photos on a cannabis locator map using get_dispensary_detail
  • Aggregate product pricing and THC content across multiple dispensaries with get_dispensary_menu
  • Feed a recommendation engine with strain cannabinoid profiles and user review sentiment from get_strain_detail
  • Index the Leafly brand catalog for a cannabis brand discovery tool using list_brands
  • Power an autocomplete search bar that returns strains, dispensaries, and brands together via search_site
  • Track menu availability and price changes over time by polling get_dispensary_menu for specific store slugs
Pricing & limitsSee full pricing →
TierPriceCredits/monthRate limit
Free$0/mo1005 req/min
Hobby$30/mo1,00020 req/min
Developer$100/mo5,000250 req/min

One credit = one API call regardless of which marketplace API you call. Exceeding the rate limit returns a 429 response. Authenticate with the X-API-Key header.

Frequently asked questions
Does Leafly have an official developer API?+
Leafly does not publish a public developer API. There is no official API portal, SDK, or documented access program available to third-party developers.
What does `get_strain_detail` return beyond basic strain info?+
get_strain_detail returns the full strain object including description, effects, terpene breakdown, cannabinoid data, and images, plus a reviews array containing user-submitted review objects for that strain.
How does `search_site` differ from `search_strains`?+
search_strains returns only strain objects matching a keyword. search_site returns results grouped into five typed arrays — strain, dispensary, brand, menuItem, and article — making it the right choice when you need cross-entity results from a single query.
Does the API cover dispensary inventory history or price change tracking?+
Not currently. The API returns the current state of a dispensary's menu via get_dispensary_menu, including price, THC content, and variants, but does not expose historical pricing or inventory snapshots. You can fork this API on Parse and revise it to add a polling-based historical tracking endpoint.
Are deals, coupons, or loyalty program data available from dispensaries?+
Not currently. The get_dispensary_detail and get_dispensary_menu endpoints cover hours, delivery info, product pricing, and menu items, but do not expose dispensary deals, coupons, or loyalty rewards. You can fork this API on Parse and revise it to add an endpoint targeting that data.
Page content last updated . Spec covers 9 endpoints from leafly.com.
Related APIs in HealthcareSee all →
ulta.com API
Search and browse Ulta Beauty's complete product catalog with real-time pricing and inventory information, then dive into detailed product specs including ingredients, usage instructions, and customer reviews. Find exactly what you're looking for across all beauty categories with comprehensive product data at your fingertips.
pubmed.ncbi.nlm.nih.gov API
Search and retrieve biomedical literature from PubMed and NCBI databases. Supports keyword search, advanced field-tag queries, clinical filters, citation matching, date filtering, publication type filtering, and direct E-utilities access.
cvs.com API
Find nearby CVS Pharmacy locations and check their hours, then search for products and verify real-time availability at specific stores. Quickly locate what you need and confirm it's in stock before making a trip.
accessdata.fda.gov API
Search and retrieve comprehensive FDA premarket approval information for medical devices, including approval status, supplements, applicant details, and advisory committee data. Get instant access to specific PMA records with all relevant approval information in one place.
zocdoc.com API
Search for doctors and medical practices on Zocdoc by specialty and location. Retrieve provider profiles, accepted insurance, office locations, patient reviews, and appointment availability.
pmc.ncbi.nlm.nih.gov API
Search millions of full-text biomedical research articles and access their metadata, citations, and related papers from PubMed Central. Find articles by topic, discover similar research, explore journal collections, and retrieve detailed citation information to support your literature review and research.
open.fda.gov API
Search FDA food recall and enforcement actions to find safety information about specific products or manufacturers, and look up adverse events reported to the CFSAN Adverse Event Reporting System (CAERS). Filter, sort, and aggregate data by various fields to analyze food safety trends and monitor enforcement activity.
azbar.org API
Search for Arizona lawyers by name, location, specialty, or company to find the right legal professional for your needs. View detailed lawyer profiles including their specializations, licensed jurisdictions, law school, admission history, and any disciplinary records.