Strainpedia API
Access structured cannabis strain reference data for approved applications, comparison tools, directories, AI assistants, and educational platforms.
The Strainpedia API gives approved developers access to organized cannabis strain information from Strainpedia through a private API key subscription.
Monthly Subscription
Developer API access is available for $50/month and can be cancelled anytime.
Monthly Requests
Each developer subscription includes up to 10,000 API requests per month.
Private API Access
Approved developers receive a private API key for authenticated requests.
Quick Start
- Request Strainpedia API access.
- Activate a $50/month developer subscription.
- Receive your private developer API key.
- Send your key using the
x-api-keyrequest header. - Start making requests to the Strainpedia API v1 endpoints.
API keys are issued manually to approved developers after subscription setup.
What You Can Build With the Strainpedia API
- Cannabis strain finder apps
- Strain comparison tools
- Seed and genetics directories
- Terpene comparison features
- Cannabinoid range tools
- AI cannabis assistants
- Dispensary education tools
- Research dashboards
- Mobile apps
- Developer prototypes
Strainpedia API Developer Subscription
Cancel anytime.
- Up to 10,000 API requests per month
- Private developer API key
- Access to strain names, slugs, URLs, excerpts, featured images, and categories
- Access to selected structured fields where available
- Search endpoint, single strain endpoint, all strains endpoint, and compare endpoint
- Commercial or app use allowed while subscription is active
- Supports Strainpedia’s hosting, maintenance, development, and dataset organization
What’s Included
| Included | Not Included |
|---|---|
| Strain names, slugs, URLs, excerpts, featured images, and categories | Full article content |
| Search, single strain, all strains, and compare endpoints | Bulk database export or scraping rights |
| Up to 10,000 API requests per month | Permission to resell or repackage the database |
| Private developer API key | Public sharing of API keys |
| Commercial/app use while subscription is active | Unlimited or unauthorized production use |
Available Data Fields
The API currently provides public-facing strain data and selected structured fields where available.
| Field | Description |
|---|---|
id |
Internal WordPress post ID |
name |
Strain name |
slug |
Unique strain URL slug |
url |
Canonical Strainpedia page URL |
excerpt |
Short public summary of the strain page |
featured_image |
Featured strain image URL, when available |
categories |
Human-readable category names |
category_slugs |
Machine-readable category slugs |
type |
Indica, sativa, hybrid, or related classification where available |
genetics |
Known or reported genetic lineage where available |
thc_range |
Reported THC range where available |
cbd_range |
Reported CBD range where available |
terpenes |
Reported terpene profile where available |
effects |
Reported effects or use-case notes where available |
flavors |
Flavor notes where available |
aroma |
Aroma notes where available |
flowering_time |
General flowering-time information where available |
difficulty |
General grower difficulty notes where available |
yield_potential |
General yield potential where available |
Note: Structured fields are being expanded over time. Some fields may be blank for certain strains while the dataset is being improved.
API Endpoints
All Strains
Returns a paginated list of strain records.
GET https://www.strainpedia.com/wp-json/strainpedia/v1/strains
Search Strains
Search strains by keyword.
GET https://www.strainpedia.com/wp-json/strainpedia/v1/search?query=cherry
Single Strain
Get one strain by slug.
GET https://www.strainpedia.com/wp-json/strainpedia/v1/strain/blue-dream
Compare Strains
Compare multiple strains by slug.
GET https://www.strainpedia.com/wp-json/strainpedia/v1/compare?strains=blue-dream,gelato
Authentication
The Strainpedia API is private and requires an approved developer API key.
Send your API key in the request header:
x-api-key: YOUR_API_KEY_HERE
JavaScript Example
fetch('https://www.strainpedia.com/wp-json/strainpedia/v1/strains', {
headers: {
'x-api-key': 'YOUR_API_KEY_HERE'
}
})
.then(response => response.json())
.then(data => console.log(data))
.catch(error => console.error(error));
Pagination
The all-strains endpoint returns paginated results. By default, the API returns 20 records per page.
GET https://www.strainpedia.com/wp-json/strainpedia/v1/strains?page=1&per_page=20
Pagination fields include page, per_page, total, and total_pages.
Status Codes
| Status Code | Meaning |
|---|---|
200 |
Request successful |
401 |
Invalid or missing API key |
403 |
API key inactive or monthly request limit reached |
404 |
Requested strain was not found |
Example API Response
{
"success": true,
"page": 1,
"per_page": 20,
"total": 589,
"total_pages": 30,
"data": [
{
"id": 2729,
"name": "Vimtoad",
"slug": "vimtoad",
"url": "https://www.strainpedia.com/vimtoad/",
"excerpt": "Vimtoad is a boutique indica-dominant hybrid cannabis strain...",
"featured_image": "https://www.strainpedia.com/wp-content/uploads/example.jpg",
"categories": [
"Strains"
],
"category_slugs": [
"strains"
],
"type": "",
"genetics": "",
"thc_range": "",
"cbd_range": "",
"terpenes": "",
"effects": "",
"flavors": "",
"aroma": "",
"flowering_time": "",
"difficulty": "",
"yield_potential": ""
}
]
}
Usage Rules
To protect Strainpedia and keep the API fair for approved developers, all API users must follow these rules:
- Strainpedia must be credited inside your app or website with a visible link to https://www.strainpedia.com/.
- API access is for app display, integration, and approved development use only.
- Data may not be copied, resold, bulk-exported, scraped, or republished as a separate database.
- Full article content is not included unless separately approved in writing.
- Commercial or production use is allowed only while the subscription is active.
- API keys may not be shared publicly or distributed to third parties.
- Access may be suspended or revoked for abusive usage, excessive requests, scraping behavior, or violation of these terms.
Attribution Requirement
Apps and websites using Strainpedia API data must include visible attribution, such as:
The attribution should appear near the strain data, in a source section, or in another visible area of the app where users can reasonably see the source.
Data Use and Educational Disclaimer
Strainpedia provides cannabis strain reference information for educational, comparison, and app-integration purposes. Strain data may vary by breeder, grower, phenotype, region, lab testing method, and source availability.
The API is not intended to provide medical, legal, cultivation, or purchasing advice. Developers are responsible for how Strainpedia data is displayed and used within their own applications.
Who Should Use the Strainpedia API?
Good Fit
- Independent developers building cannabis apps
- Strain comparison tools
- Seed and genetics websites
- Dispensary education platforms
- AI cannabis assistants that need licensed strain data
- Researchers and data projects that need structured strain references
- Startups building cannabis discovery or recommendation tools
Not a Good Fit
- Websites trying to clone Strainpedia
- Bulk database exporters
- Apps that do not provide attribution
- Projects that resell or repackage API data
- Public sharing of private API keys
Request API Access
To request access, please contact us with the following details:
- Your name
- Your company, app, or project name
- Your website or app URL
- How you plan to use Strainpedia data
- Expected monthly API usage
- Whether the project is private, public, commercial, or experimental
Email: admin@strainpedia.com
Approved developers receive a private API key after subscription setup.
Frequently Asked Questions
Is the Strainpedia API free?
No. The Strainpedia API is offered as a paid developer subscription at $50/month. This helps support hosting, maintenance, development, and ongoing data organization.
Can I cancel anytime?
Yes. The developer subscription is month-to-month and can be cancelled anytime.
How many API requests are included?
The Developer API Plan includes up to 10,000 requests per month.
Does the API include full article content?
No. Standard API access does not include full article content. The API is designed to provide structured strain data for apps and integrations while protecting Strainpedia’s original editorial content.
Can I use the data in a commercial app?
Yes, commercial or app use is allowed while your subscription is active and your usage follows the API terms.
Can I resell or export the data?
No. Strainpedia API data may not be copied, resold, bulk-exported, scraped, or republished as a separate database.
Do I need to credit Strainpedia?
Yes. Apps and websites using Strainpedia API data must include visible attribution with a link to https://www.strainpedia.com/.
What happens if I exceed my monthly limit?
Your API access may stop responding until the next monthly cycle, or you may contact us to discuss a higher-volume plan.
Can I get a higher request limit?
Yes. Higher-volume access may be available for approved partners depending on usage needs.