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. 49 of 54 countries, ranked · World Bank — World Development Indicators, 2025.

Latest available year varies by country (20232025). Only observations within 2 years of the freshest result are included, and each row shows its period.

#1 vs #4987×Djibouti vs Sudan
Median60.9%South Africa
Lowest2.4%Sudan

By region

regional average
Southern Africa86.4%
7 countries · led by Lesotho
East Africa84.2%
13 countries · led by Djibouti
North Africa70.8%
6 countries · led by Libya
West Africa63.2%
14 countries · led by Guinea
Central Africa61.4%
9 countries · led by Republic of the Congo

Full ranking

49 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
22Burkina Faso
65%2025
23Zambia
62.5%2024
24Gambia
62.2%2025
25South Africa
60.9%2025
26Togo
59.9%2023
27Rwanda
56.7%2025
28Cote d'Ivoire
54.6%2025
29Madagascar
54.2%2025
30Central African Republic
52.9%2025
31Egypt
51.3%2025
32Uganda
50.2%2025
33Sierra Leone
49.1%2025
34Mali
48.8%2025
35Sao Tome and Principe
46.6%2025
36Chad
46.1%2025
37Zimbabwe
41.5%2024
38Comoros
40.9%2025
39Guinea-Bissau
40.9%2025
40Malawi
39.4%2025
41Algeria
39%2025
42Tanzania
39%2025
43Kenya
37.5%2025
44Benin
37.1%2025
45Angola
34.6%2025
46Niger
33.9%2025
47Ethiopia
33.5%2025
48Cameroon
33.4%2025
49Sudan
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 49 African countries with data, at 2.4% (2025).

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

49 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 2023–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