{"uid":"cap_8fUWjYGhuLrN0-8LO248W","slug":"macrolens-macro-intelligence-api-country-analysis-16d3e451","name":"MacroLens Macro Intelligence API — Country Analysis","description":"AI-powered macro-economic analysis. FRED + World Bank data + MiMo LLM. 20 endpoints. x402 on Base.","url":"https://marcolens.vercel.app/api/analyze","method":"POST","headers":{},"bodySchema":{"type":"object","required":["country"],"properties":{"country":{"type":"string","description":"country"}}},"responseSchema":{"type":"object","required":["success"],"properties":{"data":{"type":"object"},"success":{"type":"boolean"}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.35","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"registry","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.35/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.35","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.35","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_UWlygIxThPgZHPungSiBH","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.35","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns AI-generated macro-economic analysis for a given country, drawing on FRED and World Bank data processed by the MiMo LLM","exampleAgentPrompt":"Can you pull a full macro-economic analysis for Germany — I want AI-generated insights on GDP, inflation, monetary policy, and key economic risks, sourced from FRED and World Bank data?","exampleUseCases":[{"title":"Country risk briefing for investors","prompt":"I'm evaluating whether to invest in Brazilian markets — can you give me a macro intelligence report on Brazil covering economic indicators, inflation trends, and any major risks?"},{"title":"Economic outlook for policy research","prompt":"I need a comprehensive macroeconomic analysis of Japan for a policy research paper — pull everything you can on GDP growth, debt, monetary policy, and economic health."},{"title":"Emerging market comparison for portfolio managers","prompt":"Can you run a macro analysis on Nigeria? I want to understand the key economic drivers, current inflation situation, and overall economic stability before we allocate funds."}],"resultDescription":"A JSON object with a success boolean and a data object containing AI-generated macroeconomic analysis for the requested country, synthesizing FRED and World Bank indicators interpreted by the MiMo LLM — likely including GDP trends, inflation, monetary conditions, fiscal position, and qualitative economic assessment.","failureModes":["Country name not recognized or misspelled — returns success: false or empty data","FRED or World Bank data unavailable for the requested country — partial or no data returned","MiMo LLM inference timeout — delayed or missing analysis","Payment failure via x402 on Base — request not processed","Rate limiting or service unavailability on Vercel hosting — 503 or timeout"],"whenToPreferThis":"Choose this endpoint when you need a synthesized, AI-narrative macro-economic assessment of a specific country rather than raw time-series data. It is especially useful when you want a single call to combine multiple data sources (FRED + World Bank) and deliver an interpreted, human-readable economic briefing rather than querying each data source individually. Best for investment research, country risk assessment, economic briefings, and policy analysis workflows.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T12:40:25.942Z","isFirstParty":false}