Central Bank of Iraq Exchange Rate API

Official Central Bank of Iraq (Iraq) daily exchange rates as JSON: 19 currencies, history back to 2009. The published IQD rates required for tax, audits, and compliant invoicing.

Iraq flagCentral Bank of Iraq official daily exchange rates as JSON: 19 currencies against the IQD, history back to 2009. Latest table on every plan. Get your API key.

About Central Bank of Iraq

The Central Bank of Iraq publishes daily buying, official and selling dinar rates for 19 currencies. The official USD/IQD basis rate — 1310 dinars per dollar since February 2023 — is the administratively set anchor of Iraq's exchange system, while the crosses move with the market each business day (Sunday to Thursday). The bank's own workbook carries the daily table back to 2009.

Quick start

One request for the pair you need — USD to IQD at the official Central Bank of Iraq rate:

curl "https://allratestoday.com/api/v1/central-bank/cbiq/latest?source=USD&target=IQD" \
  -H "Authorization: Bearer art_live_your_key"

Or the bank's full published table:

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

On paid plans, any historical date or a time series:

curl "https://allratestoday.com/api/v1/central-bank/cbiq/history?source=USD&target=IQD&from=2025-01-01" \
  -H "Authorization: Bearer art_live_your_key"

Node.js / TypeScript client

A dedicated zero-dependency npm package wraps these endpoints — central-bank-of-iraq-exchange-rate:

npm install central-bank-of-iraq-exchange-rate
import { getRate } from 'central-bank-of-iraq-exchange-rate';

const pair = await getRate('USD', 'IQD', { apiKey: 'art_live_...' });
console.log(pair.rate, pair.rate_date);

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

Why use the official Central Bank of Iraq rate?

Live market rates move continuously, but tax filings, customs declarations, audits, and statutory accounting in Iraq and beyond typically require the official rate published by Central Bank of Iraq for a given date — a fixed, citable number that never changes after publication. This API serves those published tables with the bank's own rate_date on every response; weekends and holidays return the most recent published date, which is the rate compliance rules require you to apply.

Pairs the bank doesn't print directly are resolved from its table (inverse or cross via IQD) and explicitly flagged "derived": true — so what the bank printed and what was computed are never confused.

Endpoints

Full parameter reference in the API documentation. Every request counts toward your plan's monthly quota — rates change once per business day, so caching a published table locally makes a small quota go far.

Frequently asked questions

Is there an API for Central Bank of Iraq exchange rates?

Yes — this one. Official daily IQD rates as clean JSON, latest table on every plan including free.

How often are the rates updated?

Central Bank of Iraq publishes once per business day; the API ingests each new table shortly after publication.

Are these the official rates?

Yes — ingested from Central Bank of Iraq's own published data, served unmodified with the bank's publication date. Anything computed rather than published is flagged derived.

Central Bank of Iraq rates, one API key

Latest table on every plan. History back to 2009 on paid plans. No credit card to start.

Get Free API Key Read the Docs