Bank of Botswana Exchange Rate API
Official Bank of Botswana (Botswana) daily exchange rates as JSON: 7 currencies, history back to 2026. The published BWP rates required for tax, audits, and compliant invoicing.
About Bank of Botswana
The Bank of Botswana publishes daily reference rates for the pula against seven currencies, with the pula managed under a crawling-band peg to a basket of the South African rand and the IMF's SDR. The bank quotes foreign currency per pula — this feed serves both directions — and its daily table is the official reference for Botswana's banks and diamond-led trade.
- Official website: www.bankofbotswana.bw
- Official rate publication: Exchange rates
Quick start
One request for the pair you need — USD to BWP at the official Bank of Botswana rate:
curl "https://allratestoday.com/api/v1/central-bank/bob/latest?source=USD&target=BWP" \
-H "Authorization: Bearer art_live_your_key" Or the bank's full published table:
curl "https://allratestoday.com/api/v1/central-bank/bob/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/bob/history?source=USD&target=BWP&from=2025-01-01" \
-H "Authorization: Bearer art_live_your_key" Latest published rates (2026-08-24)
The most recent table as published by Bank of Botswana — exactly what the /latest endpoint returns right now. Values are BWP per 1 unit of each currency:
Download this table: Excel (.xlsx) CSV (paid plan required)
One row per currency per publication date. Up to one year per download. Billed as one API call per currency per month of data.
| Base | Quote | Type | Rate |
|---|---|---|---|
BWP | CNH | reference | 0.5153 |
BWP | EUR | reference | 0.0656 |
BWP | GBP | reference | 0.0562 |
BWP | JPY | reference | 12.18 |
BWP | USD | reference | 0.0766 |
BWP | XDR | reference | 0.0558 |
BWP | ZAR | reference | 1.2268 |
Node.js / TypeScript client
A dedicated zero-dependency npm package wraps these endpoints — bob-exchange-rate:
npm install bob-exchange-rate import { getRate } from 'bob-exchange-rate';
const pair = await getRate('USD', 'BWP', { 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 Bank of Botswana rate?
Live market rates move continuously, but tax filings, customs declarations, audits, and statutory accounting in Botswana and beyond typically require the official rate published by Bank of Botswana 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 BWP) and explicitly flagged "derived": true — so what the bank printed and what was computed are never confused.
Endpoints
GET /api/v1/central-bank/bob/latest— latest table or single pair (all plans)GET /api/v1/central-bank/bob/{YYYY-MM-DD}— the table for any date (paid plans)GET /api/v1/central-bank/bob/history— time series, up to 5,000 rows (paid plans)GET /api/v1/central-bank/bob/availability— publication calendar: the dates the bank actually published (all plans)
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 Bank of Botswana exchange rates?
Yes — this one. Official daily BWP rates as clean JSON, latest table on every plan including free.
How often are the rates updated?
Bank of Botswana publishes once per business day; the API ingests each new table shortly after publication (latest: 2026-08-24).
Are these the official rates?
Yes — ingested from Bank of Botswana's own published data, served unmodified with the bank's publication date. Anything computed rather than published is flagged derived.
Bank of Botswana rates, one API key
Latest table on every plan. History back to 2026 on paid plans. No credit card to start.
Get Free API Key Read the Docs