Commodity prices (SPI)
The weekly price of daily life. This module has 30 essential retail items, each reported for 17 cities plus a national average, from the Pakistan Bureau of Statistics' Sensitive Price Indicator.
| Module | commodities |
| Frequency | Weekly (week ending Thursday, published Friday; a holiday week can end on the Wednesday) |
| History | 4 Aug 2011 → (grows every week): 21 items from 2011, the other nine from 5 Sep 2019 (why). No city prices exist for 17 Nov 2011 – 27 Dec 2012 or for 31 weeks since: 1 Aug and 5 Dec 2013; 7 Jul 2016; 13 Jul 2017; 1 and 15 Feb, 23 Aug and 13 Dec 2018; 24 Jan, 28 Feb, 14 and 28 Mar, 25 Apr, 23 May, 6 and 27 Jun, 4 and 25 Jul and 29 Aug 2019; 12 Mar 2020; 13 May, 22 Jul and 19 Aug 2021; 5 May 2022; 29 Jun 2023; 8 Feb, 11 Apr and 4 Jul 2024; 19 Jun 2025; 28 May and 25 Jun 2026 |
| Endpoints | /v1/commodities, or /v1/series/commodities.<item>?dims=city:<city> |
#Items (commodities.<item>)
| Group | Items |
|---|---|
| Staples | wheat_flour (20 kg bag), rice_basmati, rice_irri, bread, sugar, gur, salt |
| Protein & dairy | beef, mutton, chicken, eggs (dozen), milk_fresh (litre), pulse_masoor, pulse_moong, pulse_mash, pulse_gram |
| Oils | cooking_oil (5 L), mustard_oil, vegetable_ghee_loose, vegetable_ghee_tin (2.5 kg) |
| Vegetables | potatoes, onions, tomatoes, garlic |
| Beverages | tea_packet (190 g) |
| Energy | petrol, diesel (litre), lpg (cylinder), gas (MMBTU), electricity (unit) |
Cities: bahawalpur, bannu, faisalabad, gujranwala, hyderabad, islamabad, karachi, khuzdar, lahore, larkana, multan, peshawar, quetta, rawalpindi, sargodha, sialkot, sukkur, plus national (mean).
#History and the 2019 basket
PBS's SPI priced a different basket until the week ended 22 August 2019 and today's from 5 September 2019. 21 items are
specified the same way in both, so their history runs from August 2011: rice_basmati, rice_irri, beef, mutton,
chicken, eggs, milk_fresh, mustard_oil, vegetable_ghee_tin, the four pulses, potatoes, onions,
tomatoes, sugar, gur, garlic, petrol and diesel. The other nine start on 5 September 2019, because the earlier
basket priced something else under the same name: a 10 kg flour bag (now 20 kg), a 2.5-litre oil tin (now 5 litres),
medium bread (now small), loose salt by the kilo (now an 800 g pack), 200 g tea (now 190 g), electricity up to 50
units (now the lowest consumption quintile), gas on another slab, an 11 kg LPG cylinder (now 11.67 kg) and loose
ghee (now a branded 1 kg pouch).
A city whose prices PBS repeated from the week before (marked in the annexure, for example during a strike) is
left out of that week, so that week's national mean is over the other cities. In the week ended 14 January 2021
only 14 items can be read.
#Examples
# National flour price, weekly
curl -H "X-API-Key: pk_live_xxx" "https://api.pakdatahub.com/v1/commodities?item=wheat_flour&sort=asc"
# Petrol in Karachi vs Quetta
curl -H "X-API-Key: pk_live_xxx" "https://api.pakdatahub.com/v1/commodities/by-city?item=petrol&city=karachi"
curl -H "X-API-Key: pk_live_xxx" "https://api.pakdatahub.com/v1/commodities/by-city?item=petrol&city=quetta"
# Every city's sugar price in one call (no dims filter)
curl -H "X-API-Key: pk_live_xxx" "https://api.pakdatahub.com/v1/series/commodities.sugar?limit=18"
Derived from this data: the weekly cost-of-living index (cost_of_living.<city>) and the cost-of-living tool.
Use cases: food-price tracking, regional price dispersion, grocery-basket and cost-of-living indices, FMCG and procurement pricing, food-security research.
#Related
- Wholesale prices: what traders pay at Punjab's mandis, daily since 2007 — Wholesale (mandi) prices, or browse today's mandi rates.
- Derived from these prices: weekly essential-goods inflation and the monthly grocery-basket cost for every city (
prices.essentials_inflation.<city>,prices.grocery_basket.<city>) — see derived indicators and the free grocery basket tool.