---
title: "Dubai Islamic Bank Exchange Rate API: AED Buy and Sell Rates as JSON"
description: "Dubai Islamic Bank's counter board rates for 27 currencies against the UAE dirham, read hourly from the bank's own page and served as JSON with the Central Bank of the UAE official rate alongside. REST, JavaScript and Python examples."
canonical: https://allratestoday.com/blog/dubai-islamic-bank-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:18.210Z
---

Dubai Islamic Bank was the world’s first full-service Islamic bank, founded in 1975. Its exchange-rates page splits the board into major and other currencies, about 27 in total, quoted as the dirhams the bank buys and sells one unit for. This guide shows how to read that board as JSON: what the rates mean, how they compare with the Central Bank of the UAE official rate and with other banks in the UAE, and the calls that return them.

## What the DIB board shows

- **27 currencies against the UAE dirham**: AUD, BDT, BHD, CAD, CHF, CNH, DKK, EGP, EUR, GBP, INR, JOD, JPY, KWD, LKR, NOK, NPR, NZD, OMR, PHP, PKR, QAR, SAR, SEK, SGD, USD and ZAR. Every value is AED per 1 unit of the foreign currency.
- **The counter board pair.** The dirham is pegged at 3.6725 per US dollar, so every bank quotes USD within a fraction of a percent of the peg; the spread that matters is on the remittance currencies — INR, PKR, PHP, EGP, BDT — where bank boards differ from each other and from the central bank’s rate by a percent or more.
- **USD on 13 November 2026**: DIB bought at 3.6 and sold at 3.746 AED, a spread of 3.98%. The Central Bank of the UAE official rate was 3.6725, so the bank's mid sat +0.01% from it.
- **No timestamp on the bank's page.** DIB 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 24 September 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 13 November 2026 board the tightest spreads were PHP (1.04%), BHD (1.42%), OMR (1.46%) and the widest CHF (10.00%), SGD (10.00%), EUR (10.00%). 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 DIB and other banks in the UAE

USD on the 6 boards AllRatesToday reads in the UAE, all captured on 13 November 2026 (the Central Bank of the UAE official rate was 3.6725):

| Bank | Buy | Sell | Spread | Mid vs official |
| --- | --- | --- | --- | --- |
| First Abu Dhabi Bank | 3.653 | 3.693 | 1.09% | +0.01% |
| Emirates NBD | 3.653 | 3.687 | 0.93% | -0.07% |
| Bank of Sharjah | 3.65 | 3.69 | 1.09% | -0.07% |
| Abu Dhabi Islamic Bank | 3.618 | 3.7215 | 2.82% | -0.07% |
| **Dubai Islamic Bank** | 3.6 | 3.746 | 3.98% | +0.01% |
| RAKBANK | 3.66 | 3.685 | 0.68% | 0.00% |

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

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

```
{
  "bank": "dib",
  "name": "Dubai Islamic Bank",
  "country": "ae",
  "quote_ccy": "AED",
  "bank_updated_at": null,
  "basis": "Counter board",
  "captured_at": "2026-11-13T13:34:28.601Z",
  "rates": [
    {"ccy":"AUD","buy":2.3773,"sell":2.6275,"mid":2.5024,"spread_pct":9.998,"official":2.506142,"vs_official_pct":-0.149},
    {"ccy":"BDT","buy":0.0289,"sell":0.0301,"mid":0.0295,"spread_pct":4.068,"official":0.029526,"vs_official_pct":-0.088},
    {"ccy":"BHD","buy":9.6689,"sell":9.8072,"mid":9.73805,"spread_pct":1.42,"official":9.738796,"vs_official_pct":-0.008},
    … 24 more currencies
  ],
  "disclaimer": "…",
  "attribution": { … }
}
```

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

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

```
{
  "bank": "dib",
  "name": "Dubai Islamic Bank",
  "country": "ae",
  "quote_ccy": "AED",
  "bank_updated_at": null,
  "basis": "Counter board",
  "captured_at": "2026-11-13T13:34:28.601Z",
  "ccy": "USD",
  "buy": 3.6,
  "sell": 3.746,
  "mid": 3.673,
  "spread_pct": 3.975,
  "official": 3.6725,
  "vs_official_pct": 0.014,
  "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 Dubai Islamic Bank on its own website, collected by AllRatesToday",
    "bank_url": "https://www.dib.ae/exchange-rates",
    "url": "https://allratestoday.com/bank-exchange-rate-api/ae/dib/",
    "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/ae/dib?date=2026-11-06" \
  -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/ae/dib/history?ccy=USD&from=2026-09-24&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' });

// Dubai Islamic Bank's USD row
const r = await client.bankRates('ae', { bank: 'dib', ccy: 'USD' });
console.log(`DIB buys USD at ${r.buy}, sells at ${r.sell} AED`);

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

## Python

```
import requests

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

## FAQ

### Where do the Dubai Islamic Bank rates come from?

From the bank's own public rates page (https://www.dib.ae/exchange-rates), read hourly. AllRatesToday does not change the numbers: each row is the buy and sell price DIB shows, with the mid, the spread and the Central Bank of the UAE rate added.

### Are these the official AED exchange rates?

No. They are DIB's retail prices for customers. The official rate in the UAE is the Central Bank of the UAE 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 DIB 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 DIB rates for a past date?

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

## Dubai Islamic Bank rates, as JSON

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

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

## Related

- [Dubai Islamic Bank live board rates](https://allratestoday.com/bank-exchange-rate-api/ae/dib/)
- [All banks in the UAE side by side](https://allratestoday.com/bank-exchange-rate-api/ae/)
- [Central Bank of the UAE official rates API](https://allratestoday.com/central-bank-rates-api/cbuae/)
- [First Abu Dhabi Bank exchange rate API guide](https://allratestoday.com/blog/first-abu-dhabi-bank-exchange-rate-api/)
- [Emirates NBD exchange rate API guide](https://allratestoday.com/blog/emirates-nbd-exchange-rate-api/)
- [Bank of Sharjah exchange rate API guide](https://allratestoday.com/blog/bank-of-sharjah-exchange-rate-api/)
- [Abu Dhabi Islamic Bank exchange rate API guide](https://allratestoday.com/blog/abu-dhabi-islamic-bank-exchange-rate-api/)
- [RAKBANK exchange rate API guide](https://allratestoday.com/blog/rakbank-exchange-rate-api/)
- [Commercial bank rates API: every bank and country](https://allratestoday.com/bank-exchange-rate-api/)
