54 countries · 127 indicators · 45 sourcesLiveGet API key

Trade · Africa ranking

Imports (% of GDP) by African country

114.8%Djibouti leads · 2024

Djibouti has the highest imports of goods and services as a share of GDP of any African country, at 114.8%, ahead of Seychelles and Somalia.

Imports of goods and services as a share of GDP. 51 of 54 countries, ranked · World Bank — World Development Indicators, 2024.

#1 vs #5190×Djibouti vs Sudan
Median31.4%Central African Republic
Lowest1.3%Sudan

By region

regional average
Southern Africa49.3%
7 countries · led by Lesotho
East Africa48.4%
15 countries · led by Djibouti
North Africa34.7%
6 countries · led by Libya
West Africa33.8%
15 countries · led by Guinea
Central Africa29.1%
8 countries · led by Democratic Republic of the Congo

Full ranking

51 of 54 countries
#CountryImports (% of GDP)Period
1Djibouti
114.8%2024
2Seychelles
103.2%2024
3Somalia
99.1%2024
4Lesotho
98.6%2023
5Mauritius
78.3%2024
6Namibia
68%2024
7Libya
56.8%2024
8Guinea
56.4%2024
9Tunisia
56.3%2024
10Cabo Verde
54%2024
11Eswatini
53.7%2024
12Mozambique
52.8%2024
13Mauritania
52.2%2024
14Democratic Republic of the Congo
51.8%2024
15Morocco
50.2%2024
16Botswana
43.7%2024
17Senegal
43.4%2024
18Republic of the Congo
40.4%2024
19Rwanda
39.1%2024
20Togo
36.6%2022
21Comoros
34.5%2024
22Ghana
34.3%2024
23Gambia
33.4%2024
24Burkina Faso
31.9%2024
25Madagascar
31.7%2024
26Central African Republic
31.4%2024
27Malawi
31.2%2023
28South Africa
29.9%2024
29Eritrea
29.2%2011
30South Sudan
28.9%2015
31Zambia
27.6%2024
32Gabon
27.5%2024
33Mali
27.3%2024
34Guinea-Bissau
27%2024
35Uganda
25.9%2024
36Equatorial Guinea
25.4%2024
37Cote d'Ivoire
25.2%2024
38Zimbabwe
23.4%2024
39Sierra Leone
23.3%2024
40Egypt
23.2%2024
41Kenya
23.1%2024
42Niger
22.7%2024
43Benin
21.8%2024
44Tanzania
21.7%2024
45Algeria
20.3%2024
46Angola
19.4%2024
47Cameroon
18.7%2024
48Chad
18.1%2024
49Nigeria
16.9%1960
50Ethiopia
11.9%2024
51Sudan
1.3%2024

Get this ranking via API

GET /v1/data

One call to /v1/data returns the latest Imports (% of GDP) figure for every country you pass — JSON, with source metadata on each observation.

curl "https://api.africa-api.com/v1/data?metric_key=imports_goods_services_pct_gdp&latest=true&country_codes=NG,KE,ZA,EG" \
  -H "Authorization: Bearer $AFRICA_API_KEY"

Cite or republish this ranking

Data: Africa APIWorld Bank — World Development Indicators, 2024. Free to republish with a link to this page. Pull the live figures via the API above so your version never goes stale.

Embed this ranking

free · auto-updating

Drop this chart into your article or site — it stays live as the data updates. Paste the snippet anywhere HTML is allowed (a citation link is included).

<iframe src="https://africa-api.com/embed/imports-gdp-share" width="100%" height="560" loading="lazy" style="border:1px solid #e3e3e3;border-radius:10px;max-width:640px" title="Imports (% of GDP) by African country — Africa API"></iframe>
<p style="font:13px/1.5 system-ui,sans-serif;margin:.5rem 0"><a href="https://africa-api.com/data/imports-gdp-share">Imports (% of GDP) by African country — Africa API</a></p>

Frequently asked questions

Which African country has the highest imports of goods and services as a share of GDP?

Djibouti has the highest imports of goods and services as a share of GDP in Africa at 114.8% (2024), followed by Seychelles and Somalia.

Which African country has the lowest imports of goods and services as a share of GDP?

Sudan has the lowest imports of goods and services as a share of GDP of the 51 African countries with data, at 1.3% (2024).

How many African countries report Imports (% of GDP) data?

51 of 54 African countries have a recent Imports (% of GDP) figure in the Africa API. Each value links to the country's full series with source and history.

How do I get this ranking via API?

Call GET /v1/data?metric_key=imports_goods_services_pct_gdp&latest=true with the country codes you need and a free Africa API key — the response returns the latest value per country as JSON.

More trade rankings