Weedmaps strain profile
One strain from the Weedmaps strain guide: name, species, THC and CBD ranges, aliases, effects, flavours and medical conditions with vote shares, full description, genetics, terpenes and lineage where given, similar strains, images and raw.
Every response includes credits_used: the credits this call cost.
Part of the Weedmaps API: 18 endpoints with prices, use cases and example responses.
Parameters
| name | type | description |
|---|---|---|
slug | string | The strain slug (weedmaps.com/strains/<slug>). Example: blue-dream |
url | string | A weedmaps.com strain link, instead of slug. |
Every endpoint also takes fresh, raw, fields (see lean responses and caching).
Example
curl "https://api.api.sh/weedmaps/v1/strain?slug=blue-dream" \
-H "x-api-key: $APISH_KEY" import os, requests
res = requests.get(
"https://api.api.sh/weedmaps/v1/strain",
params={"slug": "blue-dream"},
headers={"x-api-key": os.environ["APISH_KEY"]},
timeout=120,
)
res.raise_for_status()
data = res.json() const url = new URL("https://api.api.sh/weedmaps/v1/strain");
url.searchParams.set("slug", "blue-dream");
const res = await fetch(url, { headers: { "x-api-key": process.env.APISH_KEY } });
if (!res.ok) throw new Error(`${res.status} ${await res.text()}`);
const data = await res.json(); Response
A JSON object with the fields described above, plus raw (the source's own data), cached, fetched_at and credits_used. Errors return {"success": false, "error": "…"} with the HTTP status (see errors). A lookup that ran but found nothing (404) costs the price above; refused calls and errors on our side are free (what's charged).
Example response (real call, trimmed: lists cut to 2 items, long text shortened, raw left out)
{"id": 29,"name": "Blue Dream","slug": "blue-dream","url": "https://weedmaps.com/strains/blue-dream","species": "hybrid","thc_min": 15,"thc_max": 27,"cbd_min": 2,"cbd_max": 2,"aliases": [],"effects": ["Relaxed","Happy","… 1 more"],"flavors": ["Blueberry","Berry","… 1 more"],"medical_conditions": ["Anxiety","Stress","… 1 more"],"description": "Blue Dream puts the berry in the foreground and leaves room for your afternoon. The familiar California cut combines sweet fruit, Haze chara…","image": "https://images.weedmaps.com/strains/000/000/029/avatar/1549404307-180102_36425_BlueDream_1.jpg","genetics": "Blue Dream by Unknown When cultivated outdoors, Blue Dream hits full maturation by late October in the Northern Hemisphere, late April in th…","terpenes": null,"lineage": null,"effects_detail": [{"id": "69b03eea-8b05-4d77-83b3-d796b7b0525e","type": "tag","name": "Relaxed","votes": 1023},{"id": "26cb0214-8165-42eb-8941-9718b9a5680e","type": "tag","name": "Happy","votes": 855},"… 1 more"],"flavors_detail": [{"id": "b612923d-d473-4fe6-84af-9c1bc435e957","type": "tag","name": "Blueberry","votes": 456},{"id": "725787f5-ef95-4a71-9c39-cb5a345ff318","type": "tag","name": "Berry","votes": 276},"… 1 more"],"medical_conditions_detail": [{"id": "53467850-7346-4538-98af-ed5c644cad4c","type": "tag","name": "Anxiety","votes": 3},{"id": "3d376032-c80f-4a63-867c-c0906be12dcc","type": "tag","name": "Stress","votes": 2},"… 1 more"],"similar_strains": [{"id": 274,"type": "strain"},{"id": 165,"type": "strain"},"… 11 more"],"hero_image": "https://images.weedmaps.com/strains/000/000/029/hero/1582219727-Blue-Dream_DL.jpg","cached": false,"credits_used": 1}