{"uid":"cap_b7B7N3pRprBUuixtN5gob","slug":"macrolens-risk-api-country-macro-risk-analysis-df304169","name":"MacroLens Risk API — Country Macro Risk Analysis","description":"AI-powered macro-economic analysis. FRED + World Bank data + MiMo LLM. 20 endpoints. x402 on Base.","url":"https://v1macros-lensys.vercel.app/api/risk?utm_source=zero.xyz","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.15","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.15/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.15","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.15","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_ZQ85qNSTeet6f9ceipfAk","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.15","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns AI-generated macroeconomic risk assessment for a specified country using FRED and World Bank data processed by MiMo LLM","exampleAgentPrompt":"Can you run a MacroLens macro risk assessment for Brazil — I need to understand the country's current macroeconomic risk profile before we finalize this investment decision?","exampleUseCases":[{"title":"Pre-investment country risk screening","prompt":"I'm evaluating whether to expand our portfolio into Vietnam — can you pull the MacroLens macro risk analysis for Vietnam so I can see the economic risk profile?"},{"title":"Emerging market risk comparison","prompt":"We're deciding between Nigeria and Kenya for a new market entry — can you get the MacroLens macro risk assessments for both countries so I can compare their economic risk levels?"},{"title":"Sovereign debt risk monitoring","prompt":"I need to check the current macroeconomic risk level for Argentina using MacroLens — we hold some sovereign bonds and want to stay on top of any deteriorating indicators."}],"resultDescription":"Returns a structured object with a success flag and a data object containing AI-synthesized macroeconomic risk indicators and risk scores for the specified country, drawing on FRED and World Bank datasets processed through the MiMo LLM.","failureModes":["Unrecognized or misspelled country name returns error or empty data","Country not covered by FRED/World Bank data sources may return incomplete results","Upstream data provider outages may cause failure or stale data","Rate limiting or payment failure (x402) if USDC balance is insufficient","Vercel cold start may cause occasional latency spikes"],"whenToPreferThis":"Choose this endpoint when you need AI-synthesized country-level macroeconomic risk analysis that combines multiple authoritative data sources (FRED, World Bank) with LLM-generated narrative or scoring — particularly useful for investment screening, market entry decisions, or sovereign risk monitoring where a single-API aggregated view is needed rather than pulling raw indicator data manually.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-19T00:42:26.460Z","isFirstParty":false,"canonicalSlug":"macrolens-risk-api-country-macro-risk-analysis-df304169"}