Africa API — Country Economic Signals
africa.countries.signalsRetrieve 20–60 live macroeconomic, climate, health, and demographic indicators for an African country by ISO code to assess conditions and screen investments.
Instructions
Get a live macroeconomic snapshot for an African country. Returns 20–60 indicators across economy (GDP, inflation, trade), climate (precipitation, air quality), health (life expectancy, access to services), and demographic signals. Sources: World Bank WDI, IMF, UN, NASA POWER. Use country_code from africa.countries.list. Ideal for rapid country assessment and investment screening across 54 African nations.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"country_code": "<country_code>"
},
"name": "africa.countries.signals"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| country_code | Yes | ISO 3166-1 alpha-2 country code (2-letter lowercase, e.g. "ng" for Nigeria, "ke" for Kenya, "za" for South Africa, "eg" for Egypt, "gh" for Ghana). |
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. |