Country comparison
Nigeria vs Algeria
Nigeria and Algeria side by side across 73 indicators — each row links to the full 54-country ranking, with sources and the API call behind every figure.
GDP$252.26B vs $269.32BNigeria vs Algeria
GDP per Capita$1,084 vs $5,753Nigeria vs Algeria
Population232.68M vs 46.81MNigeria vs Algeria
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=NG,DZ" \
-H "Authorization: Bearer $AFRICA_API_KEY"Frequently asked questions
Does Nigeria or Algeria have the larger economy?
Algeria has the larger economy: $252.26B for Nigeria versus $269.32B for Algeria (GDP, current US$).
How do Nigeria and Algeria compare across indicators?
This page compares Nigeria and Algeria on 73 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=NG,DZ with a free Africa API key to get both countries' latest values as JSON.
More comparisons