Central Bank of Sri Lanka Exchange Rate API
Official Central Bank of Sri Lanka (Sri Lanka) daily exchange rates as JSON: 54 currencies, history back to 2010. The published LKR rates required for tax, audits, and compliant invoicing.
About Central Bank of Sri Lanka
The Central Bank of Sri Lanka is Sri Lanka's monetary authority. It publishes daily indicative exchange rates for the rupee across roughly 55 currencies — one of the broadest central-bank tables anywhere, and the standard rupee reference in Sri Lankan banking and reporting.
- Official website: www.cbsl.gov.lk
- Official rate publication: Daily indicative exchange rates
Quick start
One request for the pair you need — USD to LKR at the official Central Bank of Sri Lanka rate:
curl "https://allratestoday.com/api/v1/central-bank/cbsl/latest?source=USD&target=LKR" \
-H "Authorization: Bearer art_live_your_key" Or the bank's full published table:
curl "https://allratestoday.com/api/v1/central-bank/cbsl/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/cbsl/history?source=USD&target=LKR&from=2025-01-01" \
-H "Authorization: Bearer art_live_your_key" Latest published rates (2026-08-11)
The most recent table as published by Central Bank of Sri Lanka — exactly what the /latest endpoint returns right now. Values are LKR per 1 unit of each currency:
Download this table: Excel (.xlsx) CSV (free account required)
| Base | Quote | Type | Rate |
|---|---|---|---|
AED | LKR | indicative | 91.2614 |
AUD | LKR | indicative | 236.5194 |
BDT | LKR | indicative | 2.7125 |
BHD | LKR | indicative | 889.0155 |
BND | LKR | indicative | 261.8162 |
BRL | LKR | indicative | 65.5898 |
CAD | LKR | indicative | 240.5478 |
CHF | LKR | indicative | 413.678 |
CNH | LKR | indicative | 49.6958 |
CNY | LKR | indicative | 49.6958 |
CZK | LKR | indicative | 15.9497 |
DKK | LKR | indicative | 51.7505 |
EGP | LKR | indicative | 6.7064 |
EUR | LKR | indicative | 386.8581 |
GBP | LKR | indicative | 452.7591 |
GHS | LKR | indicative | 28.4984 |
HKD | LKR | indicative | 42.725 |
HUF | LKR | indicative | 1.061 |
IDR | LKR | indicative | 0.0188 |
INR | LKR | indicative | 3.5175 |
JOD | LKR | indicative | 473.1837 |
JPY | LKR | indicative | 2.1044 |
KES | LKR | indicative | 2.5916 |
KRW | LKR | indicative | 0.2368 |
KWD | LKR | indicative | 1085.2218 |
MMK | LKR | indicative | 0.1594 |
MOP | LKR | indicative | 41.4804 |
MUR | LKR | indicative | 7.1309 |
MVR | LKR | indicative | 21.9334 |
MYR | LKR | indicative | 81.8807 |
NGN | LKR | indicative | 0.2461 |
NOK | LKR | indicative | 35.3024 |
NPR | LKR | indicative | 2.1991 |
NZD | LKR | indicative | 197.2336 |
OMR | LKR | indicative | 870.6353 |
PGK | LKR | indicative | 77.4655 |
PHP | LKR | indicative | 5.493 |
PKR | LKR | indicative | 1.2062 |
PLN | LKR | indicative | 89.9006 |
QAR | LKR | indicative | 91.9549 |
RON | LKR | indicative | 73.7846 |
RUB | LKR | indicative | 4.0629 |
SAR | LKR | indicative | 89.2733 |
SBD | LKR | indicative | 41.6322 |
SCR | LKR | indicative | 23.5135 |
SEK | LKR | indicative | 35.3076 |
SGD | LKR | indicative | 261.8162 |
THB | LKR | indicative | 10.1534 |
TWD | LKR | indicative | 10.402 |
USD | LKR | indicative | 335.2033 |
VND | LKR | indicative | 0.0128 |
XAU | LKR | indicative | 1484012.0498 |
ZAR | LKR | indicative | 20.7033 |
ZMW | LKR | indicative | 17.899 |
Node.js / TypeScript client
A dedicated zero-dependency npm package wraps these endpoints — cbsl-exchange-rate:
npm install cbsl-exchange-rate import { getRate } from 'cbsl-exchange-rate';
const pair = await getRate('USD', 'LKR', { 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 Central Bank of Sri Lanka rate?
Live market rates move continuously, but tax filings, customs declarations, audits, and statutory accounting in Sri Lanka and beyond typically require the official rate published by Central Bank of Sri Lanka 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 LKR) and explicitly flagged "derived": true — so what the bank printed and what was computed are never confused.
Endpoints
GET /api/v1/central-bank/cbsl/latest— latest table or single pair (all plans)GET /api/v1/central-bank/cbsl/{YYYY-MM-DD}— the table for any date (paid plans)GET /api/v1/central-bank/cbsl/history— time series, up to 5,000 rows (paid plans)GET /api/v1/central-bank/cbsl/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 Central Bank of Sri Lanka exchange rates?
Yes — this one. Official daily LKR rates as clean JSON, latest table on every plan including free.
How often are the rates updated?
Central Bank of Sri Lanka publishes once per business day; the API ingests each new table shortly after publication (latest: 2026-08-11).
Are these the official rates?
Yes — ingested from Central Bank of Sri Lanka's own published data, served unmodified with the bank's publication date. Anything computed rather than published is flagged derived.
Central Bank of Sri Lanka rates, one API key
Latest table on every plan. History back to 2010 on paid plans. No credit card to start.
Get Free API Key Read the Docs