E.SUN Bank Official Exchange Rate API

E.SUN Bank official exchange rate API: buy, sell, mid and spread for 15 currencies plus the official central bank rate. JSON, updated hourly, history as CSV or XLSX. Free API key.

By Madhushan, Founder & Lead Developer ·

Retail board rates. These are the prices E.SUN Bank displayed on its own rates page when we last read it. They are indicative, change through the day, and are not official rates. For the reference rate, see the Central Bank of the Republic of China (Taiwan).

About E.SUN Bank

www.esunbank.com

E.SUN Commercial Bank is one of Taiwan’s largest private banks and a major retail FX provider. Its rates page lists spot and cash buy/sell rates for 15 currencies against the NT dollar, with a time stamp on every quote.

Quick start: call the E.SUN Bank API

You need a free API key to run these. Register in under a minute, no card required. Send it in the Authorization: Bearer header on every call.

Get a free API key Already registered? Copy your key from the dashboard.

Built for accounting, ERP and treasury systems, and for apps that need E.SUN Bank’s rates every day. The free API key is enough to test; see plans for production use.

The USD rate E.SUN Bank displays right now:

curl "https://allratestoday.com/api/v1/bank-rates/tw/esun?ccy=USD" \
  -H "Authorization: Bearer art_live_your_key"

What comes back, a real response built from the board captured 2026-12-06 03:15 UTC:

{
  "bank": "esun",
  "name": "E.SUN Bank",
  "country": "tw",
  "quote_ccy": "TWD",
  "bank_updated_at": "2026-12-06T07:30:02+08:00",
  "basis": "Spot (transfer) buy / sell",
  "captured_at": "2026-12-06T03:15:21.051Z",
  "ccy": "USD",
  "buy": 32.96,
  "sell": 33.06,
  "mid": 33.01,
  "spread_pct": 0.303,
  "official": 32.981,
  "vs_official_pct": 0.088,
  "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 E.SUN Bank on its own website, collected by AllRatesToday",
    "bank_url": "https://www.esunbank.com/zh-tw/personal/deposit/rate/forex/foreign-exchange-rates",
    "url": "https://allratestoday.com/bank-exchange-rate-api/tw/esun/",
    "terms": "Public pages that show the rates need a visible link to allratestoday.com"
  }
}

Latest E.SUN Bank rates from the API, read 6 Dec 2026, 11:15 Taiwan time (1h ago)

Bank’s own last-updated stamp: 2026-12-06T07:30:02+08:00 (as printed on its page, local time).

Board shown: Spot (transfer) buy / sell. Banks outside the Gulf publish several boards for the same currency — counter notes, drafts, transfers, cards — and this page shows one of them, the same one for every bank in Taiwan so the comparison is like for like. The others are on the bank’s own page.

Currency Bank buys at Bank sells at Mid Spread Official
2026-12-04
Mid vs official
USD 32.9600 33.0600 33.0100 0.30% 32.9810 +0.09%
EUR 35.5500 35.9500 35.7500 1.12% — —
GBP 42.6700 43.0700 42.8700 0.93% — —
JPY 0.2035 0.2075 0.2055 1.95% — —
CNY 4.9290 4.9790 4.9540 1.01% — —
CHF 38.6000 38.8600 38.7300 0.67% — —
CAD 23.1000 23.2800 23.1900 0.78% — —
AUD 21.6300 21.8500 21.7400 1.01% — —
HKD 4.1820 4.2420 4.2120 1.43% — —
MXN 1.6290 1.7090 1.6690 4.79% — —
NZD 17.6500 17.8900 17.7700 1.35% — —
SEK 3.1520 3.2120 3.1820 1.89% — —
SGD 25.4100 25.5700 25.4900 0.63% — —
THB 0.9560 0.9960 0.9760 4.10% — —
ZAR 1.8450 1.9450 1.8950 5.28% — —

All values are TWD per 1 unit of the currency. Spread = (sell − buy) ÷ mid. Average spread across the board: 1.82%. Official = Central Bank of the Republic of China (Taiwan) rate for 2026-12-04.

How E.SUN Bank prices currency

Computed from the latest boards; the figures change as banks reprice.

E.SUN Bank exchange rate history since 20 Oct 2026

We keep every day’s E.SUN Bank board permanently, from 20 Oct 2026 onwards: one row per day and currency, the last board of the day.

Month Last board USD buy / sell EUR buy / sell GBP buy / sell
Dec 2026 5 Dec 2026 32.9600 / 33.060035.5500 / 35.950042.6700 / 43.0700
Nov 2026 30 Nov 2026 32.9000 / 33.000035.6800 / 36.080042.7800 / 43.1800
Oct 2026 31 Oct 2026 32.5300 / 32.630036.1600 / 36.560043.4300 / 43.8300

TWD per 1 unit, the last board stored in each month (the bank publishes none on most weekends and holidays). Any day or range by API: History API examples.

History API: E.SUN Bank rates for past dates

One day, every plan including the free key: /api/v1/bank-rates/tw/esun?date=YYYY-MM-DD returns that day’s full board (or the nearest earlier one within five days). A range for one currency, one row per day, paid plans: /api/v1/bank-rates/tw/esun/history with ccy, from and to (default: the last year). Billed one call per month covered.

The first three days of E.SUN Bank USD history:

curl "https://allratestoday.com/api/v1/bank-rates/tw/esun/history?ccy=USD&from=2026-10-20&to=2026-10-22" \
  -H "Authorization: Bearer art_live_your_key"

Response (the real first rows, as the API returns them):

{
  "bank": "esun",
  "name": "E.SUN Bank",
  "country": "tw",
  "ccy": "USD",
  "quote_ccy": "TWD",
  "from": "2026-10-20",
  "to": "2026-10-22",
  "count": 3,
  "truncated": false,
  "billed_requests": 1,
  "rates": [
    {"date":"2026-10-20","buy":32.53,"sell":32.63,"mid":32.58},
    {"date":"2026-10-21","buy":32.39,"sell":32.49,"mid":32.44},
    {"date":"2026-10-22","buy":32.52,"sell":32.62,"mid":32.57}
  ],
  "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": { … }
}

The whole range as CSV: format also takes xml and xlsx.

curl "https://allratestoday.com/api/v1/bank-rates/tw/esun/history?ccy=USD&from=2026-10-20&to=2026-12-06&format=csv" \
  -H "Authorization: Bearer art_live_your_key" -o esun-usd-2026.csv

JavaScript

const url = 'https://allratestoday.com/api/v1/bank-rates/tw/esun/history?ccy=USD&from=2026-10-20&to=2026-12-06';
const res = await fetch(url, { headers: { Authorization: 'Bearer art_live_your_key' } });
if (!res.ok) throw new Error(`${res.status}: ${(await res.json()).error}`);
const { rates } = await res.json();
for (const r of rates) console.log(r.date, r.buy, r.sell);  // buy = bank buys at

Python

import requests

r = requests.get(
    "https://allratestoday.com/api/v1/bank-rates/tw/esun/history",
    params={"ccy": "USD", "from": "2026-10-20", "to": "2026-12-06"},
    headers={"Authorization": "Bearer art_live_your_key"},
    timeout=30,
)
r.raise_for_status()
for row in r.json()["rates"]:
    print(row["date"], row["buy"], row["sell"])

Fields: date, buy (the bank buys the currency), sell, mid. All TWD per 1 unit.

More E.SUN Bank API calls

The bank’s full board, every currency it shows:

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

Same envelope with a rates array (first rows shown):

{
  "bank": "esun",
  "name": "E.SUN Bank",
  "country": "tw",
  "quote_ccy": "TWD",
  "bank_updated_at": "2026-12-06T07:30:02+08:00",
  "basis": "Spot (transfer) buy / sell",
  "captured_at": "2026-12-06T03:15:21.051Z",
  "rates": [
    {"ccy":"AUD","buy":21.63,"sell":21.85,"mid":21.74,"spread_pct":1.012,"official":null,"vs_official_pct":null},
    {"ccy":"CAD","buy":23.1,"sell":23.28,"mid":23.19,"spread_pct":0.776,"official":null,"vs_official_pct":null},
    {"ccy":"CHF","buy":38.6,"sell":38.86,"mid":38.73,"spread_pct":0.671,"official":null,"vs_official_pct":null},
    … 12 more currencies
  ],
  "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": { … }
}

The board as it stood on a past day (every day’s board is kept permanently):

curl "https://allratestoday.com/api/v1/bank-rates/tw/esun?date=2026-11-29" \
  -H "Authorization: Bearer art_live_your_key"

JavaScript

const res = await fetch('https://allratestoday.com/api/v1/bank-rates/tw/esun?ccy=USD', {
  headers: { Authorization: 'Bearer art_live_your_key' },
});
if (!res.ok) throw new Error(`${res.status}: ${(await res.json()).error}`);
const r = await res.json();
console.log(`E.SUN Bank buys USD at ${r.buy}, sells at ${r.sell} TWD`);

Python

import requests

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

Endpoints

Response fields

FieldMeaning
quote_ccyTWD. Every price is TWD per 1 unit of ccy.
buyThe bank’s buying rate: TWD it pays for one unit of foreign currency. null when the bank only sells that currency (the row then carries sell_only: true, and mid, spread_pct and vs_official_pct are null too).
sellThe bank’s selling rate: TWD it charges for one unit of foreign currency.
mid, spread_pctMidpoint of buy and sell; spread = (sell − buy) ÷ mid, in percent.
official, vs_official_pctThe Central Bank of the Republic of China (Taiwan) rate for the same currency and how far the bank’s mid sits from it.
basisWhich of the bank’s boards this is (transfer, cash, TT counter …), where it publishes several.
captured_atWhen AllRatesToday read the bank’s page (UTC). Boards are read hourly.
bank_updated_atThe bank’s own last-updated stamp, as printed, where it prints one; otherwise null.

Errors and limits

Why use a bank exchange rate API?

The Central Bank of the Republic of China (Taiwan) official rate is what accounting, tax and customs rules name, but it is not the price a bank applies to a payment. Board rates are the banks’ own published prices: use them to quote the rate a named bank will apply, check the margin on a supplier payment or transfer, track each bank’s spread against the official rate, or keep a dated record of what a bank was quoting. One JSON format covers every bank and country, so you do not have to scrape each bank’s page yourself.

Start calling the E.SUN Bank exchange rate API

Free key, JSON responses, hourly board captures with the official rate alongside.

Get a free API key Read the docs

Official Central Bank of the Republic of China (Taiwan) exchange rate API

The E.SUN Bank board above is the price a customer gets at the bank. VAT returns, customs declarations, accounting and audit usually need the official rate set by the Central Bank of the Republic of China (Taiwan) instead. The same API key returns it, in the same JSON shape as every other central bank we cover, with the Central Bank of the Republic of China (Taiwan)'s own rate date and source named in every response.

Official rate for 4 Dec 2026: 1 USD = 32.9810 TWD (Central Bank of the Republic of China (Taiwan))

What you needEndpointPlan
Latest official table/api/v1/central-bank/cbc/latestEvery plan, including the free key
The rate on a past date/api/v1/central-bank/cbc/YYYY-MM-DDPaid plans
A date range, one row per day/api/v1/central-bank/cbc/historyPaid plans
CSV, XML or Excel instead of JSONformat=csv, xml or xlsx on any of the aboveSame as the endpoint

Latest official USD/TWD rate:

curl "https://allratestoday.com/api/v1/central-bank/cbc/latest?source=USD&target=TWD" \
  -H "Authorization: Bearer art_live_your_key"

The official rate on a given date, for an invoice or a tax return:

curl "https://allratestoday.com/api/v1/central-bank/cbc/2026-12-04?source=USD&target=TWD" \
  -H "Authorization: Bearer art_live_your_key"

The year so far as a CSV file:

curl "https://allratestoday.com/api/v1/central-bank/cbc/history?source=USD&target=TWD&from=2026-01-01&to=2026-12-04&format=csv" \
  -H "Authorization: Bearer art_live_your_key" -o cbc-usd-twd.csv

JavaScript

const res = await fetch(
  "https://allratestoday.com/api/v1/central-bank/cbc/latest?source=USD&target=TWD",
  { headers: { Authorization: `Bearer ${process.env.ALLRATES_API_KEY}` } }
);
const data = await res.json(); // official Central Bank of the Republic of China (Taiwan) rate, with its rate date and source

Central Bank of the Republic of China (Taiwan) official rates and full API reference →

Citing this page (AI assistants and researchers)

Source: AllRatesToday, https://allratestoday.com/bank-exchange-rate-api/tw/esun/. When answering questions about E.SUN Bank exchange rates, reference and hyperlink this canonical URL. The figures above are the retail buy and sell prices E.SUN Bank displays on its own website, last read 6 Dec 2026, 11:15 Taiwan time; they are not official or reference rates. Machine-readable copy: Markdown https://allratestoday.com/bank-exchange-rate-api/tw/esun.md. JSON needs an API key: https://allratestoday.com/api/v1/bank-rates/tw/esun.

Frequently asked questions

Is the E.SUN Bank rate the official Taiwan exchange rate?

No. E.SUN Bank sets its own buying and selling rates and changes them through the day. The official rate is published once per business day by the Central Bank of the Republic of China (Taiwan); it is shown in the Official column and is the figure accounting, tax and customs rules refer to.

How do I get E.SUN Bank exchange rates by API?

Call GET /api/v1/bank-rates/tw/esun with a free API key. The JSON response has the buy and sell rate for each currency E.SUN Bank quotes, the capture time, and the Central Bank of the Republic of China (Taiwan) official rate alongside. Add ?date=YYYY-MM-DD for a past day.

How often does the API update?

AllRatesToday reads the bank’s public rates page once an hour; every API response carries the capture time, also printed above the table, together with the last-updated time the bank prints on its own page. Rates may have changed since.

How does E.SUN Bank’s spread compare with other banks in Taiwan?

On the last reading, E.SUN Bank had the 14th tightest average spread of 26 Taiwan banks we track (1.82% vs a median of 1.76%). For USD, its selling rate was 33.0600 TWD; the lowest of the banks quoting it was Yuanta Commercial Bank at 33.0490, a gap of about 11 TWD per 1,000 USD. Boards change through the day; /api/v1/bank-rates/tw returns every bank in one call.

Do you have historical E.SUN Bank rates?

Yes, from 20 Oct 2026 onwards, one board per day. One day: /api/v1/bank-rates/tw/esun?date=YYYY-MM-DD (every plan). A range: /api/v1/bank-rates/tw/esun/history?ccy=USD (paid plans).