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.
About E.SUN Bank
www.esunbank.comE.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.
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)
| 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
- Spread: 1.82% on average across E.SUN Bank’s board , the 14th tightest of 26 Taiwan banks we track (median 1.76%). Wider than most local banks.
- Narrowest and widest spread:
USDhas the narrowest spread (0.30%);ZARthe widest (5.28%). - USD selling rate: 33.0600 TWD, about 11 TWD per 1,000 USD above Yuanta Commercial Bank, the lowest of 26 banks quoting it.
- Coverage: 15 currencies, against up to 16 at other Taiwan banks.
- USD since Oct 2026: the month-end selling rate went from 32.6300 to 33.0600 TWD (+1.32%, Dec 2026).
- Timestamp: E.SUN Bank prints its own update time on the page (2026-12-06T07:30:02+08:00).
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 | | | |
|---|---|---|---|---|
| Dec 2026 | 5 Dec 2026 | 32.9600 / 33.0600 | 35.5500 / 35.9500 | 42.6700 / 43.0700 |
| Nov 2026 | 30 Nov 2026 | 32.9000 / 33.0000 | 35.6800 / 36.0800 | 42.7800 / 43.1800 |
| Oct 2026 | 31 Oct 2026 | 32.5300 / 32.6300 | 36.1600 / 36.5600 | 43.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
GET /api/v1/bank-rates/tw— every covered bank in Taiwan, latest board each, plusofficial_sourceandofficial_date.GET /api/v1/bank-rates/tw/esun— one bank’s latest board.?ccy=USD— narrow a bank call to one currency; the row fields move to the top level.?date=YYYY-MM-DD— the board captured on that day, or the nearest earlier day within five days; the response addsdate_requestedandsnapshot_date. Every plan.GET /api/v1/bank-rates/tw/esun/history?ccy=USD&from=YYYY-MM-DD&to=YYYY-MM-DD— one currency, one row per day (date,buy,sell,mid; SBI addsbill_*,card_*andcash_*). Defaults to the last year;&format=csv,xmlorxlsx. Paid plans, one call per month covered. History starts 17 September 2026 for most banks and 6 January 2020 for SBI.
Response fields
| Field | Meaning |
|---|---|
quote_ccy | TWD. Every price is TWD per 1 unit of ccy. |
buy | The 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). |
sell | The bank’s selling rate: TWD it charges for one unit of foreign currency. |
mid, spread_pct | Midpoint of buy and sell; spread = (sell − buy) ÷ mid, in percent. |
official, vs_official_pct | The Central Bank of the Republic of China (Taiwan) rate for the same currency and how far the bank’s mid sits from it. |
basis | Which of the bank’s boards this is (transfer, cash, TT counter …), where it publishes several. |
captured_at | When AllRatesToday read the bank’s page (UTC). Boards are read hourly. |
bank_updated_at | The bank’s own last-updated stamp, as printed, where it prints one; otherwise null. |
Errors and limits
401— no key or an invalid key. Any plan’s key works, the free one included.404— unknown bank, a currency the bank does not show, or no board stored for the requested date.400—datenot inYYYY-MM-DDform, or in the future.- Each call counts against your plan. Responses can be cached for five minutes; past-day boards never change.
- Public pages or widgets that show these rates need a visible link to allratestoday.com.
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 docsOfficial 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 need | Endpoint | Plan |
|---|---|---|
| Latest official table | /api/v1/central-bank/cbc/latest | Every plan, including the free key |
| The rate on a past date | /api/v1/central-bank/cbc/YYYY-MM-DD | Paid plans |
| A date range, one row per day | /api/v1/central-bank/cbc/history | Paid plans |
| CSV, XML or Excel instead of JSON | format=csv, xml or xlsx on any of the above | Same 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).