Docs
Documentation
One REST API for Pakistan’s official economic and financial data. Start with the quick start, look up any endpoint, or find the dataset you need.
# your first call
curl -H "X-API-Key: pk_live_xxx" "https://api.pakdatahub.com/v1/series/fx.rate.avg.usd/latest"
For AI agents: every page is available as raw Markdown — append .md to its URL. Index at /docs/llms.txt, all pages in one file at /llms-full.txt, guidance at /AGENTS.md.
Introduction
From zero to your first call: keys, the data model, errors and plans.
API reference
Every endpoint, with parameters, response schemas and real examples.
- API reference→
- Catalog→
- Search→
- Series→
- Transforms→
- Revision vintages→
- Commodities→
- Wholesale prices API→
- Mutual funds→
- Fund analytics→
- AMCs (asset managers)→
- Debt securities→
- Auctions→
- External trade→
- Customs tariff and valuations→
- Electricity distribution companies and tariffs→
- Release calendar→
- Status→
- Usage→
- Account & keys→
- Webhooks→
- Auth (signup & sessions)→
- Billing→
Datasets
What exists: each dataset with real, callable series ids.
- Data dictionary & coverage→
- Exchange rates (forex)→
- Interest rates & yields→
- Inflation & prices→
- Commodity prices (SPI)→
- Wholesale (mandi) prices - Punjab and Sindh→
- Cotton arrivals - by district, every fortnight→
- River flows and reservoirs - every dam, barrage and gauge, daily→
- External sector→
- Trade by product and country→
- Ports - Port Qasim and Karachi Port, ship by ship, every day→
- Customs tariff and valuation rulings→
- Money & banking→
- Real economy→
- Public finance→
- Debt→
- Population & society→
- Telecom (PTA)→
- Digital payments & SME→
- Energy & fuel→
- Electricity distribution companies - losses, recovery, outages and tariffs, by company→
- Provinces & districts→
- Mutual funds (MUFAP)→
- Debt securities (MUFAP)→
- Derived indicators→
Use cases
Workflows for fintech teams and macro researchers.
- For fintech & lending teams→
- For macro researchers→
- Banks, treasury & ALM→
- Credit risk & IFRS 9 macro scenarios→
- Asset managers, wealth & robo-advisors→
- Remittance & FX apps→
- Journalists & data storytelling→
- Students & academic research→
- Policy, development & NGOs→
- FMCG, retail & supply chain→
- Excel, Google Sheets & Power BI→
- AI agents & LLM apps→
- Equity & sector analysts→
- Startups & market sizing→
Resources
Changelog.