{"uid":"cap_-qHMIkJQYUux99i687Tvo","slug":"macrolens-compare-countries-endpoint-7b6a3320","name":"MacroLens Compare Countries Endpoint","description":"AI-powered macro-economic analysis. FRED + World Bank data + MiMo LLM. 20 endpoints. x402 on Base.","url":"https://marcrons.vercel.app/api/compare","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.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_Wzfew_Z-gZnEo1Su-vIEr","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":"Compares macroeconomic indicators across multiple countries using FRED and World Bank data, analyzed by an LLM.","exampleAgentPrompt":"Can you compare the macroeconomic profiles of the United States, Germany, and Japan — I want to see how their key economic indicators stack up against each other?","exampleUseCases":[{"title":"G7 economic benchmarking report","prompt":"Compare the macroeconomic fundamentals of the US, UK, Germany, France, Japan, Canada, and Italy — I need a breakdown of how each G7 country stacks up on key indicators."},{"title":"Emerging market investment screening","prompt":"Can you compare the economic health of Brazil, India, Indonesia, and Mexico? I'm trying to figure out which of these emerging markets looks strongest right now."},{"title":"Regional trade partner analysis","prompt":"Compare the economies of South Korea, Vietnam, and Taiwan — I want to understand their relative economic strengths before deciding where to expand our supply chain."}],"resultDescription":"A structured JSON object containing a comparative macroeconomic analysis across the specified countries, drawing on FRED and World Bank datasets and synthesized by the MiMo LLM. Includes economic indicators such as GDP, inflation, unemployment, and other key metrics, along with AI-generated narrative comparison insights.","failureModes":["Unrecognized country names may cause lookup failures or missing data","Too many countries in one request may time out or return partial data","FRED or World Bank data may be unavailable or stale for certain countries","LLM synthesis may produce generic comparisons if underlying data is sparse","Payment failure via x402 on Base will block the request","Missing required 'countries' array returns validation error"],"whenToPreferThis":"Choose this endpoint when you need a side-by-side AI-synthesized macroeconomic comparison of two or more countries, combining raw economic data from FRED and World Bank with LLM-generated narrative analysis. Prefer this over raw data APIs when you want both structured indicators and interpretive intelligence in a single call, and when you are comfortable paying per-call via x402 on Base blockchain.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T18:41:48.695Z","isFirstParty":false}