54 countries · 127 indicators · 45 sourcesLiveGet API key

Economy · Africa ranking

Trade Openness (% of GDP) by African country

241.2%Djibouti leads · 2024

Djibouti has the highest trade as a share of GDP of any African country, at 241.2% — 1.3× Seychelles's 188.4%.

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

#1 vs #51121×Djibouti vs Sudan
Median60.5%Equatorial Guinea
Lowest2%Sudan

By region

regional average
Southern Africa85.1%
7 countries · led by Lesotho
East Africa84.5%
15 countries · led by Djibouti
North Africa68.2%
6 countries · led by Libya
Central Africa65.7%
8 countries · led by Democratic Republic of the Congo
West Africa59.2%
15 countries · led by Guinea

Full ranking

51 of 54 countries
#CountryTrade Openness (% of GDP)Period
1Djibouti
241.2%2024
2Seychelles
188.4%2024
3Mauritius
145.4%2024
4Lesotho
141.5%2023
5Somalia
130.3%2024
6Libya
128.8%2024
7Namibia
109.6%2024
8Eswatini
107.5%2024
9Tunisia
106.3%2024
10Democratic Republic of the Congo
100.6%2024
11Guinea
97.8%2024
12Cabo Verde
96.5%2024
13Mozambique
95.7%2024
14Mauritania
93.6%2024
15Republic of the Congo
93.2%2024
16Morocco
92.2%2024
17Gabon
92%2024
18Botswana
71.1%2024
19Rwanda
70%2024
20Ghana
69.8%2024
21Senegal
68.1%2024
22South Sudan
65.6%2015
23Zambia
62.5%2024
24South Africa
61.6%2024
25Togo
61.6%2022
26Equatorial Guinea
60.5%2024
27Burkina Faso
60.5%2024
28Madagascar
55%2024
29Cote d'Ivoire
51.3%2024
30Angola
50.8%2024
31Niger
50%2024
32Mali
49.9%2024
33Chad
47.9%2024
34Eritrea
47.4%2011
35Central African Republic
46.4%2024
36Comoros
44.4%2024
37Uganda
42.7%2024
38Malawi
42.4%2023
39Gambia
42.2%2024
40Tanzania
41.5%2024
41Zimbabwe
41.5%2024
42Benin
40.6%2024
43Sierra Leone
40.5%2024
44Kenya
40.2%2024
45Algeria
40.1%2024
46Egypt
39.6%2024
47Guinea-Bissau
38.8%2024
48Cameroon
34.4%2024
49Nigeria
26.2%1960
50Ethiopia
17.4%2024
51Sudan
2%2024

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, 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/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 241.2% (2024), followed by Seychelles and Mauritius.

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

Sudan has the lowest trade as a share of GDP of the 51 African countries with data, at 2% (2024).

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

51 of 54 African countries have a recent Trade Openness (% 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=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