{"uid":"cap_ZIArz7e4-ppLhi_LWLaV7","slug":"macrolens-correlations-api-9f05d274","name":"MacroLens Correlations API","description":"AI-powered macro-economic analysis. FRED + World Bank data + MiMo LLM. 20 endpoints. x402 on Base.","url":"https://v1macros-lensys.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.15","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.15/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.15","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.15","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_m0l2iPTlxK4Bs4lYjZ1_f","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.15","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Computes AI-powered correlation analysis between multiple macro-economic indicators using FRED and World Bank data","exampleAgentPrompt":"Can you run a correlation analysis on these macro indicators — GDP growth, CPI inflation, and the federal funds rate — and tell me how strongly they move together?","exampleUseCases":[{"title":"Inflation driver correlation study","prompt":"I want to understand what macro indicators are most correlated with CPI inflation — can you run a correlation analysis across CPI, M2 money supply, and the federal funds rate?"},{"title":"Yield curve recession signal analysis","prompt":"Can you check how correlated the 10-year minus 2-year Treasury spread is with unemployment rate changes? I'm trying to see if the yield curve inversion is a reliable recession signal."},{"title":"Equity market macro linkage","prompt":"Run a correlation analysis for me between US GDP growth, consumer confidence index, and S&P 500 earnings growth — I want to see which macro factors move most in sync with corporate earnings."}],"resultDescription":"Returns a success flag and a data object containing correlation results between the specified economic indicators, likely including correlation coefficients or a correlation matrix derived from FRED and World Bank time series data, potentially with AI-generated interpretation from the MiMo LLM.","failureModes":["Invalid or unrecognized indicator IDs returns error","Fewer than two indicators provided may fail validation","FRED or World Bank data unavailable for requested series","Insufficient historical data overlap between indicators to compute correlation","Payment failure via x402 protocol on Base blockchain","Rate limiting or timeout on LLM analysis step"],"whenToPreferThis":"Choose this endpoint when you need to quantify the statistical relationship between multiple macroeconomic indicators backed by authoritative FRED and World Bank datasets, especially when you want AI-interpreted results rather than raw numbers. Prefer this over manual data downloads or generic statistics APIs when you need fast, pre-integrated macro data correlation with minimal setup.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-15T18:38:30.372Z","isFirstParty":false,"canonicalSlug":"macrolens-correlations-api-9f05d274"}