african-bank-codes
v1.0.0
Published
African bank codes, SWIFT/BIC codes and USSD shortcodes — Nigeria, Ghana, Kenya, South Africa, Egypt, Morocco, Zambia, Tanzania — plus a licensed-institution directory for the 14 WAEMU/CEMAC countries. By Mansa API.
Maintainers
Readme
African Bank Codes
Open datasets of African banking infrastructure, maintained by Mansa API — the African financial data API.
What's in here
| File | Contents | Coverage |
|---|---|---|
| data/banks.json | Bank codes (NIBSS & local), SWIFT/BIC codes, USSD shortcodes, mobile-money flags | 77 institutions — Nigeria, Ghana, Kenya, South Africa, Egypt, Morocco, Zambia, Tanzania |
| data/mobile-networks.json | Mobile network prefixes, USSD codes, mobile-money operators | 27 networks across 8 countries |
| data/registry-directory.json | Directory of every licensed credit institution in the WAEMU & CEMAC monetary zones (names + countries), verified against central-bank registers | 216 institutions — 14 francophone countries |
Example
const { banks } = require("./data/banks.json");
const gtbank = banks.find(b => b.code === "058");
// { name: "Guaranty Trust Bank (GTBank)", code: "058",
// swift_code: "GTBINGLA", ussd: "*737#", country: "NG", ... }The full registry (22 countries, 293 institutions)
The registry-verified records for the 14 WAEMU/CEMAC countries — BCEAO licence numbers, official sources, SWIFT codes, change-monitoring for bank M&A — are served by the Mansa API:
curl "https://mansaapi.com/api/v1/identity/banks?country=SN" \
-H "Authorization: Bearer YOUR_API_KEY"- Free tier: the 8 countries in
data/banks.json, plus currencies, mobile networks, holidays and location data. Get a key → - Paid tiers: the full pan-African registry, sourced from the BCEAO official register and six national CEMAC registers. Pricing →
Data quality rules
- No invented data. A
nullSWIFT or USSD field means no official source publishes one — several fintech banks (e.g. Kuda) genuinely have no USSD code, whatever the listicles say. - Provenance. Registry records are verified against official sources — the BCEAO's licensed-institutions register, national treasury lists (DGTCFM Cameroon, CNEF Congo), and banking-association rolls.
- Corrections welcome. Open an issue with a source link.
Browse without code
Every institution has a page: banks by country · USSD codes · currencies · mobile networks · public holidays
License
Data: CC BY 4.0 — free to use with attribution to Mansa API (mansaapi.com).
