{"uid":"cap_Thb7NMZpIigolEyYmj75R","slug":"macrolens-macro-economic-outlook-api-bdf07d4d","name":"MacroLens Macro Economic Outlook API","description":"AI-powered macro-economic analysis. FRED + World Bank data + MiMo LLM. 20 endpoints. x402 on Base.","url":"https://marcolens.vercel.app/api/outlook","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.4","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.4/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.4","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.4","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_T4B-JTHhkhUz26fa6wmNe","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.4","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Generates an AI-powered macroeconomic outlook report for a specified country using FRED and World Bank data analyzed by the MiMo LLM","exampleAgentPrompt":"Can you pull a MacroLens macro economic outlook for Germany — I want an AI-powered analysis based on FRED and World Bank data covering the current economic conditions?","exampleUseCases":[{"title":"Investment thesis country screening","prompt":"I'm evaluating emerging market investments — can you get me a macroeconomic outlook for Brazil using MacroLens so I can understand the current economic conditions before committing capital?"},{"title":"Geopolitical economic risk assessment","prompt":"Pull a MacroLens macro outlook for Turkey — I need to understand the economic risks and key indicators there for a risk report I'm writing."},{"title":"Academic economic research briefing","prompt":"I need a quick AI-powered macroeconomic summary for Japan combining FRED and World Bank data — can you generate that through MacroLens for my research paper?"}],"resultDescription":"Returns a structured JSON object with a success flag and a data object containing an AI-generated macroeconomic outlook for the specified country, synthesizing FRED and World Bank indicators with LLM-produced narrative analysis covering economic conditions, trends, and key metrics.","failureModes":["Invalid or unrecognized country name returns an error or empty data","Network or LLM inference timeout causes failed response","Payment failure via x402/Base blockchain results in 402 response before analysis is returned","Sparse data availability for smaller or sanctioned countries may yield incomplete analysis","success: false returned with no data object if the backend pipeline fails"],"whenToPreferThis":"Choose this endpoint when you need a comprehensive, AI-synthesized macroeconomic narrative for a specific country rather than raw data series. It is ideal when you want FRED and World Bank indicators interpreted and contextualized by an LLM in a single call, rather than querying individual data sources separately and writing your own analysis. Best suited for investment screening, risk assessment, or economic briefing use cases where a readable, structured outlook is more valuable than raw numbers.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T00:40:10.182Z","isFirstParty":false}