Sources & provenance
Every number in PakDataHub is an official figure published by a Pakistani public institution. The official layer is never estimated, modelled or re-surveyed; the only figures PakDataHub computes are a small, clearly labelled derived layer, each with its formula. It collects the official releases, normalizes them into one consistent format, validates them and serves them through one API. For research and financial applications, the source of truth is the publisher. PakDataHub gives you that publisher's number, labelled with where it came from.
PakDataHub is an independent service and isn't affiliated with the institutions below.
#The publishers
| Publisher | What PakDataHub carries from it |
|---|---|
| State Bank of Pakistan (SBP) | Exchange rates, KIBOR, policy rate, auctions, reserves, balance of payments, remittances, money and banking, external debt, public finance, GDP and real-sector figures, social-sector data, payment systems, SME finance |
| Pakistan Bureau of Statistics (PBS) | CPI and CPI by group, WPI, weekly SPI prices in 17 cities, Large-Scale Manufacturing; exports and imports by commodity, and by product and partner country since 1990-91; the population censuses of 1981, 1998, 2017 and 2023; the Economic Census 2023 and Agricultural Census 2024; the PSLM district survey; the Labour Force Survey and HIES |
| Pakistan Telecommunication Authority (PTA) | Subscribers by operator, teledensity, cell sites, ARPU, broadband, sector revenue and investment |
| Mutual Funds Association of Pakistan (MUFAP) | Fund NAVs, returns, payouts, expense ratios, allocations; PKRV/PKISRV yield curves; debt-security prices and trades |
| Punjab Agriculture Department (Agriculture Marketing Information Service) | Daily wholesale (mandi) prices of grains, vegetables and fruits in every reporting Punjab market, since 2007 |
| Sindh Agriculture Department | Daily fruit and vegetable rates in 27 Sindh markets, since August 2026 |
| Pakistan State Oil (PSO) | Pump prices of petrol, diesel, kerosene, LDO and jet fuel at every change since 2006 |
| Independent System & Market Operator (ISMO) | The hourly wholesale price of electricity, grid demand and fuel mix, consumption by distribution company, daily plant output, and the merit order of plant running costs |
| National Electric Power Regulatory Authority (NEPRA) | Monthly generation, utilization and capacity of every power plant, FY2017-18 → |
The SBP data compiles figures from other official bodies, including PAMA (autos), NEPRA (power), OCAC (petroleum), NFDC (fertilizer), APCMA (cement), the Ministry of Finance, FBR and NIPS. Each series names its publisher.
#Tracing any value
Every catalog record has two provenance fields:
source: the publisher (SBP,PBS,PTA,MUFAP,PSO,ISMO,NEPRA;PakDataHubfor the derived layer).source_url: the exact official dataset or page the series is ingested from.
curl "https://api.pakdatahub.com/v1/catalog/fx.rate.avg.usd"
# ... "source": "SBP",
# "source_url": "https://easydata.sbp.org.pk/api/v1/series/TS_GP_ER_FAERPKR_M.E00220/data"
For SBP EasyData series, the source_url contains SBP's own dataset and series code (here TS_GP_ER_FAERPKR_M.E00220), so any value can be checked against the SBP original.
#How data flows
- Fetch: scheduled jobs download each official release as it's published: daily for KIBOR, curves and fund NAVs; weekly for SPI; monthly and quarterly for the rest.
- Archive: the raw file is stored before parsing, so every value can be re-derived.
- Parse & normalize: into
(series_id, date, value, dims)with consistent ids, dates (month-end or quarter-end) and units. SBP publishes many values without stating the scale, so each dataset's scale (thousand, million, billion) was checked against known published totals and labelled inunit. - Validate: each value is checked against per-series bounds and step limits. Values that fail aren't stored and are raised for review, and a single bad file never aborts a run. For example, a misread cell in a PBS price PDF is dropped rather than published.
- Cross-validate: derived figures are checked against the publisher's own derived figures. For example, CPI year-on-year computed from the index matches PBS's published YoY to within 0.05 percentage points.
- Version: when a publisher revises a value, the previous value is kept. See revision vintages.
- Data-quality sweep (twice a day): some glitches only show once a point has neighbours. Nothing is silently discarded; every change is kept in an audit table and the revision history.
- Quarantined: isolated fund-NAV spikes (e.g. a NAV of 1.00 between two days of ~1,180), non-positive NAVs, impossible debt-security prices (e.g. a spreadsheet date serial where a price should be), and impossible auction yields.
- Corrected: unambiguous unit slips in SBP level series, where a single point is published at 1,000x or 1,000,000x its usual scale and rescaling it lands exactly between its neighbours. Percent and index series are never altered.
- Reconcile with the source: stored history is re-read from the publisher and compared point by point. Every SBP EasyData series is re-pulled in full on a rolling cycle. PBS CPI, CPI by group, LSM and weekly SPI (every annexure PBS still hosts), MUFAP PKRV/PKISRV curves and fund NAV histories, PTA indicators, the SBP payment-systems and SME reviews, and a sample of AMIS mandi prices are re-parsed from the original files. A value that no longer matches is either a revision we missed (reloaded) or our own parsing error (fixed at the root and corrected). Unusual values the detectors flag are settled the same way, against the source, not by guesswork.
- Monitor: a public status page shows freshness per module against each source's real release calendar.
#Notes on single values
Sometimes a publisher prints a value that looks wrong: a single month at 1,000 times its neighbours, or a ratio that jumps for one period. When the publisher really does print it, PakDataHub keeps it, because the official figure is the official figure. The point carries a note instead. Notes are returned in meta.notes on series responses (see series) and shown on the series page:
"meta": { "...": "...",
"notes": [ { "date": "2019-08-31", "dims": {}, "kind": "as_published",
"note": "As published by SBP (EasyData TS_GP_FI_REPATFI_M.PRC1710), re-checked at the source. About 100 times below the periods either side (32.2238 and 43.5914)." } ] }
Notes are only written for values confirmed at the source and far outside their neighbours (100 times or more). A note says "suggests a unit slip" only when dividing by an exact 1,000 or 1,000,000 puts the value between its neighbours. Series that are lumpy by nature (twice-yearly dividend payments, sporadic country-level transfers) aren't annotated.
#PakDataHub vs going to each source directly
The official portals are authoritative, and PakDataHub is built on them. What PakDataHub adds:
| Official portals (SBP EasyData, PBS, PTA, MUFAP) | PakDataHub | |
|---|---|---|
| Coverage | One institution each | SBP + PBS + PTA + MUFAP in one catalog |
| Access | Separate sites and formats: API (EasyData, sign-in required), PDFs, Excel, web tables | One REST API, one key, JSON or CSV |
| Identifiers | Source codes (e.g. TS_GP_ER_FAERPKR_M.E00220) |
Readable, stable ids (fx.rate.avg.usd), with the source code kept for traceability |
| Units | Scale often unstated | Scale labelled (usd_mn, pkr_bn, …) |
| Price and fund data | PDFs (SPI) and web tables (MUFAP) | Clean series: 30 items × 17 cities, 584 funds with NAV history |
| Extras | - | Server-side transforms, revision vintages, webhooks, fund analytics |
If you need a single series once, the official portal is fine. If you're building a product, model or dashboard that spans institutions, PakDataHub saves you the collection, cleaning and upkeep. The numbers are the same.
#What PakDataHub doesn't do
- It doesn't produce its own estimates or forecasts. Every value is published.
- The one exception is the clearly labelled derived layer (
source: PakDataHub, with aderivedobject giving the formula and inputs): real interest rates, spreads, import cover, essentials inflation and grocery-basket cost by city, fund-category yields, the weekly cost-of-living index (cost_of_living.*) and SPI national averages. Fund analytics and server-side transforms are computed the same way, on request. - It doesn't cover PSX equities. For those, see pypsx.com.