{"uid":"cap_LzogVF29O5gt0YTN-pXjF","slug":"macrolens-gdp-analysis-endpoint-6ee57763","name":"MacroLens GDP Analysis Endpoint","description":"AI-powered macro-economic analysis. FRED + World Bank data + MiMo LLM. 20 endpoints. x402 on Base.","url":"https://marcroslencs.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_vnv0vt11MGg0z6tO9RvHS","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 specified country using FRED and World Bank data processed by MiMo LLM","exampleAgentPrompt":"Pull the MacroLens GDP analysis for Germany — I want the AI-interpreted breakdown of their economic output using the latest FRED and World Bank data.","exampleUseCases":[{"title":"Country economic health snapshot","prompt":"Give me the full GDP analysis for Brazil right now — I want the AI-interpreted macro view using FRED and World Bank numbers."},{"title":"Investment research briefing","prompt":"I'm researching emerging markets — pull the MacroLens GDP analysis for India so I can see the latest economic output data and what the AI makes of it."},{"title":"Academic macro comparison","prompt":"I need the GDP analysis for Japan from MacroLens — I'm writing a report on developed economies and want the FRED plus World Bank-backed AI summary."}],"resultDescription":"A JSON object containing a success flag and a data object with AI-generated GDP analysis for the requested country, drawing on FRED and World Bank datasets interpreted by the MiMo LLM — likely including GDP figures, growth trends, and macro commentary.","failureModes":["Invalid or unrecognized country name returns an error or empty data object","Missing required 'country' field in request body causes a 400-level error","Upstream FRED or World Bank data unavailable leads to incomplete analysis","Payment not processed via x402 protocol results in 402 Payment Required","LLM inference timeout causes delayed or failed response"],"whenToPreferThis":"Choose this endpoint when you need AI-synthesized GDP analysis for a specific country that combines raw FRED and World Bank data with LLM-generated interpretation, rather than just raw GDP figures from a data provider. Ideal when you want both the numbers and an intelligent macro narrative in one call, and are operating within the x402 micropayment ecosystem on Base.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T12:40:25.941Z","isFirstParty":false}