---
title: "CAC International Bank Exchange Rate API: DJF Buy and Sell Rates as JSON"
description: "CAC International Bank's buy / sell against the djibouti franc rates for 8 currencies against the Djiboutian franc, read hourly from the bank's own page and served as JSON with the Federal Reserve (no Banque Centrale de Djibouti source in the product) official rate alongside. REST, JavaScript and Python examples."
canonical: https://allratestoday.com/blog/cac-international-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-15T19:12:37.511Z
---

CAC International Bank is the largest bank in Djibouti. Its home page lists buy and sell rates for nine currencies against both the US dollar and the Djibouti franc. This guide shows how to read that board as JSON: what the rates mean, how they compare with the Federal Reserve (no Banque Centrale de Djibouti source in the product) official rate, and the calls that return them.

## What the CAC Bank board shows

- **8 currencies against the Djiboutian franc**: AED, CHF, CNY, EUR, GBP, INR, JPY and USD. Every value is DJF per 1 unit of the foreign currency.
- **The buy / sell against the djibouti franc pair.** The Djibouti franc is pegged at 177.721 per US dollar, so banks quote the dollar a fraction of a franc either side of the peg and other currencies through their dollar cross rates. No central-bank table in the product quotes DJF, so the reference check is inactive. The Federal Reserve (no Banque Centrale de Djibouti source in the product) official rate is shown next to each row.
- **USD on 15 November 2026**: CAC Bank bought at 177.5 and sold at 177.75 DJF, a spread of 0.14%.
- **No timestamp on the bank's page.** CAC Bank 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 15 November 2026, the day collection started.** Read one past day with `?date=`, or a range for one currency with the `/history` endpoint (paid plans).

## Spreads across the board

On the 15 November 2026 board the tightest spreads were JPY (0.12%), USD (0.14%), CHF (0.50%) and the widest EUR (3.77%), GBP (3.17%), INR (2.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.

## 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/dj/cacdj" \
  -H "Authorization: Bearer art_live_your_key"
```

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

```
{
  "bank": "cacdj",
  "name": "CAC International Bank",
  "country": "dj",
  "quote_ccy": "DJF",
  "bank_updated_at": null,
  "basis": "Buy / sell against the Djibouti franc",
  "captured_at": "2026-11-15T11:53:38.703Z",
  "rates": [
    {"ccy":"AED","buy":48.22845,"sell":48.50136,"mid":48.364905,"spread_pct":0.564,"official":null,"vs_official_pct":null},
    {"ccy":"CHF","buy":212.32565,"sell":213.39048,"mid":212.85807,"spread_pct":0.5,"official":null,"vs_official_pct":null},
    {"ccy":"CNY","buy":26.54642,"sell":26.7438,"mid":26.64511,"spread_pct":0.741,"official":null,"vs_official_pct":null},
    … 5 more currencies
  ],
  "disclaimer": "…",
  "attribution": { … }
}
```

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

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

```
{
  "bank": "cacdj",
  "name": "CAC International Bank",
  "country": "dj",
  "quote_ccy": "DJF",
  "bank_updated_at": null,
  "basis": "Buy / sell against the Djibouti franc",
  "captured_at": "2026-11-15T11:53:38.703Z",
  "ccy": "USD",
  "buy": 177.5,
  "sell": 177.75,
  "mid": 177.625,
  "spread_pct": 0.141,
  "official": null,
  "vs_official_pct": null,
  "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 CAC International Bank on its own website, collected by AllRatesToday",
    "bank_url": "https://www.cacintbank.com/",
    "url": "https://allratestoday.com/bank-exchange-rate-api/dj/cacdj/",
    "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/dj/cacdj?date=2026-11-15" \
  -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/dj/cacdj/history?ccy=USD&from=2026-11-15&to=2026-11-15" \
  -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' });

// CAC International Bank's USD row
const r = await client.bankRates('dj', { bank: 'cacdj', ccy: 'USD' });
console.log(`CAC Bank buys USD at ${r.buy}, sells at ${r.sell} DJF`);

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

## Python

```
import requests

r = requests.get(
    "https://allratestoday.com/api/v1/bank-rates/dj/cacdj",
    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 Federal Reserve (no Banque Centrale de Djibouti source in the product) rate is the one tax, accounting and customs rules in Djibouti name; nobody transacts at it. CAC Bank's board is the price a customer actually gets. Where the central bank has a rate for the same currency, the API returns it as `official` with `vs_official_pct` alongside; for Djibouti that is the US dollar only. Use the [Federal Reserve (no Banque Centrale de Djibouti source in the product) endpoint](https://allratestoday.com/central-bank-rates-api/fed/) when a rule asks for the official rate.

## FAQ

### Where do the CAC International Bank rates come from?

From the bank's own public rates page (https://www.cacintbank.com/), read hourly. AllRatesToday does not change the numbers: each row is the buy and sell price CAC Bank shows, with the mid, the spread and the Federal Reserve (no Banque Centrale de Djibouti source in the product) rate added.

### Are these the official DJF exchange rates?

No. They are CAC Bank's retail prices for customers. The official rate in Djibouti is the Federal Reserve (no Banque Centrale de Djibouti source in the product) 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 CAC Bank 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 CAC Bank rates for a past date?

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

## CAC International Bank rates, as JSON

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

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

## Related

- [CAC International Bank live board rates](https://allratestoday.com/bank-exchange-rate-api/dj/cacdj/)
- [All banks in Djibouti side by side](https://allratestoday.com/bank-exchange-rate-api/dj/)
- [Federal Reserve (no Banque Centrale de Djibouti source in the product) official rates API](https://allratestoday.com/central-bank-rates-api/fed/)
- [Every bank exchange rate API guide, by country](https://allratestoday.com/blog/bank-exchange-rate-api-guides/)
- [Commercial bank rates API: every bank and country](https://allratestoday.com/bank-exchange-rate-api/)
