54 countries · 127 indicators · 45 sourcesLiveGet API key

Economy · Africa ranking

Trade Openness (% of GDP) by African country

206.3%Djibouti leads · 2025

Djibouti has the highest trade as a share of GDP of any African country, at 206.3% — 1.2× Seychelles's 172.3%.

Exports plus imports of goods and services as a share of GDP. 52 of 54 countries, ranked · World Bank — World Development Indicators, 2025.

Latest available year varies by country (19602025); each row shows its year, and values more than 5 years behind the most recent are marked .

#1 vs #5287×Djibouti vs Sudan
Median59.9%Togo
Lowest2.4%Sudan

By region

regional average
Southern Africa86.4%
7 countries · led by Lesotho
East Africa80.5%
15 countries · led by Djibouti
North Africa70.8%
6 countries · led by Libya
Central Africa61.4%
9 countries · led by Republic of the Congo
West Africa60.7%
15 countries · led by Guinea

Full ranking

52 of 54 countries
#CountryTrade Openness (% of GDP)Period
1Djibouti
206.3%2025
2Seychelles
172.3%2025
3Lesotho
154%2025
4Mauritius
139.9%2025
5Libya
137.7%2025
6Somalia
128.1%2025
7Namibia
108.6%2025
8Eswatini
107.5%2024
9Guinea
103.7%2025
10Tunisia
101.4%2025
11Mozambique
97.1%2025
12Cabo Verde
95.3%2025
13Mauritania
94%2025
14Morocco
93.1%2025
15Republic of the Congo
91.7%2025
16Democratic Republic of the Congo
87.3%2025
17Gabon
84.9%2025
18Equatorial Guinea
74.9%2025
19Senegal
71.1%2025
20Botswana
69.5%2025
21Ghana
69%2024
22South Sudan
65.6% ⚠ ’152015
23Burkina Faso
65%2025
24Zambia
62.5%2024
25Gambia
62.2%2025
26South Africa
60.9%2025
27Togo
59.9%2023
28Rwanda
56.7%2025
29Cote d'Ivoire
54.6%2025
30Madagascar
54.2%2025
31Central African Republic
52.9%2025
32Egypt
51.3%2025
33Uganda
50.2%2025
34Sierra Leone
49.1%2025
35Mali
48.8%2025
36Eritrea
47.4% ⚠ ’112011
37Sao Tome and Principe
46.6%2025
38Chad
46.1%2025
39Zimbabwe
41.5%2024
40Comoros
40.9%2025
41Guinea-Bissau
40.9%2025
42Malawi
39.4%2025
43Algeria
39%2025
44Tanzania
39%2025
45Kenya
37.5%2025
46Benin
37.1%2025
47Angola
34.6%2025
48Niger
33.9%2025
49Ethiopia
33.5%2025
50Cameroon
33.4%2025
51Nigeria
26.2% ⚠ ’601960
52Sudan
2.4%2025

Get this ranking via API

GET /v1/data

One call to /v1/data returns the latest Trade Openness (% 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=trade_openness_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, 2025. 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/trade-openness" width="100%" height="560" loading="lazy" style="border:1px solid #e3e3e3;border-radius:10px;max-width:640px" title="Trade Openness (% 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/trade-openness">Trade Openness (% of GDP) by African country — Africa API</a></p>

Frequently asked questions

Which African country has the highest trade as a share of GDP?

Djibouti has the highest trade as a share of GDP in Africa at 206.3% (2025), followed by Seychelles and Lesotho.

Which African country has the lowest trade as a share of GDP?

Sudan has the lowest trade as a share of GDP of the 52 African countries with data, at 2.4% (2025).

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

52 of 54 African countries have a Trade Openness (% of GDP) figure in the Africa API, each from the latest year available for that country (which can differ between countries, here 1960–2025). Every value links to its full series with source and history.

How do I get this ranking via API?

Call GET /v1/data?metric_key=trade_openness_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 economy rankings