# FMCG, retail & supply chain

Pricing, procurement and demand planning in Pakistan depend on input costs that change every week and differ city by city. PakDataHub serves the official weekly retail prices and the demand indicators behind them.

## Input & shelf prices (weekly, 17 cities)

| Category | Items (`commodities.<item>`) |
|---|---|
| Staples | `wheat_flour` (20 kg bag), `sugar`, `rice_basmati`, `rice_irri` |
| Edible oils | `cooking_oil` (5 L), `vegetable_ghee_tin` (2.5 kg), `vegetable_ghee_loose`, `mustard_oil` |
| Dairy & protein | `milk_fresh`, `eggs`, `chicken`, `beef`, `mutton`, pulses |
| Energy & logistics | `petrol`, `diesel`, `lpg` |

```bash
# Diesel in every city this week (freight-cost map)
curl -H "X-API-Key: pk_live_xxx" "https://api.pakdatahub.com/v1/series/commodities.diesel?limit=18"
```

## Demand & cost indicators

| Signal | Series |
|---|---|
| Consumer inflation by group | `inflation.cpi.urban.food`, `inflation.cpi.urban.transport`, `inflation.cpi.urban.housing` |
| Wholesale prices | `inflation.wpi`, `inflation.wpi_food_inflation_measure_year_year` |
| Fuel demand by sector | `fuel.pol_sales_domestic`, `fuel.overall_pol_sales_various_sectors_agri_govt` |
| Listed FMCG sales | `industry.fmcg.sales_fmcgs` |
| Big-ticket demand | `auto.sales_cars`, `auto.total_sales_2_3_wheelers` |
| Manufacturing activity | `industry.lsm.qim` |
| Consumer sentiment | SBP consumer-confidence surveys (`/v1/search?q=consumer confidence`) |

## Example: weekly ghee-price alert

```python
import httpx
H = {"X-API-Key": "pk_live_xxx"}
d = httpx.get("https://api.pakdatahub.com/v1/series/commodities.vegetable_ghee_tin",
              params={"dims": "city:national", "transform": "pct_change", "limit": 1}, headers=H).json()
change = d["data"][0]["value"]
if change and abs(change) > 3:
    print(f"Ghee (tin) moved {change:.1f}% week on week")
```

Or skip the polling: a [webhook](https://pakdatahub.com/docs/api-webhooks.md) on the `commodities` module fires every Friday when PBS publishes.

---
Source: https://pakdatahub.com/docs/use-case-fmcg-retail-supply-chain - PakDataHub docs index: https://pakdatahub.com/docs/llms.txt
