{"uid":"cap_8VLKkEY3ydrWzkZDRU1dd","slug":"macrolens-compare-countries-endpoint-656a7432","name":"MacroLens Compare Countries Endpoint","description":"AI-powered macro-economic analysis. FRED + World Bank data + MiMo LLM. 20 endpoints. x402 on Base.","url":"https://v1macros-lensys.vercel.app/api/compare?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","required":["countries"],"properties":{"countries":{"type":"array","description":"countries"}}},"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__L6C2IuirPAIoxULdyb9-","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":"Compares macroeconomic indicators across multiple countries using FRED, World Bank data, and AI-powered analysis via MiMo LLM","exampleAgentPrompt":"Can you compare the macroeconomic performance of the United States, Germany, and Japan — things like GDP growth, inflation, and debt levels — and tell me which country looks strongest right now?","exampleUseCases":[{"title":"Emerging market investment screening","prompt":"Compare the macroeconomic indicators for Brazil, India, and Vietnam — I want to know which of these emerging markets has the best fundamentals for a long-term investment thesis."},{"title":"G7 economic health benchmarking","prompt":"Run a macro comparison across all G7 countries — USA, UK, Germany, France, Italy, Canada, and Japan — and highlight which ones are showing the most economic stress right now."},{"title":"Regional trade bloc comparison","prompt":"Compare the economic performance of China, South Korea, and Taiwan side by side — focus on growth, trade balance, and inflation — I'm trying to understand the relative strength of East Asian economies."}],"resultDescription":"Returns a structured object with a success flag and a data payload containing AI-interpreted comparative macroeconomic indicators for the specified countries, sourced from FRED and World Bank datasets and analyzed by the MiMo LLM. Includes metrics such as GDP growth, inflation, debt ratios, unemployment, and other key macro variables presented in a comparable format across the requested countries.","failureModes":["Invalid or unrecognized country names return error or empty data","Empty countries array may return validation error","Countries with limited FRED/World Bank data coverage may return incomplete comparisons","Payment failure on Base blockchain prevents call from completing","Timeout if LLM analysis takes too long for large country sets","success: false returned with no data if upstream data sources are unavailable"],"whenToPreferThis":"Use this endpoint when you need AI-synthesized cross-country macroeconomic comparison rather than raw data lookup. It is ideal when comparing 2 or more countries on broad economic health, since the MiMo LLM adds interpretive context on top of FRED and World Bank data. Prefer this over single-country endpoints when the user's goal is benchmarking or ranking countries by economic indicators.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-12-02T00:32:33.816Z","isFirstParty":false,"canonicalSlug":"macrolens-compare-countries-endpoint-656a7432"}