Africa API — African FX Rates
africa.markets.fx_ratesRetrieve daily USD exchange rates for 50+ African currencies, including NGN, KES, ZAR, and EGP. Filter results by country code or specific quote currencies.
Instructions
Get daily USD exchange rates for all 50+ African currencies. Returns current rate per USD for NGN (Nigerian naira), KES (Kenyan shilling), ZAR (South African rand), EGP (Egyptian pound), GHS (Ghanaian cedi), ETB (Ethiopian birr), MAD (Moroccan dirham), and all other African currency pairs. Rates updated daily. Filter by country code to get the rate for a specific country's currency.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| country_code | No | Filter FX rates to the currency of a single country (ISO 3166-1 alpha-2, e.g. "ng" for NGN, "ke" for KES, "za" for ZAR). Omit to return all 50+ African currency rates. | |
| quote_currencies | No | Comma-separated list of specific quote currencies to return (e.g. "NGN,KES,ZAR,GHS,EGP"). Omit to return all available African currencies. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error | No | Present only when the call failed. Includes error code, message, request_id, and any provider-specific extras. | |
| result | No | Tool response payload. Shape varies per tool — consult the tool description and inputSchema. May be an object, array, string, or number depending on the upstream provider response. |