Central Bank of Iraq Exchange Rate API: Official IQD Rates as JSON

Reviewed by Madhushan, Fintech Developer — August 2026

The Central Bank of Iraq publishes the official exchange rates that accounting, tax, and customs practice in Iraq 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 central-bank-of-iraq-exchange-rate npm package.

EUR → IQD — official Central Bank of Iraq official rate
Weekly observations, Aug '25 – Aug '26 · undefineds per 1 euro
1,5001,5251,550Aug '25Nov '25Feb '26May '26Aug '261,5202025-08-24: 1,521 IQD2025-08-31: 1,527 IQD2025-09-07: 1,532 IQD2025-09-14: 1,535 IQD2025-09-21: 1,537 IQD2025-09-28: 1,520 IQD2025-10-05: 1,537 IQD2025-10-12: 1,515 IQD2025-10-19: 1,530 IQD2025-10-26: 1,521 IQD2025-11-02: 1,514 IQD2025-11-09: 1,514 IQD2025-11-16: 1,526 IQD2025-11-23: 1,509 IQD2025-11-30: 1,519 IQD2025-12-07: 1,525 IQD2025-12-14: 1,537 IQD2025-12-21: 1,534 IQD2025-12-28: 1,542 IQD2025-12-31: 1,539 IQD2026-01-04: 1,532 IQD2026-01-11: 1,525 IQD2026-01-18: 1,522 IQD2026-01-25: 1,538 IQD2026-02-01: 1,561 IQD2026-02-08: 1,545 IQD2026-02-15: 1,554 IQD2026-02-22: 1,541 IQD2026-03-01: 1,546 IQD2026-03-08: 1,514 IQD2026-03-15: 1,503 IQD2026-03-17: 1,511 IQD2026-03-29: 1,509 IQD2026-04-05: 1,508 IQD2026-04-12: 1,534 IQD2026-04-19: 1,545 IQD2026-04-26: 1,534 IQD2026-05-03: 1,535 IQD2026-05-10: 1,541 IQD2026-05-17: 1,523 IQD2026-05-24: 1,519 IQD2026-05-31: 1,525 IQD2026-06-07: 1,525 IQD2026-06-14: 1,515 IQD2026-06-21: 1,502 IQD2026-06-28: 1,494 IQD2026-07-05: 1,498 IQD2026-07-12: 1,497 IQD2026-07-19: 1,498 IQD2026-07-26: 1,490 IQD2026-08-02: 1,505 IQD2026-08-09: 1,511 IQD2026-08-16: 1,515 IQD2026-08-19: 1,520 IQD
Source: Central Bank of Iraq published rates · chart data from the AllRatesToday API (/api/v1/central-bank/cbiq/history?source=EUR&target=IQD).

The 1310 basis rate, and everything around it

Iraq’s exchange system is anchored by the administratively set USD basis rate — 1,310 dinars per dollar since February 2023 — published with buying (1300) and selling (1320) sides. The other 18 currencies move with the market each business day, Sunday to Thursday. Where the street market diverges from the official window, filings and letters of credit still cite the official print, which is exactly what this API serves.

Why official rates, not market rates

A live mid-market feed answers "what is USD/IQD 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 Central Bank of Iraq’s published rates, and it never changes after publication.

Get the latest rates (REST)

curl "https://allratestoday.com/api/v1/central-bank/cbiq/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 central-bank-of-iraq-exchange-rate
import { getRate, getLatestRates } from 'central-bank-of-iraq-exchange-rate';

// One pair at the official rate
const pair = await getRate('USD', 'IQD', { 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 'central-bank-of-iraq-exchange-rate';

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

const series = await getHistory(
  { source: 'USD', target: 'IQD', 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 Central Bank of Iraq does not print a pair directly, the API resolves it from the bank's published rates — an inverse, or a cross via IQD — 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 bank’s daily workbook reaches back to 2009 — through the 2020-2023 devaluation era (1182 → 1450 → 1310) that repriced the dinar twice in three years.

FAQ

Does the Central Bank of Iraq 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 central-bank-of-iraq-exchange-rate npm package. The latest table is free.

How do I get the official Iraq 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.

Is this the parallel-market dollar rate?

No. This is the official CBI table — the basis rate plus buy/sell sides that official filings cite. Parallel-market quotes are not official data and are not served.

Official Central Bank of Iraq rates, as JSON

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

Get your free API key

Related Articles