{"uid":"cap_CbTyEOhzHKERLoxFoUW0C","slug":"macrolens-country-risk-analysis-5dcb15df","name":"MacroLens Country Risk Analysis","description":"AI-powered macro-economic analysis. FRED + World Bank data + MiMo LLM. 20 endpoints. x402 on Base.","url":"https://marcolens.vercel.app/api/risk","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_n81OsNyinS1AsGfuIbtx6","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 risk assessment for a given country using FRED and World Bank data processed through a MiMo LLM","exampleAgentPrompt":"Can you pull up a macro-economic risk assessment for Brazil — I want to understand the current sovereign and economic risk profile before we make an investment decision there.","exampleUseCases":[{"title":"Pre-investment country risk screening","prompt":"We're considering expanding operations into Vietnam — can you run a macroeconomic risk assessment on it so I can see the key economic vulnerabilities and risk factors before we commit?"},{"title":"Emerging market portfolio monitoring","prompt":"Give me the current macro risk profile for Turkey — I need to know if the economic conditions there are deteriorating before our quarterly portfolio review."},{"title":"Country risk comparison for report","prompt":"I'm writing an analysis on frontier markets — can you get me the MacroLens risk assessment for Nigeria so I have the AI-generated macro indicators and risk scoring to include?"}],"resultDescription":"A structured JSON object containing AI-generated macroeconomic risk analysis for the specified country, likely including risk scores, economic indicators sourced from FRED and World Bank datasets, and LLM-synthesized narrative or structured risk factors.","failureModes":["Unrecognized or misspelled country name returns error or empty data","Country with insufficient FRED/World Bank data coverage may return incomplete analysis","API payment failure via x402/Base blockchain causes request rejection","Service unavailability on Vercel hosting returns 5xx error","Response success:false with no data field if analysis pipeline fails"],"whenToPreferThis":"Choose this endpoint when you need an AI-synthesized, multi-source macroeconomic risk assessment for a specific country in a single call, rather than manually aggregating FRED and World Bank indicators. It is especially useful for investment screening, portfolio risk monitoring, or economic research where you want LLM-interpreted macro risk narratives alongside underlying data signals, and are comfortable paying per-call via x402 on Base.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T00:48:00.846Z","isFirstParty":false}