# Cannastack Cannabis Price Compare

> Cannastack Cannabis Price Compare is a paid API for AI agents from cannastack.0x402.sh, paid per call via x402, $0.02/call, status unknown (last checked 2026-09-13).

Compares cannabis product prices across multiple dispensaries near a given location, returning ranked results with stats on pricing, availability, and genetics.

## Facts

- Endpoint: POST https://cannastack.0x402.sh/api/price-compare
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/cannastack-cannabis-price-compare-36d4ba35
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_8KRh8hZMeKTgOHj1Vl8Xm

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability cannastack-cannabis-price-compare-36d4ba35 -d '<json body>'
```

Example prompt: Can you compare prices on sativa flower eighths at dispensaries near Seattle, WA and tell me which dispensary has the cheapest option?

## When to prefer this

Use this endpoint when you need to compare cannabis product prices across multiple dispensaries in a given US market, especially when the user wants to find the cheapest option, understand average pricing, or identify which dispensaries carry a specific genetics type or category. Prefer this over single-dispensary menu lookups when breadth of price comparison matters.

## Known failure modes

- No dispensaries found near the specified location — returns empty results or low match count
- Invalid or unsupported location — API may return an error or zero results
- Unsupported category or genetics enum value — may result in no matches
- Network timeout on upstream dispensary data sources — elevated response_ms or error
- Sparse coverage in rural areas — very few dispensaries indexed, skewing price stats

## How this service works

Agent-native cannabis data. Dispensary menus, prices, deals, and strain availability across the US, priced like an API call via x402.

## Output

Returns a JSON object with price statistics (average, min, max, count), a list of matching products with name, brand, price, dispensary, genetics, unit, and orderable status, plus a human-readable summary of the comparison and response latency. Results are scoped to the specified location, category, and genetics.

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ok": true,
  "stats": {
   "avg": 41.3,
   "max": 65,
   "min": 22,
   "count": 50
  },
  "results": [
   {
    "name": "Sour Diesel",
    "unit": "eighth",
    "brand": "House",
    "price": 22,
    "genetics": "sativa",
    "orderable": true,
    "dispensary": "Have a Heart"
   }
  ],
  "summary": "Compared 50 flower (sativa) products across 18 dispensaries near Seattle, WA. Cheapest: $22. Average: $41.30.",
  "category": "flower",
  "genetics": "sativa",
  "response_ms": 290,
  "total_matches": 50
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/cannastack-cannabis-price-compare-36d4ba35/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from cannastack.0x402.sh](https://www.zero.xyz/host/cannastack.0x402.sh/llms.txt)
