Sample data — local preview only. In production every figure is the live value served by the API.
Country comparison
Kenya vs Nigeria
Kenya and Nigeria side by side across 0 indicators — each row links to the full 54-country ranking, with sources and the API call behind every figure.
Indicator by indicator
| Indicator | Kenya | Nigeria |
|---|
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,NG" \
-H "Authorization: Bearer $AFRICA_API_KEY"Frequently asked questions
How do Kenya and Nigeria compare across indicators?
This page compares Kenya and Nigeria on 0 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,NG with a free Africa API key to get both countries' latest values as JSON.
More comparisons