{"answer":"Foreign direct investment, net (BoP, current US$), ranking of Africa (AFRICA) for 2023: rank 1 is Angola with 2,152,988,344.47 current US$, rank 44 Egypt with -9,450,200,000 current US$; 44 of 58 members ranked, 14 without a value (see missing).","measure":"Foreign direct investment, net (BoP, current US$)","unit":"current US$","group":"AFRICA","group_name":"Africa","members":58,"period":"2023","ranked_among":44,"columns":["place","period","value","rank"],"highest":[["AO","2023",2152988344.47,1],["MA","2023",166262922.634,2],["KM","2023",-5352754.89433,3],["ST","2023",-11017001.383,4],["GW","2023",-24827977.3198,5],["LS","2023",-24935423.7354,6],["BI","2023",-32859640.7841,7],["SZ","2023",-50063168.1604,8],["BF","2023",-64349629.2196,9],["DJ","2023",-137009451,10]],"lowest":[["EG","2023",-9450200000,44],["ZA","2023",-6656241496.1,43],["SN","2023",-4719258570.3,42],["ET","2023",-3262966283.52,41],["UG","2023",-2993138189.77,40],["NA","2023",-2601783071.61,39],["MZ","2023",-2509403270.14,38],["CD","2023",-2375258886.52,37],["CI","2023",-2002998005.86,36],["MU","2023",-1780581632.55,35]],"note":"Rank 1 is the highest value; equal values share a rank. highest holds the first 10 ranks, lowest the last 10 ranks not already in highest, lowest value first.","missing":[{"reason":"not in the archive (the publisher has no value for this member)","places":["EH","RE","SH","SO","YT"]},{"reason":"no value for 2023 yet (newest value of each in last)","places":["SD","CG","TG","SS","GA","ER","GQ","CF","TD"],"last":[["SD","2025",-1899.8],["CG","2021",330178307.97],["TG","2020",-53056159.8038],["SS","2019",2210000],["GA","2015",-25253212.3378],["ER","2000",-27875536.9416],["GQ","1996",-376180404.221],["CF","1994",3602275.00893],["TD","1994",-26512744.0657]]}],"member_list":{"as_of":"2026-11-15","source":"https://download.geonames.org/export/dump/countryInfo.txt"},"source":"World Bank World Development Indicators","license":"World Bank CC-BY 4.0 Open Data","terms_url":"https://www.worldbank.org/en/about/legal/terms-of-use-for-datasets","as_of":"2026-11-05","source_url":"https://data.worldbank.org/indicator/BN.KLT.DINV.CD","checked":"2026-11-05","links":{"page":"https://api.agentdatahub.de/rankings/wb.BN.KLT.DINV.CD/AFRICA","table":"https://api.agentdatahub.de/tables/wb.BN.KLT.DINV.CD/AFRICA.json","dataset":"https://api.agentdatahub.de/datasets/wb.BN.KLT.DINV.CD","other_groups":"https://api.agentdatahub.de/rankings/wb.BN.KLT.DINV.CD/{group}.json","groups":["EU27","EA","G7","G20","OECD","ASEAN","BRICS","OPEC","GCC","AFRICAN_UNION","NORDIC","ASIA","EUROPE","NORTH_AMERICA","SOUTH_AMERICA","OCEANIA","AMERICAS","WORLD","HIC","UMC","LMC","LIC","EAS","ECS","LCN","MEA","NAC","SAS","SSF"]}}