DEV Community

Exchange Rate API
Exchange Rate API

Posted on Originally published at allratestoday.com

Emirates NBD Exchange Rate API: AED Buy and Sell Rates as JSON

Emirates NBD is Dubai’s largest bank and one of the two largest in the country. Its foreign-exchange page publishes customer buy and sell rates for about 36 currencies, refreshed through the day, with a last-updated time on the page. 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 ENBD board shows

  • 35 currencies against the UAE dirham: AUD, BDT, BHD, CAD, CHF, CNH, CNY, DKK, EGP, EUR, GBP, HKD, ILS, INR, IQD, JOD, JPY, KWD, LKR, MAD, NOK, NZD, OMR, PHP, PKR, QAR, SAR, SEK, SGD, THB, TND, TRY, USD, XAU 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: ENBD bought at 3.653 and sold at 3.687 AED, a spread of 0.93%. The Central Bank of the UAE official rate was 3.6725, so the bank's mid sat -0.07% from it.
  • The bank's own timestamp. The page prints a last-updated stamp (11/13/2026 2:34:04 PM on the board above), returned as bank_updated_at next to our captured_at.
  • Every day's board is kept permanently, from 17 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 USD (0.93%), EGP (1.72%), XAU (1.94%) and the widest NZD (8.27%), AUD (8.14%), EUR (6.99%). 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 ENBD and other banks in the UAE

USD on the 5 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%

ENBD had the narrowest USD spread of the 5. 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 works. The full board:

curl "https://allratestoday.com/api/v1/bank-rates/ae/enbd" \
  -H "Authorization: Bearer art_live_your_key"
Enter fullscreen mode Exit fullscreen mode

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

{
  "bank": "enbd",
  "name": "Emirates NBD",
  "country": "ae",
  "quote_ccy": "AED",
  "bank_updated_at": "11/13/2026 2:34:04 PM",
  "basis": "Counter board",
  "captured_at": "2026-11-13T12:30:54.541Z",
  "rates": [
    {"ccy":"AUD","buy":2.39895,"sell":2.6025,"mid":2.500725,"spread_pct":8.14,"official":2.506142,"vs_official_pct":-0.216},
    {"ccy":"BDT","buy":0.02887,"sell":0.03015,"mid":0.02951,"spread_pct":4.338,"official":0.029526,"vs_official_pct":-0.054},
    {"ccy":"BHD","buy":9.58746,"sell":9.91218,"mid":9.74982,"spread_pct":3.331,"official":9.738796,"vs_official_pct":0.113},
    … 32 more currencies
  ],
  "disclaimer": "…",
  "attribution": { … }
}
Enter fullscreen mode Exit fullscreen mode

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

curl "https://allratestoday.com/api/v1/bank-rates/ae/enbd?ccy=USD" \
  -H "Authorization: Bearer art_live_your_key"
Enter fullscreen mode Exit fullscreen mode
{
  "bank": "enbd",
  "name": "Emirates NBD",
  "country": "ae",
  "quote_ccy": "AED",
  "bank_updated_at": "11/13/2026 2:34:04 PM",
  "basis": "Counter board",
  "captured_at": "2026-11-13T12:30:54.541Z",
  "ccy": "USD",
  "buy": 3.653,
  "sell": 3.687,
  "mid": 3.67,
  "spread_pct": 0.926,
  "official": 3.6725,
  "vs_official_pct": -0.068,
  "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 Emirates NBD on its own website, collected by AllRatesToday",
    "bank_url": "https://www.emiratesnbd.com/en/foreign-exchange/foreign-exchanges-rates",
    "url": "https://allratestoday.com/bank-exchange-rate-api/ae/enbd/",
    "terms": "Public pages that show the rates need a visible link to allratestoday.com"
  }
}
Enter fullscreen mode Exit fullscreen mode

The board as it stood on a past day:

curl "https://allratestoday.com/api/v1/bank-rates/ae/enbd?date=2026-11-06" \
  -H "Authorization: Bearer art_live_your_key"
Enter fullscreen mode Exit fullscreen mode

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/enbd/history?ccy=USD&from=2026-09-17&to=2026-11-13" \
  -H "Authorization: Bearer art_live_your_key"
Enter fullscreen mode Exit fullscreen mode

JavaScript

npm install @allratestoday/sdk
Enter fullscreen mode Exit fullscreen mode
import { AllRatesToday } from '@allratestoday/sdk';

const client = new AllRatesToday({ apiKey: 'art_live_your_key' });

// Emirates NBD's USD row
const r = await client.bankRates('ae', { bank: 'enbd', ccy: 'USD' });
console.log(`ENBD 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: 'enbd', date: '2026-11-06' });
console.log(past.snapshot_date, past.rates.length);
Enter fullscreen mode Exit fullscreen mode

Python

import requests

r = requests.get(
    "https://allratestoday.com/api/v1/bank-rates/ae/enbd",
    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"])
Enter fullscreen mode Exit fullscreen mode

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. ENBD'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 when a rule asks for the official rate.

FAQ

Where do the Emirates NBD rates come from?

From the bank's own public rates page (https://www.emiratesnbd.com/en/foreign-exchange/foreign-exchanges-rates), read hourly. AllRatesToday does not change the numbers: each row is the buy and sell price ENBD 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 ENBD'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 ENBD 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 ENBD rates for a past date?

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


Live board, refreshed hourly: Emirates NBD rates on AllRatesToday. Every bank in the UAE side by side: UAE bank rates.

Top comments (0)