{"answer":"Foreign direct investment, net inflows (BoP, current US$), ranking of Upper-middle-income economies (World Bank) (UMC) for 2025: the group as a whole 364,976,882,687 USD (published as XT, not summed); rank 1 is China with 79,979,865,650 USD, rank 57 Iraq with -7,618,200,000 USD; 57 of 58 members ranked, 1 without a value (see missing).","measure":"Foreign direct investment, net inflows (BoP, current US$)","unit":"USD","group":"UMC","group_name":"Upper-middle-income economies (World Bank)","members":58,"period":"2025","group_value":{"place":"XT","period":"2025","value":364976882687.447,"series":"https://api.agentdatahub.de/api/v1/series/wb.BX.KLT.DINV.CD.WD.XT"},"ranked_among":57,"columns":["place","period","value","rank"],"highest":[["CN","2025",79979865650,1],["BR","2025",77676162911.6,2],["MX","2025",44581815369,3],["ID","2025",22698158405.3,4],["VN","2025",21990000000,5],["MY","2025",21618816971.3,6],["TH","2025",18525241853.3,7],["TR","2025",12971000000,8],["CO","2025",11571143771.3,9],["PE","2025",10352930321,10]],"lowest":[["IQ","2025",-7618200000,57],["ZA","2025",-2160797069.87,56],["KZ","2025",-916402249.798,55],["BW","2025",-648995319.13,54],["TV","2025",234966,53],["BZ","2025",240003.705153,52],["WS","2025",2222070.22944,51],["MH","2025",3211831,50],["TO","2025",17898224.1956,49],["DM","2025",49478934.0741,48]],"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":"no value for 2025 yet (newest value of each in last)","places":["FM"],"last":[["FM","2014",20209300]]}],"member_list":{"as_of":"2026-12-03","source":"https://datahelpdesk.worldbank.org/knowledgebase/articles/906519-world-bank-country-and-lending-groups"},"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-30","source_url":"https://data.worldbank.org/indicator/BX.KLT.DINV.CD.WD","checked":"2026-11-30","links":{"page":"https://api.agentdatahub.de/rankings/wb.BX.KLT.DINV.CD.WD/UMC","table":"https://api.agentdatahub.de/tables/wb.BX.KLT.DINV.CD.WD/UMC.json","dataset":"https://api.agentdatahub.de/datasets/wb.BX.KLT.DINV.CD.WD","other_groups":"https://api.agentdatahub.de/rankings/wb.BX.KLT.DINV.CD.WD/{group}.json","groups":["EU27","EA","G7","G20","OECD","ASEAN","BRICS","OPEC","GCC","AFRICAN_UNION","NORDIC","AFRICA","ASIA","EUROPE","NORTH_AMERICA","SOUTH_AMERICA","OCEANIA","AMERICAS","WORLD","HIC","LMC","LIC","EAS","ECS","LCN","MEA","NAC","SAS","SSF"]}}