---
title: "maib Exchange Rate API: MDL Buy and Sell Rates as JSON"
description: "maib's branch cash (numerar în sucursale) buy / sell rates for 6 currencies against the Moldovan leu, read hourly from the bank's own page and served as JSON with the National Bank of Moldova official rate alongside. REST, JavaScript and Python examples."
canonical: https://allratestoday.com/blog/maib-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-15T19:21:45.197Z
---

maib (formerly Moldova Agroindbank) is the largest bank in Moldova. Its exchange-rate page lists buying and selling rates in lei for six currencies for cash exchange at its branches, next to the National Bank of Moldova rate. This guide shows how to read that board as JSON: what the rates mean, how they compare with the National Bank of Moldova official rate and with other banks in Moldova, and the calls that return them.

## What the maib board shows

- **6 currencies against the Moldovan leu**: CHF, EUR, GBP, RON, UAH and USD. Every value is MDL per 1 unit of the foreign currency.
- **The branch cash (numerar în sucursale) buy / sell pair.** Moldovan banks publish short boards, usually the euro, US dollar and a few neighbouring currencies, with separate rates for cash at the counter and for card operations, quoted in lei per unit. The National Bank of Moldova official rate is shown next to each row.
- **USD on 15 November 2026**: maib bought at 18.05 and sold at 18.38 MDL, a spread of 1.81%. The National Bank of Moldova official rate was 18.1762, so the bank's mid sat +0.21% from it.
- **No timestamp on the bank's page.** maib does not print a last-updated time, so `bank_updated_at` is `null` and `captured_at` (when AllRatesToday read the page) is the only time available.
- **Every day's board is kept permanently, from 14 November 2026.** Read one past day with `?date=`, or a range for one currency with the `/history` endpoint (paid plans).

## Spreads across the board

On the 15 November 2026 board the tightest spreads were EUR (1.29%), GBP (1.78%), USD (1.81%) and the widest UAH (16.67%), RON (2.65%), CHF (1.83%). 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 maib and other banks in Moldova

USD on the 8 boards AllRatesToday reads in Moldova, all captured on 15 November 2026 (the National Bank of Moldova official rate was 18.1762):

| Bank | Buy | Sell | Spread | Mid vs official |
| --- | --- | --- | --- | --- |
| **maib** | 18.05 | 18.38 | 1.81% | +0.21% |
| Moldindconbank | 18.03 | 18.37 | 1.87% | +0.13% |
| OTP Bank Moldova | 18.11 | 18.38 | 1.48% | +0.38% |
| Victoriabank | 18.12 | 18.39 | 1.48% | +0.43% |
| FinComBank | 18.1 | 18.34 | 1.32% | +0.24% |
| ProCredit Bank Moldova | 18.07 | 18.38 | 1.70% | +0.27% |
| EuroCreditBank | 18.08 | 18.28 | 1.10% | +0.02% |
| Comerțbank | 18 | 18.15 | 0.83% | -0.56% |

maib had the 7th narrowest USD spread of the 8. One call to `/api/v1/bank-rates/md` 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/md/maib" \
  -H "Authorization: Bearer art_live_your_key"
```

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

```
{
  "bank": "maib",
  "name": "maib",
  "country": "md",
  "quote_ccy": "MDL",
  "bank_updated_at": null,
  "basis": "Branch cash (numerar în sucursale) buy / sell",
  "captured_at": "2026-11-15T11:30:30.199Z",
  "rates": [
    {"ccy":"CHF","buy":21.65,"sell":22.05,"mid":21.85,"spread_pct":1.831,"official":21.8463,"vs_official_pct":0.017},
    {"ccy":"EUR","buy":20.07,"sell":20.33,"mid":20.2,"spread_pct":1.287,"official":20.1574,"vs_official_pct":0.211},
    {"ccy":"GBP","buy":23.9,"sell":24.33,"mid":24.115,"spread_pct":1.783,"official":24.1178,"vs_official_pct":-0.012},
    … 3 more currencies
  ],
  "disclaimer": "…",
  "attribution": { … }
}
```

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

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

```
{
  "bank": "maib",
  "name": "maib",
  "country": "md",
  "quote_ccy": "MDL",
  "bank_updated_at": null,
  "basis": "Branch cash (numerar în sucursale) buy / sell",
  "captured_at": "2026-11-15T11:30:30.199Z",
  "ccy": "USD",
  "buy": 18.05,
  "sell": 18.38,
  "mid": 18.215,
  "spread_pct": 1.812,
  "official": 18.1762,
  "vs_official_pct": 0.213,
  "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 maib on its own website, collected by AllRatesToday",
    "bank_url": "https://www.maib.md/ro/curs-valutar",
    "url": "https://allratestoday.com/bank-exchange-rate-api/md/maib/",
    "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/md/maib?date=2026-11-14" \
  -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/md/maib/history?ccy=USD&from=2026-11-14&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' });

// maib's USD row
const r = await client.bankRates('md', { bank: 'maib', ccy: 'USD' });
console.log(`maib buys USD at ${r.buy}, sells at ${r.sell} MDL`);

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

## Python

```
import requests

r = requests.get(
    "https://allratestoday.com/api/v1/bank-rates/md/maib",
    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 National Bank of Moldova rate is the one tax, accounting and customs rules in Moldova name; nobody transacts at it. maib'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 [National Bank of Moldova endpoint](https://allratestoday.com/central-bank-rates-api/nbm/) when a rule asks for the official rate.

## FAQ

### Where do the maib rates come from?

From the bank's own public rates page (https://www.maib.md/ro/curs-valutar), read hourly. AllRatesToday does not change the numbers: each row is the buy and sell price maib shows, with the mid, the spread and the National Bank of Moldova rate added.

### Are these the official MDL exchange rates?

No. They are maib's retail prices for customers. The official rate in Moldova is the National Bank of Moldova 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 maib board updated?

AllRatesToday reads the page every hour. The bank prints no timestamp, so `captured_at` tells you when the rates were read.

### Can I get maib rates for a past date?

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

## maib rates, as JSON

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

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

## Related

- [maib live board rates](https://allratestoday.com/bank-exchange-rate-api/md/maib/)
- [All banks in Moldova side by side](https://allratestoday.com/bank-exchange-rate-api/md/)
- [National Bank of Moldova official rates API](https://allratestoday.com/central-bank-rates-api/nbm/)
- [Moldindconbank exchange rate API guide](https://allratestoday.com/blog/moldindconbank-exchange-rate-api/)
- [OTP Bank Moldova exchange rate API guide](https://allratestoday.com/blog/otp-bank-moldova-exchange-rate-api/)
- [Victoriabank exchange rate API guide](https://allratestoday.com/blog/victoriabank-exchange-rate-api/)
- [FinComBank exchange rate API guide](https://allratestoday.com/blog/fincombank-exchange-rate-api/)
- [ProCredit Bank Moldova exchange rate API guide](https://allratestoday.com/blog/procredit-bank-moldova-exchange-rate-api/)
- [EuroCreditBank exchange rate API guide](https://allratestoday.com/blog/eurocreditbank-exchange-rate-api/)
- [Comerțbank exchange rate API guide](https://allratestoday.com/blog/comertbank-exchange-rate-api/)
- [Every bank exchange rate API guide, by country](https://allratestoday.com/blog/bank-exchange-rate-api-guides/)
- [Commercial bank rates API: every bank and country](https://allratestoday.com/bank-exchange-rate-api/)
