Weedmaps stores selling a product near a place
Where to buy one brand product near a place: every nearby dispensary or delivery menu item for it with price and price options (sale and original), THC/CBD, verified and online-orderable flags, current deal, and the store (name, slug, type, address, phone, rating, distance, coordinates, license type), nearest first. Pass next_page back as page; null on the last page.
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 product slug. Example: stiiizy-blue-dream |
url | string | A weedmaps.com product link, instead of slug. |
location | string | A city, neighbourhood or ZIP/postal code (US or Canada), e.g. Los Angeles, CA. Or pass lat and lng. Example: Los Angeles, CA |
lat | number | Latitude (with lng), instead of location. |
lng | number | Longitude (with lat). |
page | integer | Page number. |
limit | integer | Stores per page (1-20, default 10). |
Every endpoint also takes fresh, raw, fields (see lean responses and caching).
Example
curl "https://api.api.sh/weedmaps/v1/product/offers?slug=stiiizy-blue-dream&location=Los+Angeles%2C+CA" \
-H "x-api-key: $APISH_KEY" import os, requests
res = requests.get(
"https://api.api.sh/weedmaps/v1/product/offers",
params={"slug": "stiiizy-blue-dream", "location": "Los Angeles, CA"},
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/product/offers");
url.searchParams.set("slug", "stiiizy-blue-dream");
url.searchParams.set("location", "Los Angeles, CA");
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)
{"product_slug": "stiiizy-blue-dream","location": {"latitude": 34.048051,"longitude": -118.254187,"name": "Los Angeles, California, United States"},"total": 96,"page": 1,"count": 10,"next_page": 2,"offers": [{"menu_item_id": 216950448,"slug": "blue-dream-5g-pod","verified": true,"online_orderable": true,"price": {"label": "each","unit": "unit","quantity": "1","price": 8.4,"original_price": 12,"on_sale": true,"discount": "-30%"},"prices": [{"label": "each","unit": "unit","quantity": "1","price": 8.4,"original_price": 12,"on_sale": true,"discount": "-30%"}],"thc": 500,"cbd": 0,"current_deal": null,"listing": {"id": 406265,"wmid": 960097753,"name": "Off The Charts - Cudahy","slug": "off-the-charts-cudahy","type": "dispensary","address": "8036 ATLANTIC AVE","city": "Cudahy","state": "California","zip_code": "90201","phone": "+1 555 010 0000","rating": 4.8,"distance_miles": 7.17977135192812,"latitude": 33.96104,"longitude": -118.18566,"license_type": "hybrid"}},{"menu_item_id": 236057243,"slug": "stiiizy-original-pod-blue-dream-0-5g-cabf37d7-18e3-4956-a0a3-55c1a7cb22e6","verified": true,"online_orderable": true,"price": {"label": "1/2 g","unit": "gram","quantity": "1/2","price": 13,"original_price": 13,"on_sale": false,"discount": null},"prices": [{"label": "1/2 g","unit": "gram","quantity": "1/2","price": 13,"original_price": 13,"on_sale": false,"discount": null}],"thc": 86.52,"cbd": 0.21,"current_deal": "Buy 2 Get 1 Up to 50% off Stiiizy","listing": {"id": 65841,"wmid": 770072967,"name": "STIIIZY Downtown LA","slug": "stiiizy","type": "dispensary","address": "728 E Commercial St","city": "Los Angeles","state": "California","zip_code": "90012","phone": "+1 555 010 0000","rating": 4.8,"distance_miles": 1.299276071436548,"latitude": 34.052206,"longitude": -118.232052,"license_type": "hybrid"}},"… 8 more"],"cached": false,"credits_used": 1}