State Bank of Pakistan Exchange Rate API

Official State Bank of Pakistan rates for 10 Sept 2026: 1 USD = 277.35 PKR, 1 EUR = 322.73 PKR. All 35 currencies published, history back to 2017. Free JSON API for tax, audits, and compliant invoicing.

Pakistan flagState Bank of Pakistan publishes official daily exchange rates — 35 currencies against the PKR — and this API serves them as JSON, with history back to 2017. The latest table is on every plan. Get your API key.

About State Bank of Pakistan

The State Bank of Pakistan publishes Mark-to-Market Revaluation Exchange Rates each business evening — the rates at which authorized dealers must revalue their foreign currency positions, compiled from the closing interbank market. Covering 35 currencies against the rupee, they are the official reference for Pakistani accounts, audits and customs valuation.

Quick start

One request for the pair you need — USD to PKR at the official State Bank of Pakistan rate:

curl "https://allratestoday.com/api/v1/central-bank/sbp/latest?source=USD&target=PKR" \
  -H "Authorization: Bearer art_live_your_key"

Or the bank's full published table:

curl "https://allratestoday.com/api/v1/central-bank/sbp/latest" \
  -H "Authorization: Bearer art_live_your_key"

On paid plans, any historical date or a time series:

curl "https://allratestoday.com/api/v1/central-bank/sbp/history?source=USD&target=PKR&from=2025-01-01" \
  -H "Authorization: Bearer art_live_your_key"

Latest published rates (2026-09-10)

The most recent table as published by State Bank of Pakistan — exactly what the /latest endpoint returns right now. Values are PKR per 1 unit of each currency:

Download this table: Excel (.xlsx) CSV

Download history:
Choose currencies: USD
Excel (.xlsx) CSV

One row per currency per publication date. Up to one year per download. Billed as one API call per currency per month of data.

BaseQuoteTypeRate
AED PKR reference 75.5173
ARS PKR reference 0.1832
AUD PKR reference 200.0264
BDT PKR reference 2.2476
BHD PKR reference 735.6336
BRL PKR reference 54.3322
CAD PKR reference 200.8707
CHF PKR reference 342.3679
CNH PKR reference 41.3613
CNY PKR reference 41.3567
DKK PKR reference 43.1751
EUR PKR reference 322.7271
GBP PKR reference 375.7429
HKD PKR reference 35.3711
IDR PKR reference 0.0158
INR PKR reference 2.9076
JPY PKR reference 1.8056
KRW PKR reference 0.2066
KWD PKR reference 904.4587
KZT PKR reference 0.6155
LKR PKR reference 0.8445
MXN PKR reference 16.4112
MYR PKR reference 68.2546
NOK PKR reference 30.0796
NZD PKR reference 162.1679
OMR PKR reference 720.3861
QAR PKR reference 76.0859
RUB PKR reference 3.2866
SAR PKR reference 73.866
SEK PKR reference 28.9003
SGD PKR reference 219.3288
THB PKR reference 8.4276
TRY PKR reference 5.7192
USD PKR reference 277.3522
ZAR PKR reference 17.2797

Node.js / TypeScript client

A dedicated zero-dependency npm package wraps these endpoints — sbp-exchange-rate:

npm install sbp-exchange-rate
import { getRate } from 'sbp-exchange-rate';

const pair = await getRate('USD', 'PKR', { apiKey: 'art_live_...' });
console.log(pair.rate, pair.rate_date);

Zero dependencies, TypeScript types included, and it runs anywhere fetch exists — Node 18+, Bun, Deno, and edge runtimes.

Full reference — installation, all four functions, response shapes, error codes: sbp-exchange-rate documentation.

Why use the official State Bank of Pakistan rate?

Live market rates move continuously, but tax filings, customs declarations, audits, and statutory accounting in Pakistan and beyond typically require the official rate published by State Bank of Pakistan for a given date — a fixed, citable number that never changes after publication. This API serves those published tables with the bank's own rate_date on every response; weekends and holidays return the most recent published date, which is the rate compliance rules require you to apply.

If a pair isn't in the bank's published table, the API computes it from that table (inverse or cross via PKR) and marks it "derived": true — published and computed values are never silently mixed.

Endpoints

Full parameter reference in the API documentation. Every request counts toward your plan's monthly quota — rates change once per business day, so caching a published table locally makes a small quota go far.

Frequently asked questions

Can I get State Bank of Pakistan exchange rates via an API?

Yes — this API serves the bank's official daily PKR rates as JSON, and the latest table is on every plan, free included.

When do new rates appear here?

Once per business day, per State Bank of Pakistan's own schedule; ingestion follows within the hour (latest table: 2026-09-10).

Are these the official rates?

Yes — ingested from State Bank of Pakistan's own published data, served unmodified with the bank's publication date. Anything computed rather than published is flagged derived.

State Bank of Pakistan rates, one API key

Latest table on every plan. History back to 2017 on paid plans. No credit card to start.

Get Free API Key Read the Docs