Country comparison
Nigeria vs Tanzania
Nigeria and Tanzania 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$252.26B vs $78.84BNigeria vs Tanzania
GDP per Capita$1,084 vs $1,187Nigeria vs Tanzania
Population232.68M vs 68.56MNigeria vs Tanzania
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,TZ" \
-H "Authorization: Bearer $AFRICA_API_KEY"Frequently asked questions
Does Nigeria or Tanzania have the larger economy?
Nigeria has the larger economy: $252.26B for Nigeria versus $78.84B for Tanzania (GDP, current US$).
How do Nigeria and Tanzania compare across indicators?
This page compares Nigeria and Tanzania 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=NG,TZ with a free Africa API key to get both countries' latest values as JSON.
More comparisons