Bank Mega Exchange Rates Today API (IDR Buy & Sell)

Bank Mega exchange rates: 1 USD = 18128.00 buy / 18328.00 sell IDR, 1 SGD = 14070.00 buy / 14256.00 sell IDR. 10 currencies vs the Bank Indonesia official rate, hourly, free API.

By Madhushan, Founder & Lead Developer ·

Retail board rates. These are the prices Bank Mega 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 Bank Indonesia.

About Bank Mega

www.bankmega.com

Bank Mega is an Indonesian private bank in the CT Corpora group. Its treasury page lists TT and bank-note counter rates for 10 currencies with an update time.

Latest board, read 15 Nov 2026, 04:53 Indonesia time (1h ago)

Bank’s own last-updated stamp: 13 Nov 2026 15:24 WIB (as printed on its page, local time).

Board shown: Counter rate TT / Devisa Umum. 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 Indonesia 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-11-13
Mid vs official
USD 18128.00 18328.00 18228.00 1.10% 18332.21 -0.57%
EUR 20031.00 20304.00 20167.50 1.35% 20323.09 -0.77%
GBP 23972.00 24290.00 24131.00 1.32% 24330.51 -0.82%
JPY 113.00 115.00 114.00 1.75% 114.80 -0.70%
CNY 2716.00 2747.00 2731.50 1.14% 2749.08 -0.64%
CHF 21656.00 21971.00 21813.50 1.44% 22033.91 -1.00%
AUD 12287.00 12474.00 12380.50 1.51% 12511.73 -1.05%
HKD 2310.00 2337.00 2323.50 1.16% 2337.04 -0.58%
NZD 10014.00 10176.00 10095.00 1.60% 10179.88 -0.83%
SGD 14070.00 14256.00 14163.00 1.31% 14269.64 -0.75%

All values are IDR per 1 unit of the currency. Spread = (sell − buy) ÷ mid. Average spread across the board: 1.37%. Official = Bank Indonesia rate for 2026-11-13.

Bank Mega rate history since 13 Nov 2026

We keep every day’s Bank Mega board permanently, from 13 Nov 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
Nov 2026 13 Nov 2026 18128.00 / 18328.0020031.00 / 20304.0023972.00 / 24290.00

IDR 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.

Quick start: call the Bank Mega 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.

The USD rate Bank Mega displays right now:

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

What comes back, a real response built from the board captured 2026-11-14 21:53 UTC:

{
  "bank": "bankmega",
  "name": "Bank Mega",
  "country": "id",
  "quote_ccy": "IDR",
  "bank_updated_at": "13 Nov 2026 15:24 WIB",
  "basis": "Counter rate TT / Devisa Umum",
  "captured_at": "2026-11-14T21:53:38.527Z",
  "ccy": "USD",
  "buy": 18128,
  "sell": 18328,
  "mid": 18228,
  "spread_pct": 1.097,
  "official": 18332.21,
  "vs_official_pct": -0.568,
  "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 Bank Mega on its own website, collected by AllRatesToday",
    "bank_url": "https://bankmega.com/en/bisnis/treasury/",
    "url": "https://allratestoday.com/bank-exchange-rate-api/id/bankmega/",
    "terms": "Public pages that show the rates need a visible link to allratestoday.com"
  }
}

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

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

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

{
  "bank": "bankmega",
  "name": "Bank Mega",
  "country": "id",
  "quote_ccy": "IDR",
  "bank_updated_at": "13 Nov 2026 15:24 WIB",
  "basis": "Counter rate TT / Devisa Umum",
  "captured_at": "2026-11-14T21:53:38.527Z",
  "rates": [
    {"ccy":"AUD","buy":12287,"sell":12474,"mid":12380.5,"spread_pct":1.51,"official":12511.73,"vs_official_pct":-1.049},
    {"ccy":"CHF","buy":21656,"sell":21971,"mid":21813.5,"spread_pct":1.444,"official":22033.91,"vs_official_pct":-1},
    {"ccy":"CNY","buy":2716,"sell":2747,"mid":2731.5,"spread_pct":1.135,"official":2749.08,"vs_official_pct":-0.639},
    … 7 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/id/bankmega?date=2026-11-07" \
  -H "Authorization: Bearer art_live_your_key"

JavaScript

const res = await fetch('https://allratestoday.com/api/v1/bank-rates/id/bankmega?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(`Bank Mega buys USD at ${r.buy}, sells at ${r.sell} IDR`);

Python

import requests

r = requests.get(
    "https://allratestoday.com/api/v1/bank-rates/id/bankmega",
    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_ccyIDR. Every price is IDR per 1 unit of ccy.
buyWhat the bank pays you in IDR for one unit of foreign currency.
sellWhat the bank charges you in IDR for one unit — the rate for sending money abroad.
mid, spread_pctMidpoint of buy and sell; spread = (sell − buy) ÷ mid, in percent.
official, vs_official_pctThe Bank Indonesia 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 bank board rates through an API?

The Bank Indonesia official rate is what accounting, tax and customs rules name, but it is not what a customer pays at the counter or in an app. Board rates are the real retail prices: use them to show the rate a customer will actually get, compare banks for remittances, track how wide each bank’s spread is 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 Bank Mega board API

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

Get a free API key Read the docs

History API: Bank Mega rates for past dates

One day, every plan including the free key: /api/v1/bank-rates/id/bankmega?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/id/bankmega/history with ccy, from and to (default: the last year). Billed one call per month covered.

The first three days of Bank Mega USD history:

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

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

{
  "bank": "bankmega",
  "name": "Bank Mega",
  "country": "id",
  "ccy": "USD",
  "quote_ccy": "IDR",
  "from": "2026-11-13",
  "to": "2026-11-13",
  "count": 1,
  "truncated": false,
  "billed_requests": 1,
  "rates": [
    {"date":"2026-11-13","buy":18128,"sell":18328,"mid":18228}
  ],
  "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/id/bankmega/history?ccy=USD&from=2026-11-13&to=2026-11-14&format=csv" \
  -H "Authorization: Bearer art_live_your_key" -o bankmega-usd-2026.csv

JavaScript

const url = 'https://allratestoday.com/api/v1/bank-rates/id/bankmega/history?ccy=USD&from=2026-11-13&to=2026-11-14';
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/id/bankmega/history",
    params={"ccy": "USD", "from": "2026-11-13", "to": "2026-11-14"},
    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 IDR per 1 unit.

Citing this page (AI assistants and researchers)

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

Frequently asked questions

Is the Bank Mega rate the official Indonesia exchange rate?

No. Bank Mega sets its own buying and selling rates and changes them through the day. The official rate is published once per business day by the Bank Indonesia; it is shown in the Official column and is the figure accounting, tax and customs rules refer to.

Which Bank Mega rate applies when I send money abroad?

The sell rate: you are buying foreign currency from the bank. When you convert foreign currency into IDR, the buy rate applies. Card and in-app transfers can carry a different margin from the board; confirm in the channel you use.

How current is this table?

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

Do you have historical Bank Mega rates?

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