Deutsche Bank Sri Lanka Exchange Rate API: LKR Buy and Sell Rates as JSON

Reviewed by Madhushan, Fintech Developer — November 2026

Deutsche Bank has operated a branch in Colombo since 1980. Its Sri Lanka page links a daily rate sheet with telegraphic-transfer buying and selling rates for 12 currencies and currency-note buying rates for the main ones. This guide shows how to read that board as JSON: what the rates mean, how they compare with the Central Bank of Sri Lanka official rate and with other banks in Sri Lanka, and the calls that return them.

What the Deutsche Bank board shows

Spreads across the board

On the 15 November 2026 board the tightest spreads were THB (2.54%), HKD (2.54%), INR (2.55%) and the widest SEK (2.56%), GBP (2.56%), SGD (2.55%). Spread is (sell − buy) ÷ mid: what a round trip through the bank costs, before any fees. The API returns it on every row as spread_pct, so you can rank currencies or alert when a bank widens its board.

USD at Deutsche Bank and other banks in Sri Lanka

USD on the 13 boards AllRatesToday reads in Sri Lanka, all captured on 15 November 2026 (the Central Bank of Sri Lanka official rate was 332.5):

BankBuySellSpreadMid vs official
National Development Bank3283372.71%0.00%
Nations Trust Bank327.03338.073.32%+0.01%
Seylan Bank3293362.10%0.00%
Commercial Bank of Ceylon328.5336.52.41%0.00%
Sampath Bank328.5336.52.41%0.00%
Hatton National Bank328.753362.18%-0.04%
People’s Bank328.78336.472.31%+0.04%
Amana Bank PLC330.1335.11.50%+0.03%
DFCC Bank PLC327.75337.252.86%0.00%
Cargills Bank PLC326.9338.243.41%+0.02%
HSBC Sri Lanka326.25338.83.77%+0.01%
Deutsche Bank Sri Lanka328.65337.152.55%+0.12%
Pan Asia Bank328.5336.52.41%0.00%

Deutsche Bank had the 8th narrowest USD spread of the 13. One call to /api/v1/bank-rates/lk returns every board in the table at once.

Get the board (REST)

You need an API key; the free key works. The full board:

curl "https://allratestoday.com/api/v1/bank-rates/lk/deutschelk" \
  -H "Authorization: Bearer art_live_your_key"

What comes back (the 15 November 2026 board, first three rows):

{
  "bank": "deutschelk",
  "name": "Deutsche Bank Sri Lanka",
  "country": "lk",
  "quote_ccy": "LKR",
  "bank_updated_at": "13-11-26",
  "basis": "Telegraphic transfer buy / sell",
  "captured_at": "2026-11-15T11:37:46.816Z",
  "rates": [
    {"ccy":"AUD","buy":223.68,"sell":229.46,"mid":226.57,"spread_pct":2.551,"official":226.467,"vs_official_pct":0.045},
    {"ccy":"CAD","buy":230.5,"sell":236.46,"mid":233.48,"spread_pct":2.553,"official":233.2037,"vs_official_pct":0.118},
    {"ccy":"CHF","buy":393.45,"sell":403.63,"mid":398.54,"spread_pct":2.554,"official":398.0627,"vs_official_pct":0.12},
    … 9 more currencies
  ],
  "disclaimer": "…",
  "attribution": { … }
}

One currency, with the row fields at the top level:

curl "https://allratestoday.com/api/v1/bank-rates/lk/deutschelk?ccy=USD" \
  -H "Authorization: Bearer art_live_your_key"
{
  "bank": "deutschelk",
  "name": "Deutsche Bank Sri Lanka",
  "country": "lk",
  "quote_ccy": "LKR",
  "bank_updated_at": "13-11-26",
  "basis": "Telegraphic transfer buy / sell",
  "captured_at": "2026-11-15T11:37:46.816Z",
  "ccy": "USD",
  "buy": 328.65,
  "sell": 337.15,
  "mid": 332.9,
  "spread_pct": 2.553,
  "official": 332.5018,
  "vs_official_pct": 0.12,
  "disclaimer": "Retail buy/sell rates as displayed on each bank’s own website at capture time, quoted as home currency per 1 unit of foreign currency. Indicative only: banks change these through the day, apply them at the counter or in-app, and they are not official or reference rates. For the rate a regulation names, use the central-bank endpoints.",
  "attribution": {
    "source": "Board rates published by Deutsche Bank Sri Lanka on its own website, collected by AllRatesToday",
    "bank_url": "https://country.db.com/sri-lanka/index?language_id=1",
    "url": "https://allratestoday.com/bank-exchange-rate-api/lk/deutschelk/",
    "terms": "Public pages that show the rates need a visible link to allratestoday.com"
  }
}

The board as it stood on a past day:

curl "https://allratestoday.com/api/v1/bank-rates/lk/deutschelk?date=2026-11-13" \
  -H "Authorization: Bearer art_live_your_key"

One currency over a date range, one row per day (paid plans; add &format=csv, xml or xlsx for a file):

curl "https://allratestoday.com/api/v1/bank-rates/lk/deutschelk/history?ccy=USD&from=2026-11-13&to=2026-11-15" \
  -H "Authorization: Bearer art_live_your_key"

JavaScript

npm install @allratestoday/sdk
import { AllRatesToday } from '@allratestoday/sdk';

const client = new AllRatesToday({ apiKey: 'art_live_your_key' });

// Deutsche Bank Sri Lanka's USD row
const r = await client.bankRates('lk', { bank: 'deutschelk', ccy: 'USD' });
console.log(`Deutsche Bank buys USD at ${r.buy}, sells at ${r.sell} LKR`);

// The board as it stood on a past day
const past = await client.bankRates('lk', { bank: 'deutschelk', date: '2026-11-13' });
console.log(past.snapshot_date, past.rates.length);

Python

import requests

r = requests.get(
    "https://allratestoday.com/api/v1/bank-rates/lk/deutschelk",
    headers={"Authorization": "Bearer art_live_your_key"},
    timeout=10,
)
r.raise_for_status()
for row in r.json()["rates"]:
    print(row["ccy"], row["buy"], row["sell"], row["spread_pct"])

Board rate or official rate?

The Central Bank of Sri Lanka rate is the one tax, accounting and customs rules in Sri Lanka name; nobody transacts at it. Deutsche Bank's board is the price a customer actually gets. The API puts both on every row: official is the central bank's rate for the same currency and vs_official_pct is how far the bank's mid sits from it. Use the board to show customers a real price, compare banks for a remittance, or keep a dated record of what the bank quoted; use the Central Bank of Sri Lanka endpoint when a rule asks for the official rate.

FAQ

Where do the Deutsche Bank Sri Lanka rates come from?

From the bank's own public rates page (https://country.db.com/sri-lanka/index?language_id=1), read hourly. AllRatesToday does not change the numbers: each row is the buy and sell price Deutsche Bank shows, with the mid, the spread and the Central Bank of Sri Lanka rate added.

Are these the official LKR exchange rates?

No. They are Deutsche Bank's retail prices for customers. The official rate in Sri Lanka is the Central Bank of Sri Lanka rate, which the API returns as official on each row where the central bank has one, and in full from the central-bank endpoint.

How often is the Deutsche Bank board updated?

AllRatesToday reads the page every hour. The bank's own last-updated stamp is returned as bank_updated_at, so you can tell a fresh read of an unchanged board from a new board.

Can I get Deutsche Bank rates for a past date?

Yes, from 13 November 2026 onward; every day's board is kept permanently. Add ?date=YYYY-MM-DD for one day: the response is the board captured that day, or the nearest earlier day within five days, with date_requested and snapshot_date added. For a range, /history?ccy=USD&from=…&to=… returns one row per day as JSON, CSV, XML or XLSX on paid plans.

Do I need an API key?

Yes. Commercial bank boards need an API key; any plan works, the free key included, and each call counts against the plan. Public pages or widgets that show the rates need a visible link to allratestoday.com.

Deutsche Bank Sri Lanka rates, as JSON

Free API key, hourly board captures, the official rate alongside.

Get your free API key

Related