Country comparison
Libya vs Morocco
Libya and Morocco side by side across 71 indicators — each row links to the full 54-country ranking, with sources and the API call behind every figure.
GDP$48.49B vs $160.61BLibya vs Morocco
GDP per Capita$6,569 vs $4,153Libya vs Morocco
Population7.38M vs 38.08MLibya vs Morocco
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=LY,MA" \
-H "Authorization: Bearer $AFRICA_API_KEY"Frequently asked questions
Does Libya or Morocco have the larger economy?
Morocco has the larger economy: $48.49B for Libya versus $160.61B for Morocco (GDP, current US$).
How do Libya and Morocco compare across indicators?
This page compares Libya and Morocco on 71 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=LY,MA with a free Africa API key to get both countries' latest values as JSON.
More comparisons