Bank of Algeria Exchange Rate API: Official DZD Rates as JSON

Reviewed by Madhushan, Fintech Developer — August 2026

The Bank of Algeria publishes the official exchange rates that accounting, tax, and customs practice in Algeria reference — published official rates, not moving market prices. This guide shows how to pull them as JSON: via a REST endpoint or the zero-dependency bank-of-algeria-exchange-rate npm package.

USD → DZD — official Bank of Algeria interbank fixing
Weekly observations, Aug '25 – Aug '26 · undefineds per 1 US dollar
130132Aug '25Nov '25Feb '26May '26Aug '26132.82025-08-22: 130.1 DZD2025-08-29: 129.7 DZD2025-09-04: 129.8 DZD2025-09-12: 129.4 DZD2025-09-19: 129.3 DZD2025-09-26: 129.8 DZD2025-10-03: 129.5 DZD2025-10-10: 130.3 DZD2025-10-17: 129.8 DZD2025-10-24: 130.1 DZD2025-10-31: 130.4 DZD2025-11-07: 130.5 DZD2025-11-14: 130.1 DZD2025-11-21: 130.5 DZD2025-11-28: 130.3 DZD2025-12-05: 129.9 DZD2025-12-12: 129.6 DZD2025-12-19: 129.7 DZD2025-12-26: 129.4 DZD2025-12-31: 129.6 DZD2026-01-09: 130.0 DZD2026-01-16: 130.2 DZD2026-01-23: 129.6 DZD2026-01-30: 129.2 DZD2026-02-06: 129.9 DZD2026-02-13: 129.5 DZD2026-02-20: 130.1 DZD2026-02-27: 129.8 DZD2026-03-06: 131.2 DZD2026-03-13: 132.4 DZD2026-03-19: 132.3 DZD2026-03-27: 133.0 DZD2026-04-03: 132.9 DZD2026-04-10: 132.2 DZD2026-04-17: 132.1 DZD2026-04-24: 132.5 DZD2026-05-01: 132.5 DZD2026-05-08: 132.2 DZD2026-05-15: 132.7 DZD2026-05-22: 132.9 DZD2026-05-26: 133.1 DZD2026-06-05: 133.2 DZD2026-06-12: 133.1 DZD2026-06-19: 133.3 DZD2026-06-26: 133.2 DZD2026-07-03: 132.9 DZD2026-07-10: 133.0 DZD2026-07-17: 132.9 DZD2026-07-24: 133.2 DZD2026-07-31: 132.8 DZD2026-08-21: 132.8 DZD
Source: Bank of Algeria published rates · chart data from the AllRatesToday API (/api/v1/central-bank/bda/history?source=USD&target=DZD).

Interbank fixings for a managed dinar

The Bank of Algeria publishes daily interbank fixings for the dinar — the official series for a currency whose external value is managed rather than floated. Eighteen currencies are quoted, including the IMF’s SDR; the yen is published per-100 on the bank’s site and normalised to per-unit here, so every value is dinars per one unit of the foreign currency.

Why official rates, not market rates

A live mid-market feed answers "what is USD/DZD trading at right now?" — the right tool for checkouts and dashboards. But accountants, auditors, and tax authorities ask a different question: "which rate were you required to use for this date?" That answer comes from the Bank of Algeria’s published rates, and it never changes after publication.

Get the latest rates (REST)

curl "https://allratestoday.com/api/v1/central-bank/bda/latest" \
  -H "Authorization: Bearer YOUR_API_KEY"

The response is the bank's most recent published table — every rate and the publication date. The latest rates are available on every plan, including the free tier (300 requests/month, no credit card).

The npm SDK

npm install bank-of-algeria-exchange-rate
import { getRate, getLatestRates } from 'bank-of-algeria-exchange-rate';

// One pair at the official rate
const pair = await getRate('USD', 'DZD', { apiKey: 'art_live_...' });
console.log(pair.rate, pair.rate_date);

// The bank's full published table
const table = await getLatestRates({ apiKey: 'art_live_...' });
console.log(table.rate_date, table.rates.length);

Zero dependencies, TypeScript types included, and it runs anywhere fetch exists — Node 18+, Bun, Deno, and edge runtimes.

Historical rates for an invoice date

import { getRatesForDate, getHistory } from 'bank-of-algeria-exchange-rate';

const day = await getRatesForDate('2026-08-18', { apiKey: 'art_live_...' });

const series = await getHistory(
  { source: 'USD', target: 'DZD', from: '2026-01-01' },
  { apiKey: 'art_live_...' }
);

Historical dates and time series need a paid plan; the latest rates stay free.

Published vs derived pairs

If the Bank of Algeria does not print a pair directly, the API resolves it from the bank's published rates — an inverse, or a cross via DZD — and flags it derived: true with the method used. Official and computed values are never silently mixed, which is exactly the distinction an auditor will ask about.

The archive

The archive is loaded from January 2000 — a quarter-century of the dinar’s managed slide from 69 to the dollar to the 130s.

FAQ

Does the Bank of Algeria have an official exchange rate API?

The bank publishes its official rates on its own site, and AllRatesToday serves the same published rates as clean JSON via REST or the bank-of-algeria-exchange-rate npm package. The latest table is free.

How do I get the official Algeria exchange rate for a past date?

The rates-for-date endpoint returns the official table for any archived date; non-publication days resolve to the most recent published date and are flagged, so audit trails stay honest. Historical dates require a paid plan; latest rates are free.

Does the Bank of Algeria publish weekend rates?

The Algerian business week runs Sunday to Thursday; Friday and Saturday have no publication, and date lookups on those days resolve to the most recent published table, flagged as such.

Official Bank of Algeria rates, as JSON

The latest rates are free — 300 requests/month, no credit card.

Get your free API key

Related Articles