{"uid":"cap_4vaw9RadpLx_2WU1KFl-m","slug":"macrolens-macro-intelligence-api-consumer-endpoint-e0756694","name":"MacroLens Macro Intelligence API – Consumer Endpoint","description":"AI-powered macro-economic analysis. FRED + World Bank data + MiMo LLM. 20 endpoints. x402 on Base.","url":"https://marcolens.vercel.app/api/consumer","method":"POST","headers":{},"bodySchema":{"type":"object","required":["start"],"properties":{"start":{"type":"string","description":"start"}}},"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_L3x5o-I44p98dddfLm32F","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":"Provides AI-powered macro-economic analysis by combining FRED and World Bank data with MiMo LLM, returning structured economic insights for a given start period.","exampleAgentPrompt":"Can you pull a MacroLens AI macro-economic analysis starting from January 2023, combining FRED and World Bank data, and give me the key economic insights?","exampleUseCases":[{"title":"Recession risk briefing for investors","prompt":"Give me a MacroLens macro-economic analysis starting from Q1 2022 so I can assess recession indicators — I want the AI synthesis of FRED and World Bank data on growth, inflation, and employment."},{"title":"Country economic health snapshot","prompt":"I need a MacroLens macro intelligence report starting from January 2020 to understand how global economic conditions have evolved — pull the World Bank and FRED indicators and give me the AI-generated summary."},{"title":"Pre-meeting economic briefing","prompt":"Before my board meeting, can you run a MacroLens macro analysis starting from mid-2023 and tell me what the current macro environment looks like based on the latest FRED and World Bank data?"}],"resultDescription":"Returns a JSON object with a success boolean and a data object containing AI-generated macro-economic analysis synthesized from FRED and World Bank datasets, including economic indicators, trends, and LLM-interpreted insights for the requested time period.","failureModes":["Missing required 'start' field returns validation error","Invalid date/period format in 'start' may cause parsing failure or empty results","Payment failure via x402 on Base blockchain results in 402 Payment Required response","Downstream FRED or World Bank API unavailability causes data fetch errors","MiMo LLM inference timeout results in incomplete or null analysis","Malformed request body returns 400 Bad Request","Rate limiting or quota exhaustion may return 429 Too Many Requests"],"whenToPreferThis":"Choose MacroLens when you need AI-synthesized macro-economic intelligence that combines authoritative data sources (FRED + World Bank) with LLM interpretation in a single call. Prefer this over raw FRED or World Bank APIs when you want pre-analyzed insights rather than raw time-series data. Ideal for agents that need to generate economic briefings, investment research, or policy analysis without manually aggregating multiple data sources. Best suited for tasks requiring both data retrieval and narrative interpretation of macro trends.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T00:44:31.466Z","isFirstParty":false}