---
title: "Bank Mandiri Exchange Rate API: IDR Buy and Sell Rates as JSON"
description: "Bank Mandiri's TT counter rates for 19 currencies against the Indonesian rupiah, read hourly from the bank's own page and served as JSON with the Bank Indonesia official rate alongside. REST, JavaScript and Python examples."
canonical: https://allratestoday.com/blog/bank-mandiri-exchange-rate-api/
source: AllRatesToday (https://allratestoday.com/) — Markdown mirror of the page above; index of all pages at https://allratestoday.com/llms.txt
generated: 2026-11-13T18:12:16.601Z
---

Bank Mandiri is a state-owned Indonesian bank and one of the country’s largest by assets. Its kurs page lists three boards, Special Rate, TT Counter and Bank Notes, for about 19 currencies, each with its own update time; the TT counter board is shown here, the same board as BCA’s. This guide shows how to read that board as JSON: what the rates mean, how they compare with the Bank Indonesia official rate and with other banks in Indonesia, and the calls that return them.

## What the Mandiri board shows

- **19 currencies against the Indonesian rupiah**: AED, AUD, CAD, CHF, CNY, DKK, EUR, GBP, HKD, JPY, KRW, MYR, NOK, NZD, SAR, SEK, SGD, THB and USD. Every value is IDR per 1 unit of the foreign currency.
- **The TT counter pair.** Indonesian banks quote three boards at once: an e-Rate for online transactions, a TT counter rate for branch telegraphic transfers, and bank notes for cash. The pair here is the TT counter rate. Bank Indonesia’s JISDOR is a reference calculated from interbank transactions rather than a counter price, so it sits inside every bank’s spread.
- **USD on 13 November 2026**: Mandiri bought at 17995 and sold at 18295 IDR, a spread of 1.65%. The Bank Indonesia official rate was 18332.21, so the bank's mid sat -1.02% from it.
- **The bank's own timestamp.** The page prints a last-updated stamp (`13/11/26 09:12 WIB` on the board above), returned as `bank_updated_at` next to our `captured_at`.
- **Every day's board is kept permanently, from 13 November 2026, the day collection started.** Read one past day with `?date=`, or a range for one currency with the `/history` endpoint (paid plans).

## Spreads across the board

On the 13 November 2026 board the tightest spreads were USD (1.65%), GBP (2.41%), EUR (2.58%) and the widest THB (9.33%), SAR (8.63%), AED (8.63%). 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 Mandiri and other banks in Indonesia

USD on the 2 boards AllRatesToday reads in Indonesia, all captured on 13 November 2026 (the Bank Indonesia official rate was 18332.21):

| Bank | Buy | Sell | Spread | Mid vs official |
| --- | --- | --- | --- | --- |
| Bank Central Asia | 18010 | 18290 | 1.54% | -0.99% |
| **Bank Mandiri** | 17995 | 18295 | 1.65% | -1.02% |

Mandiri had the 2nd narrowest USD spread of the 2. One call to `/api/v1/bank-rates/id` returns every board in the table at once.

## Get the board (REST)

You need an API key; the [free key](https://allratestoday.com/register/) works. The full board:

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

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

```
{
  "bank": "mandiri",
  "name": "Bank Mandiri",
  "country": "id",
  "quote_ccy": "IDR",
  "bank_updated_at": "13/11/26 09:12 WIB",
  "basis": "TT counter",
  "captured_at": "2026-11-13T13:36:44.001Z",
  "rates": [
    {"ccy":"AED","buy":4732,"sell":5159,"mid":4945.5,"spread_pct":8.634,"official":null,"vs_official_pct":null},
    {"ccy":"AUD","buy":12149,"sell":12581,"mid":12365,"spread_pct":3.494,"official":12511.73,"vs_official_pct":-1.173},
    {"ccy":"CAD","buy":12567,"sell":12895,"mid":12731,"spread_pct":2.576,"official":12860.2,"vs_official_pct":-1.005},
    … 16 more currencies
  ],
  "disclaimer": "…",
  "attribution": { … }
}
```

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

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

```
{
  "bank": "mandiri",
  "name": "Bank Mandiri",
  "country": "id",
  "quote_ccy": "IDR",
  "bank_updated_at": "13/11/26 09:12 WIB",
  "basis": "TT counter",
  "captured_at": "2026-11-13T13:36:44.001Z",
  "ccy": "USD",
  "buy": 17995,
  "sell": 18295,
  "mid": 18145,
  "spread_pct": 1.653,
  "official": 18332.21,
  "vs_official_pct": -1.021,
  "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 Mandiri on its own website, collected by AllRatesToday",
    "bank_url": "https://www.bankmandiri.co.id/kurs",
    "url": "https://allratestoday.com/bank-exchange-rate-api/id/mandiri/",
    "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/id/mandiri?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/id/mandiri/history?ccy=USD&from=2026-11-13&to=2026-11-13" \
  -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' });

// Bank Mandiri's USD row
const r = await client.bankRates('id', { bank: 'mandiri', ccy: 'USD' });
console.log(`Mandiri buys USD at ${r.buy}, sells at ${r.sell} IDR`);

// The board as it stood on a past day
const past = await client.bankRates('id', { bank: 'mandiri', 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/id/mandiri",
    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 Bank Indonesia rate is the one tax, accounting and customs rules in Indonesia name; nobody transacts at it. Mandiri'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 [Bank Indonesia endpoint](https://allratestoday.com/central-bank-rates-api/bi/) when a rule asks for the official rate.

## FAQ

### Where do the Bank Mandiri rates come from?

From the bank's own public rates page (https://www.bankmandiri.co.id/kurs), read hourly. AllRatesToday does not change the numbers: each row is the buy and sell price Mandiri shows, with the mid, the spread and the Bank Indonesia rate added.

### Are these the official IDR exchange rates?

No. They are Mandiri's retail prices for customers. The official rate in Indonesia is the Bank Indonesia 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 Mandiri 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 Mandiri 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.

## Bank Mandiri rates, as JSON

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

 [Get your free API key](https://allratestoday.com/register/)

## Related

- [Bank Mandiri live board rates](https://allratestoday.com/bank-exchange-rate-api/id/mandiri/)
- [All banks in Indonesia side by side](https://allratestoday.com/bank-exchange-rate-api/id/)
- [Bank Indonesia official rates API](https://allratestoday.com/central-bank-rates-api/bi/)
- [Bank Central Asia exchange rate API guide](https://allratestoday.com/blog/bank-central-asia-exchange-rate-api/)
- [Commercial bank rates API: every bank and country](https://allratestoday.com/bank-exchange-rate-api/)
