Skip to main content

Overview

Pakistan Forex & Commodities Data API

Welcome to the definitive source for Pakistan Forex and Local Commodity data. Our high-performance REST APIs provide institutional-grade access to currency exchange rates and physical commodity pricing, essential for treasury management, cross-border trade analysis, and inflationary tracking in the Pakistani market.

Whether you are building a currency converter, a trade finance platform, or an agricultural supply chain dashboard, our documentation provides the tools to integrate real-time open market rates, SBP revaluation benchmarks, and national commodity averages.

Data Pipeline: From Market Fixings to Your App

Our engine serves as a standardized bridge between the interbank market, the State Bank of Pakistan (SBP), and regional wholesale markets:

  • Official Currency Benchmarks: We ingest daily fixings for the Daily Weighted Average Rates and SBP Mark-to-Market (M2M) rates.
  • Open Market Aggregation: Daily data is captured from leading exchange houses to provide a comprehensive view of the retail forex market.
  • Commodity Price Tracking: We aggregate national average prices for essential commodities, providing both a bird's-eye view and regional granularity.

API Categorization

To streamline your integration, our forex and commodity endpoints are organized into the following two functional modules:

1. Forex

Access a complete suite of currency valuation metrics driven by both market forces and regulatory reporting.

  • Open Market: Daily and historical retail exchange rates for major global currencies against the PKR.
  • M2M Revaluation Rate: Daily Mark-to-Market rates provided for institutional accounting and portfolio revaluation.
  • Real Effective Exchange Rate (REER): Track the weighted average of the PKR relative to a basket of major currencies, adjusted for inflation.
  • Daily Weighted Average Rates: Access the official interbank weighted average rates as reported by the State Bank of Pakistan.

2. Local Commodities

Monitor the "real-economy" through the pricing of essential physical goods. Our API tracks a comprehensive basket of commodities across Pakistan, including:

  • Essential Food Items: Wheat, Flour, Rice (Basmati/Irri), Sugar, Pulses (Mash, Masoor, Gram), Milk, and Poultry.
  • Energy & Fuel: Petrol (Super), High-Speed Diesel, Kerosene Oil, and Gas Charges across different consumption slabs.
  • Industrial & Construction: Cement (Stock and local rates) and basic raw materials.
  • Daily Essentials: Edible Oils (Ghee, Cooking Oil), Vegetables (Onions, Potatoes, Tomatoes), and Tea.

This module provides Price by Commodity for national averages and Price by Region to analyze localized disparities across all major trade hubs in Pakistan.

Data Synchronization & Freshness

Forex and commodity data follow specific intraday and periodic update cycles:

  • Forex Rates: Open market rates and interbank rates are updated daily, while official SBP revaluation and weighted average rates are typically refreshed by 5:00 PM PKT.
  • REER Updates: The Real Effective Exchange Rate is updated monthly following official disclosures from the State Bank.
  • Commodity Pricing: Price data is refreshed in alignment with the weekly reporting cycles of the Pakistan Bureau of Statistics (PBS) and provincial market committees, ensuring your application reflects the most recent wholesale and retail benchmarks.

Note: All revaluation data is sourced and computed in alignment with SBP guidelines to ensure compliance for financial institutions and corporate treasuries.

Available Endpoints

API NameDescription
Open MarketDaily open market exchange rates for major global currencies against PKR
M2M Revaluation RateDaily Mark-to-Market revaluation rates from SBP
Real Effective Exchange Rate (REER)Weighted average of PKR relative to major trading partner currencies
Daily Weighted Average RatesOfficial interbank weighted average forex rates from SBP
Price by CommodityNational average prices for essential commodities across Pakistan
Price by RegionRegional commodity pricing data across all major trade hubs