# Wholesale (mandi) prices: Punjab AMIS

The daily price at the wholesale market, **before** it reaches the shop. The Punjab government's **Agriculture Marketing Information Service (AMIS)**, run by the Directorate of Agriculture (Economics & Marketing), reports prices from Punjab's mandis (plus a few markets elsewhere, such as Karachi and Quetta) every day. For each commodity, market and day it gives:

| Field | Meaning |
|---|---|
| `fqp` | **Fair-quality price**: the representative wholesale price for average quality. Use this one. |
| `min`, `max` | The day's lowest and highest traded prices |
| `quantity` | Arrivals, when the market reports them |

Prices are **rupees per 100 kg** unless the commodity's `unit` says otherwise (bananas are per dozen).

| | |
|---|---|
| Coverage | About 140 markets x about 135 commodities (grains, pulses, vegetables, fruits, fodder) |
| History | **FQP from May 2007**; min, max and quantity from October 2026 onward |
| Frequency | Daily (the major markets update every evening, the rest at least weekly) |
| Source | AMIS Punjab, [amis.pk](http://www.amis.pk) |
| Endpoint | [`/v1/agri/*`](https://pakdatahub.com/docs/api-agri.md) |

## Why it matters

- **A daily pulse.** CPI is monthly and the SPI is weekly. Mandi prices move every day, and they lead retail prices by days to weeks.
- **Market-level detail.** Compare Lahore's onion price with Multan's, or follow a commodity across every market in Punjab.
- **Wholesale vs retail.** Set the wholesale FQP against the [SPI retail prices](https://pakdatahub.com/docs/data-commodities.md) for the same city to see the margin.

## Quick start

```bash
# The markets and commodities (public, no key)
curl "https://api.pakdatahub.com/v1/agri/markets"
curl "https://api.pakdatahub.com/v1/agri/commodities"

# Onion in Lahore since January
curl -H "X-API-Key: pk_live_xxx" \
  "https://api.pakdatahub.com/v1/agri/prices?commodity=onion&market=lahore&from=2026-01-01&sort=asc"

# Today's wheat price in every market
curl -H "X-API-Key: pk_live_xxx" \
  "https://api.pakdatahub.com/v1/agri/latest?commodity=wheat"
```

`commodity` and `market` accept the AMIS id or a slug (`onion`, `rice_basmati_super_new`, `lahore`, `rahimyarkhan`). See the full reference in [Wholesale prices API](https://pakdatahub.com/docs/api-agri.md).

## Notes

- AMIS publishes a market's prices during the evening. We re-read the last few days, so late entries and corrections are picked up.
- A dash on AMIS (no trade that day) is simply absent here; it is never stored as zero.
- Prices before October 2026 come from AMIS's price-trend reports, which carry the fair-quality price only. That's why `min` and `max` are empty for older dates.

---
Source: https://pakdatahub.com/docs/data-agri-prices - PakDataHub docs index: https://pakdatahub.com/docs/llms.txt
