{"uid":"cap_vXt8QcXc-9Jo6PeezQhY4","slug":"macrolens-gdp-analysis-api-c0bd96f7","name":"MacroLens GDP Analysis API","description":"AI-powered macro-economic analysis. FRED + World Bank data + MiMo LLM. 20 endpoints. x402 on Base.","url":"https://marcolens.vercel.app/api/gdp","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_1ZRxR7np0s_txW0R6WPiJ","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":"Returns AI-powered GDP analysis for a given country using FRED and World Bank data processed by an LLM","exampleAgentPrompt":"Give me an AI-powered GDP analysis for Germany — pull in the latest FRED and World Bank data and tell me what the numbers mean for its economic outlook.","exampleUseCases":[{"title":"Country GDP briefing for investors","prompt":"I need a quick macro intelligence briefing on Japan's GDP — what does the data say about the size and trajectory of its economy right now?"},{"title":"Economic research on emerging markets","prompt":"Can you pull up an AI analysis of Brazil's GDP using MacroLens? I want to understand the latest World Bank and FRED figures and what they signal about growth."},{"title":"Comparing developed economy output","prompt":"Run a GDP analysis on the United States through MacroLens and give me the key takeaways from the underlying economic data."}],"resultDescription":"A JSON object with a success boolean and a data object containing GDP figures sourced from FRED and World Bank, along with AI-generated (MiMo LLM) macro-economic interpretation and insights for the requested country.","failureModes":["Invalid or unrecognized country name returns an error or empty data object","Missing required 'country' field returns a validation error","Upstream FRED or World Bank data unavailable causes partial or failed response","LLM inference failure may result in success:false with no analysis","Payment via x402 not completed results in 402 Payment Required response"],"whenToPreferThis":"Choose this endpoint when you need AI-interpreted GDP data for a specific country backed by authoritative sources (FRED + World Bank), rather than raw data feeds or manual economic lookups. Ideal for agents building macro-economic reports, investment briefs, or country risk assessments where LLM synthesis of the numbers is valuable.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T00:43:58.648Z","isFirstParty":false}