Country comparison
Kenya vs Ghana
Kenya and Ghana side by side across 74 indicators — each row links to the full 54-country ranking, with sources and the API call behind every figure.
GDP$120.34B vs $82.31BKenya vs Ghana
GDP per Capita$2,132 vs $2,391Kenya vs Ghana
Population56.43M vs 34.43MKenya vs Ghana
Indicator by indicator
Get this comparison via API
One call returns both countries' latest value for any indicator — JSON, with source metadata.
curl "https://api.africa-api.com/v1/data?metric_key=gdp_current_usd&latest=true&country_codes=KE,GH" \
-H "Authorization: Bearer $AFRICA_API_KEY"Frequently asked questions
Does Kenya or Ghana have the larger economy?
Kenya has the larger economy: $120.34B for Kenya versus $82.31B for Ghana (GDP, current US$).
How do Kenya and Ghana compare across indicators?
This page compares Kenya and Ghana on 74 indicators — economy, demographics, health, governance and more — each with its latest value, source, and a link to the full 54-country ranking.
How do I get this comparison via the API?
Call GET /v1/data?metric_key=<key>&latest=true&country_codes=KE,GH with a free Africa API key to get both countries' latest values as JSON.
More comparisons