State Bank of Pakistan Exchange Rate API

Official State Bank of Pakistan (Pakistan) daily exchange rates as JSON: 35 currencies, history back to 2017. The published PKR rates required for tax, audits, and compliant invoicing.

Pakistan flagState Bank of Pakistan official daily exchange rates as JSON: 35 currencies against the PKR, history back to 2017. Latest table 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-08-13)

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.

BaseQuoteTypeRate
AED PKR reference 75.5989
ARS PKR reference 0.186
AUD PKR reference 195.6615
BDT PKR reference 2.2619
BHD PKR reference 736.4293
BRL PKR reference 53.4867
CAD PKR reference 199.0125
CHF PKR reference 341.5367
CNH PKR reference 41.1526
CNY PKR reference 41.1623
DKK PKR reference 42.8023
EUR PKR reference 319.9803
GBP PKR reference 374.2613
HKD PKR reference 35.3866
IDR PKR reference 0.0155
INR PKR reference 2.9096
JPY PKR reference 1.7421
KRW PKR reference 0.1951
KWD PKR reference 903.6688
KZT PKR reference 0.5965
LKR PKR reference 0.8333
MXN PKR reference 16.258
MYR PKR reference 67.9023
NOK PKR reference 29.1895
NZD PKR reference 161.9268
OMR PKR reference 721.1466
QAR PKR reference 76.1578
RUB PKR reference 3.3188
SAR PKR reference 73.9499
SEK PKR reference 29.0067
SGD PKR reference 216.8057
THB PKR reference 8.3782
TRY PKR reference 5.8117
USD PKR reference 277.6522
ZAR PKR reference 17.1599

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.

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.

Pairs the bank doesn't print directly are resolved from its table (inverse or cross via PKR) and explicitly flagged "derived": true โ€” so what the bank printed and what was computed are never confused.

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

Is there an API for State Bank of Pakistan exchange rates?

Yes โ€” this one. Official daily PKR rates as clean JSON, latest table on every plan including free.

How often are the rates updated?

State Bank of Pakistan publishes once per business day; the API ingests each new table shortly after publication (latest: 2026-08-13).

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