{"uid":"cap_EkfQl9Tq9MROjcMBzHRka","slug":"macrolens-correlations-api-ceae4b56","name":"MacroLens Correlations API","description":"AI-powered macro-economic analysis. FRED + World Bank data + MiMo LLM. 20 endpoints. x402 on Base.","url":"https://marcroslencs.vercel.app/api/correlations?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","required":["indicators"],"properties":{"indicators":{"type":"array","description":"indicators"}}},"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_HdOijHCFwIzik9HBZ6zvN","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":"Computes statistical correlations between multiple macro-economic indicators using FRED and World Bank data, powered by an AI/LLM layer","exampleAgentPrompt":"Can you compute the correlations between GDP growth, CPI inflation, and the unemployment rate using MacroLens — I want to see how tightly these indicators move together?","exampleUseCases":[{"title":"Inflation and interest rate co-movement","prompt":"Run a correlation analysis between the federal funds rate, CPI, and core PCE inflation to see how tightly monetary policy tracks price levels."},{"title":"Recession indicator relationships","prompt":"Can you check the correlations between the yield curve spread, unemployment rate, and industrial production index? I want to know which pairs move most closely before recessions."},{"title":"Commodity price macro linkage","prompt":"Analyze the correlation between WTI crude oil prices, headline CPI, and the trade balance — I'm trying to understand how oil shocks ripple through the macro economy."}],"resultDescription":"Returns a JSON object containing a success flag and a data object with computed correlation coefficients between the submitted indicator pairs, likely as a matrix or pairwise statistics derived from FRED/World Bank time series data processed through the MiMo LLM layer.","failureModes":["Invalid or unrecognized indicator codes — returns success: false with error detail","Empty indicators array — validation error","Fewer than two indicators provided — insufficient for correlation computation","FRED or World Bank data unavailable for requested indicators — upstream data fetch failure","Rate limiting or payment failure via x402 — 402 Payment Required"],"whenToPreferThis":"Choose this endpoint when you need to quantify statistical relationships between multiple macro-economic time series simultaneously. It is preferable to manual FRED API calls when you want AI-interpreted correlation output without building your own data pipeline. Best for research agents, macro hedge fund analysis, or economic forecasting pipelines that need a quick pairwise relationship map across standard indicators.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-29T13:13:34.128Z","isFirstParty":false,"canonicalSlug":"macrolens-correlations-api-ceae4b56"}