{"uid":"cap_hfmDj2YQOtN2haz7huswC","slug":"global-memoryapi-org-589c4548","name":"IMF GDP & Macroeconomic Indicators API","description":"Global macroeconomic data from IMF, World Bank, and OECD. GDP growth, inflation, interest rates, and development indicators for 180+ countries. Pay-per-request via x402 protocol on Base mainnet.","url":"https://global.memoryapi.org/x402/global/gdp","method":"GET","headers":{},"bodySchema":{"properties":{"input":{"required":["method"],"properties":{"method":{"enum":["GET"],"type":"string"}}}}},"responseSchema":{"example":{"data":[{"code":"USA","unit":"%","value":2.8,"country":"United States"}],"year":"2024","count":8,"source":"IMF World Economic Outlook","success":true,"indicator":"NGDP_RPCH","indicator_label":"Real GDP Growth (%)"}},"example":{"request":{"year":"2023","countries":"USA,CHN,DEU,GBR,JPN","indicator":"NGDP_RPCH"},"response":{"data":[{"code":"USA","unit":"%","year":"2023","value":2.9,"country":"USA"},{"code":"CHN","unit":"%","year":"2023","value":5.4,"country":"CHN"},{"code":"DEU","unit":"%","year":"2023","value":-0.9,"country":"DEU"},{"code":"GBR","unit":"%","year":"2023","value":0.3,"country":"GBR"},{"code":"JPN","unit":"%","year":"2023","value":0.7,"country":"JPN"}],"year":"2023","count":5,"source":"IMF World Economic Outlook","success":true,"indicator":"NGDP_RPCH","indicator_label":"Real GDP Growth (%)"}},"exampleRequest":{"year":"2023","countries":"USA,CHN,DEU,GBR,JPN","indicator":"NGDP_RPCH"},"tags":["x402"],"displayCostAmount":"0.001","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_MDaZpy1INjr6x5kJaheey","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Retrieves IMF GDP growth, inflation, government debt, current account balance, and GDP per capita for 180+ countries.","exampleAgentPrompt":"Pull the IMF macroeconomic indicators for Brazil — I need GDP growth, inflation, government debt, current account balance, and GDP per capita.","exampleUseCases":[{"title":"Compare inflation rates across emerging markets","prompt":"Can you fetch the latest inflation data from the IMF for Brazil, India, Mexico, and Indonesia? I want to see which country is dealing with the highest inflation right now."},{"title":"Assess government debt sustainability for portfolio","prompt":"Pull the IMF government debt figures for Italy, Spain, Greece, and Portugal as a percentage of GDP. I'm evaluating sovereign debt risk for our emerging market fund."},{"title":"Analyze economic health before expansion","prompt":"Get me the IMF macroeconomic snapshot for Vietnam, Thailand, and the Philippines — I need GDP growth, current account balance, and GDP per capita to decide where we should open our next regional office."}],"resultDescription":"Returns IMF-sourced macroeconomic data for the requested country or countries, including GDP growth rate, inflation rate, government debt as % of GDP, current account balance, and GDP per capita, drawn from the IMF's dataset covering 180+ countries.","failureModes":["Country not found or unsupported — returns error for countries outside the 180+ covered","Invalid country code or name format — malformed request returns 400-style error","Data not available for requested year — some indicators may be missing for certain periods","Payment failure — x402 micropayment not processed, request rejected","Rate limiting — too many requests in a short period"],"whenToPreferThis":"Choose this endpoint when you need authoritative IMF macroeconomic data (GDP growth, inflation, government debt, current account, GDP per capita) for a broad set of countries (180+). Prefer this over World Bank or OECD endpoints when IMF-specific figures are required, or when coverage of emerging and developing economies is important. Ideal for economic analysis, country risk assessment, financial modeling, and policy research.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T18:39:52.090Z","isFirstParty":false}