Home Documentation Bank Rates Playground Pricing API Status Blog About FAQ Support

SARB Exchange Rate API: Official ZAR Rates as JSON

Reviewed by Madhushan, Fintech Developer — August 2026

South African Reserve Bank publishes official exchange rates — 23 currencies including major African crosses — and these are the published official rates used for tax filings, audits, and compliant invoicing in South Africa, not moving market prices. This guide shows how to pull them as JSON: via a REST endpoint or the zero-dependency sarb-exchange-rate npm package, with history back to 2000.

USD → ZAR — official South African Reserve Bank weighted-average rate
Weekly observations, Aug '25 – Aug '26 · ZAR per 1 USD
16.0017.00Aug '25Oct '25Feb '26May '26Aug '2616.392025-08-01: 18.29 ZAR2025-08-08: 17.71 ZAR2025-08-15: 17.54 ZAR2025-08-22: 17.67 ZAR2025-08-29: 17.75 ZAR2025-09-05: 17.70 ZAR2025-09-12: 17.40 ZAR2025-09-19: 17.33 ZAR2025-09-26: 17.45 ZAR2025-10-03: 17.25 ZAR2025-10-10: 17.22 ZAR2025-10-17: 17.47 ZAR2025-10-24: 17.35 ZAR2025-10-31: 17.31 ZAR2025-11-07: 17.38 ZAR2025-11-14: 17.11 ZAR2025-11-21: 17.29 ZAR2025-11-28: 17.16 ZAR2025-12-05: 16.93 ZAR2025-12-12: 16.84 ZAR2025-12-19: 16.76 ZAR2025-12-24: 16.67 ZAR2026-01-02: 16.54 ZAR2026-01-09: 16.55 ZAR2026-01-16: 16.38 ZAR2026-01-23: 16.18 ZAR2026-01-30: 15.92 ZAR2026-02-06: 16.16 ZAR2026-02-13: 16.04 ZAR2026-02-20: 16.15 ZAR2026-02-27: 15.89 ZAR2026-03-06: 16.62 ZAR2026-03-13: 16.89 ZAR2026-03-20: 16.78 ZAR2026-03-27: 17.13 ZAR2026-04-02: 16.96 ZAR2026-04-10: 16.46 ZAR2026-04-17: 16.38 ZAR2026-04-24: 16.63 ZAR2026-04-30: 16.78 ZAR2026-05-08: 16.43 ZAR2026-05-15: 16.67 ZAR2026-05-22: 16.47 ZAR2026-05-29: 16.27 ZAR2026-06-05: 16.28 ZAR2026-06-12: 16.27 ZAR2026-06-19: 16.48 ZAR2026-06-26: 16.45 ZAR2026-07-03: 16.21 ZAR2026-07-10: 16.31 ZAR2026-07-17: 16.48 ZAR2026-07-24: 16.86 ZAR2026-07-31: 16.52 ZAR2026-08-05: 16.39 ZAR
Source: South African Reserve Bank published rates · chart data from the AllRatesToday API (/api/v1/central-bank/sarb/history?source=USD&target=ZAR).

What the SARB publishes

Rates are the weighted average of the banks' actual foreign exchange transactions at around 10:30 SAST — a published, citable benchmark rather than a snapshot quote.

Why official rates, not market rates

A live mid-market feed answers "what is USD/ZAR trading at right now?" — the right tool for checkouts and dashboards. But accountants, auditors, and tax authorities ask a different question: "which rate were you required to use for this date?" That answer comes from the central bank's published rates, and it never changes after publication.

Get the latest rates (REST)

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

The response is the bank's most recent published data — every rate and the publication date. The latest rates are available on every plan, including the free tier (300 requests/month, no credit card).

The npm SDK

npm install sarb-exchange-rate
import { getRate, getLatestRates } from 'sarb-exchange-rate';

// One pair at the official South African Reserve Bank rate
const pair = await getRate('USD', 'ZAR', { apiKey: 'art_live_...' });
console.log(pair.rate, pair.rate_date);

// The bank's full published table
const table = await getLatestRates({ apiKey: 'art_live_...' });
console.log(table.rate_date, table.rates.length);

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

Historical rates for an invoice date

import { getRatesForDate, getHistory } from 'sarb-exchange-rate';

// The official rates for an invoice date — non-publication days return
// the most recent published date, flagged via published_on_requested_date.
const day = await getRatesForDate('2026-06-30', { apiKey: 'art_live_...' });

// Time series for one pair
const series = await getHistory(
  { source: 'USD', target: 'ZAR', from: '2026-01-01' },
  { apiKey: 'art_live_...' }
);

Historical dates and time series need a paid plan; the latest rates stay free.

Published vs derived pairs

If the SARB does not print a pair directly, the API resolves it from the bank's published rates — an inverse, or a cross rate via ZAR — and flags it derived: true with the method used. Official and computed values are never silently mixed, which is exactly the distinction an auditor will ask about.

FAQ

Does South African Reserve Bank have an official exchange rate API?

South African Reserve Bank publishes its official rates on its website, but not always in a developer-friendly form. AllRatesToday serves the bank's published rates as clean JSON — 23 currencies including major African crosses, with history back to 2000 — via REST or the sarb-exchange-rate npm package. The latest table is free.

How often do South African Reserve Bank rates update?

Once per business day. These are published reference rates, not moving market prices — the table changes when the bank publishes a new one, and every API response carries the bank's own publication date so you can cite it.

Can I get the South African Reserve Bank rate for a past date, like an invoice date?

Yes. The /central-bank/sarb/rates-for-date endpoint returns the official rates for any date back to 2000. Non-publication days resolve to the most recent published date and are flagged, so your audit trail stays honest. Historical dates require a paid plan; latest rates are free.

Official South African Reserve Bank rates, as JSON

The latest rates are free — 300 requests/month, no credit card.

Get your free API key

Related Articles