Midland Bank Exchange Rate API: BDT Buy and Sell Rates as JSON

Reviewed by Madhushan, Fintech Developer — November 2026

Midland Bank is a private commercial bank in Bangladesh, founded in 2013. Its FX rate page shows the treasury division daily exchange-rate sheet with TT clean, TT doc and OD buying and TT & OD and BC selling rates for 9 currencies. This guide shows how to read that board as JSON: what the rates mean, how they compare with the Bangladesh Bank official rate and with other banks in Bangladesh, and the calls that return them.

What the Midland Bank board shows

Spreads across the board

On the 15 November 2026 board the tightest spreads were USD (1.12%), AUD (1.24%), CAD (1.68%) and the widest EUR (2.89%), GBP (2.60%), CHF (2.42%). 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 Midland Bank and other banks in Bangladesh

USD on the 23 boards AllRatesToday reads in Bangladesh, all captured on 15 November 2026 (the Bangladesh Bank official rate was 124.75):

BankBuySellSpreadMid vs official
Dutch-Bangla Bank123.75124.950.96%-0.32%
Standard Chartered Bangladesh123.79124.990.96%-0.29%
Eastern Bank PLC123.99124.990.80%-0.21%
BRAC Bank PLC123.99124.990.80%-0.21%
Prime Bank PLC123.79124.990.96%-0.29%
City Bank PLC123.78124.980.96%-0.30%
AB Bank PLC124.2125.20.80%-0.04%
Pubali Bank PLC123.49124.991.21%-0.41%
Trust Bank123.5125.11.29%-0.36%
Bank Asia123.9125.10.96%-0.20%
Bangladesh Commerce Bank122.65123.650.81%-1.28%
BASIC Bank124124.950.76%-0.22%
United Commercial Bank123.75125.151.13%-0.24%
Midland Bank123.6124.991.12%-0.36%
The Premier Bank123.95124.950.80%-0.24%
Standard Islami Bank123.75124.750.81%-0.40%
EXIM Bank Bangladesh123.751251.00%-0.30%
NRB Bank123.6125.351.41%-0.22%
NRBC Bank124.02125.120.88%-0.14%
Mutual Trust Bank123.7125.131.15%-0.27%
Jamuna Bank125.5126.50.79%+1.00%
Mercantile Bank125126.51.19%+0.80%
Shimanto Bank123.99124.990.80%-0.21%

Midland Bank had the 17th narrowest USD spread of the 23. One call to /api/v1/bank-rates/bd 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/bd/midlandbd" \
  -H "Authorization: Bearer art_live_your_key"

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

{
  "bank": "midlandbd",
  "name": "Midland Bank",
  "country": "bd",
  "quote_ccy": "BDT",
  "bank_updated_at": "November 11, 2026",
  "basis": "TT clean buy / TT & OD sell",
  "captured_at": "2026-11-15T06:23:02.869Z",
  "rates": [
    {"ccy":"AED","buy":33.6555,"sell":34.2757,"mid":33.9656,"spread_pct":1.826,"official":null,"vs_official_pct":null},
    {"ccy":"AUD","buy":85.0455,"sell":86.1056,"mid":85.57555,"spread_pct":1.239,"official":85.4288,"vs_official_pct":0.172},
    {"ccy":"CAD","buy":87.0748,"sell":88.5459,"mid":87.81035,"spread_pct":1.675,"official":87.5377,"vs_official_pct":0.311},
    … 6 more currencies
  ],
  "disclaimer": "…",
  "attribution": { … }
}

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

curl "https://allratestoday.com/api/v1/bank-rates/bd/midlandbd?ccy=USD" \
  -H "Authorization: Bearer art_live_your_key"
{
  "bank": "midlandbd",
  "name": "Midland Bank",
  "country": "bd",
  "quote_ccy": "BDT",
  "bank_updated_at": "November 11, 2026",
  "basis": "TT clean buy / TT & OD sell",
  "captured_at": "2026-11-15T06:23:02.869Z",
  "ccy": "USD",
  "buy": 123.6,
  "sell": 124.99,
  "mid": 124.295,
  "spread_pct": 1.118,
  "official": 124.75,
  "vs_official_pct": -0.365,
  "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 Midland Bank on its own website, collected by AllRatesToday",
    "bank_url": "https://www.midlandbankbd.net/fx-rate/",
    "url": "https://allratestoday.com/bank-exchange-rate-api/bd/midlandbd/",
    "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/bd/midlandbd?date=2026-11-11" \
  -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/bd/midlandbd/history?ccy=USD&from=2026-11-11&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' });

// Midland Bank's USD row
const r = await client.bankRates('bd', { bank: 'midlandbd', ccy: 'USD' });
console.log(`Midland Bank buys USD at ${r.buy}, sells at ${r.sell} BDT`);

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

Python

import requests

r = requests.get(
    "https://allratestoday.com/api/v1/bank-rates/bd/midlandbd",
    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 Bangladesh Bank rate is the one tax, accounting and customs rules in Bangladesh name; nobody transacts at it. Midland 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 Bangladesh Bank endpoint when a rule asks for the official rate.

FAQ

Where do the Midland Bank rates come from?

From the bank's own public rates page (https://www.midlandbankbd.net/fx-rate/), read hourly. AllRatesToday does not change the numbers: each row is the buy and sell price Midland Bank shows, with the mid, the spread and the Bangladesh Bank rate added.

Are these the official BDT exchange rates?

No. They are Midland Bank's retail prices for customers. The official rate in Bangladesh is the Bangladesh Bank 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 Midland 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 Midland Bank rates for a past date?

Yes, from 11 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.

Midland Bank rates, as JSON

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

Get your free API key

Related