{"uid":"cap_6IvV8-jBYIRO0hFivnAsH","slug":"macrolens-inflation-analysis-api-4ef063b7","name":"MacroLens Inflation Analysis API","description":"AI-powered macro-economic analysis. FRED + World Bank data + MiMo LLM. 20 endpoints. x402 on Base.","url":"https://makrolens.vercel.app/api/inflation","method":"POST","headers":{},"bodySchema":{"type":"object","required":["indicator"],"properties":{"indicator":{"type":"string","description":"indicator"}}},"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_NVjlor6x-ECE6FxvD7Ru8","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 inflation analysis for a given economic indicator using FRED and World Bank data processed by an LLM","exampleAgentPrompt":"Can you pull MacroLens inflation analysis for the CPI indicator and give me an AI-powered breakdown of what the data is showing right now?","exampleUseCases":[{"title":"Inflation trend monitoring for investors","prompt":"Use MacroLens to analyze the CPIAUCSL indicator and tell me what the current inflation trend looks like — I want the AI interpretation, not just raw numbers."},{"title":"Research report on PCE inflation","prompt":"I'm writing a macro research note — can you fetch the MacroLens inflation analysis for the PCE indicator and summarize the key findings?"},{"title":"Automated macro dashboard data pull","prompt":"Pull the latest inflation data from MacroLens for the INFLATION indicator and give me a structured breakdown so I can update my macro dashboard."}],"resultDescription":"A JSON object with a 'success' boolean and a 'data' object containing AI-interpreted inflation metrics and analysis derived from FRED and World Bank datasets, likely including trend summaries, current readings, and LLM-generated narrative interpretation of the inflation indicator.","failureModes":["Missing or invalid 'indicator' parameter returns an error","Unknown or unsupported indicator code may return empty data or an error","Insufficient USDC balance or failed x402 payment results in a 402 Payment Required response","FRED or World Bank data unavailability may cause upstream failures","LLM inference timeout could cause delayed or failed responses"],"whenToPreferThis":"Choose this endpoint when you need AI-synthesized inflation analysis that combines raw FRED and World Bank data with LLM-generated interpretation, rather than just fetching raw economic data. Ideal for agents needing human-readable macro insights rather than raw time-series data, and for workflows requiring on-demand, paid per-call macro intelligence without managing data pipelines.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T12:39:37.652Z","isFirstParty":false}