Central Bank of Nigeria
CBN · Nigeria · NGN- 2001–present
- Official exchange rate
- 13 currencies
- Data source
- Terms
API examples
Frankfurter is a free, open-source API for current and historical exchange rates. The public API lives at api.frankfurter.dev. Query rates from this provider using the examples below.
Fetch provider's latest rates.
curl https://api.frankfurter.dev/v2/rates?providers=CBNFetch provider's five years of monthly rates.
curl https://api.frankfurter.dev/v2/rates?from=2021-07-22&group=month&providers=CBNFetch provider's current USD/NGN.
curl https://api.frankfurter.dev/v2/rate/USD/NGN?providers=CBNFor the full reference and more examples, see the docs.