# Get live price

The stored price on a product card is a snapshot. For the exact price and stock right now, use the live price endpoint. It fetches from the brand store and returns a `verified` flag.

```bash
curl "https://dev.ziffi.xyz/v1/products/sha:1cff37…/price"
```

## The response

```json
{
  "data": {
    "product_id": "…",
    "currency": "INR",
    "verified": true,
    "price_min_minor": 39900,
    "in_stock": true,
    "variants": [
      { "variant_id": "…", "sku": "…", "amount_minor": 39900,
        "compare_at_minor": 59900, "available": true }
    ]
  },
  "tier": "live",
  "as_of": "2026-07-07T18:00:00Z"
}
```

`verified: true` means the number is live from the store. `verified: false` means the live fetch failed and you are seeing the last stored snapshot, so show it as unverified rather than transacting on it.

## Batch a basket

Price up to twenty products in one call.

```bash
curl -X POST "https://dev.ziffi.xyz/v1/prices" \
  -H "Content-Type: application/json" \
  -d '{"idents": ["sha:1cff37…", "sha:aa11bb…"]}'
```

```python
import httpx
r = httpx.post("https://dev.ziffi.xyz/v1/prices",
               json={"idents": ["sha:1cff37…", "sha:aa11bb…"]})
print(r.json()["data"])
```

## Notes

- Live responses are never edge-cached (`no-store`). Read `as_of` for freshness.
- Money is integer minor units. `39900` in `INR` is `399.00`.

## Next steps

- [Tiers and freshness](#/tiers): why price is live.
- [Find working coupons](#/coupons): the best applicable discount.
