Weedmaps dispensary deals
Every current deal of one dispensary or delivery service: title, description, type, discount, storewide flag, first-time-customer flag, time left, product categories, brands, claimed and like counts, link, picture 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 listing slug. Example: stiiizy |
url | string | A weedmaps.com listing link, instead of slug. |
type | dispensary | delivery | doctor | store | venue | hemp_store | hemp_delivery | Listing type. Example: dispensary |
Every endpoint also takes fresh, raw, fields (see lean responses and caching).
Example
curl "https://api.api.sh/weedmaps/v1/listing/deals?slug=stiiizy&type=dispensary" \
-H "x-api-key: $APISH_KEY" import os, requests
res = requests.get(
"https://api.api.sh/weedmaps/v1/listing/deals",
params={"slug": "stiiizy", "type": "dispensary"},
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/listing/deals");
url.searchParams.set("slug", "stiiizy");
url.searchParams.set("type", "dispensary");
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)
{"listing": {"id": 65841,"wmid": 770072967,"name": "STIIIZY Downtown LA","slug": "stiiizy","type": "dispensary"},"total": 4,"count": 4,"deals": [{"id": 1484008,"title": "Up to 25% off Top Brands!","slug": "stiiizy-downtown-la-up-to-25-off-top-brands","body": "Up to 25% off Top Brands Daily! First Time Customers up to 30% off all STIIIZY. Promo Code \"FTC\"**To qualify for this promotion, it must be …","type": "featured","discount": null,"storewide": false,"first_time_customer": false,"expires_in_seconds": 81738,"categories": [],"brand_ids": [18383,65422,"… 1 more"],"claimed_count": 71,"likes_count": 1,"listing": {"id": 65841,"wmid": 770072967,"name": "STIIIZY Downtown LA","slug": "stiiizy","type": null,"city": "Los Angeles","state": "California"},"url": "https://weedmaps.com/dispensaries/stiiizy/deals/stiiizy-downtown-la-up-to-25-off-top-brands","image": "https://images.weedmaps.com/pictures/users/018/405/844/445035859_blob"},{"id": 1465787,"title": "BOGO Up To 50% Off","slug": "stiiizy-downtown-la-bogo-up-to-50-off","body": "Buy 1 Get 1 Up To 50% Off 1g 40's Blunts. (Daily)","type": "basic","discount": null,"storewide": false,"first_time_customer": false,"expires_in_seconds": 81738,"categories": [],"brand_ids": [3464],"claimed_count": 69,"likes_count": 1,"listing": {"id": 65841,"wmid": 770072967,"name": "STIIIZY Downtown LA","slug": "stiiizy","type": null,"city": "Los Angeles","state": "California"},"url": "https://weedmaps.com/dispensaries/stiiizy/deals/stiiizy-downtown-la-bogo-up-to-50-off","image": "https://images.weedmaps.com/pictures/users/017/380/835/444473055_blob"},"… 2 more"],"cached": false,"credits_used": 1}