{"uid":"cap_f3y6eHaA_2Kybwboz8N68","slug":"macrolens-correlations-api-b4161577","name":"MacroLens Correlations API","description":"AI-powered macro-economic analysis. FRED + World Bank data + MiMo LLM. 20 endpoints. x402 on Base.","url":"https://marcrons.vercel.app/api/correlations","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_iBPq3JyvobFr_pCMmo8P7","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 a set of macro-economic indicators using FRED and World Bank data, powered by MiMo LLM analysis","exampleAgentPrompt":"Can you compute the correlations between GDP growth, CPI inflation, and the unemployment rate using MacroLens — I want to see how tightly linked these three indicators are historically?","exampleUseCases":[{"title":"Recession signal correlation study","prompt":"Run a correlation analysis on these FRED indicators — federal funds rate, unemployment rate, and 10-year Treasury yield — I'm building a recession early-warning model and need to know which are most tightly linked."},{"title":"Portfolio macro risk factor analysis","prompt":"I'm managing a macro hedge fund and need to understand how correlated oil prices, the USD index, and S&P earnings growth are — can you compute their pairwise correlations using the MacroLens correlations endpoint?"},{"title":"Inflation driver identification","prompt":"Can you find correlations between M2 money supply, CPI, and PPI to help me understand which monetary indicators most reliably predict consumer price inflation?"}],"resultDescription":"Returns a success flag and a data object containing correlation results between the submitted economic indicators — likely a correlation matrix or pairwise coefficients derived from FRED and World Bank time series data, potentially enriched with LLM-generated interpretation.","failureModes":["Invalid or unrecognized indicator codes return an error or empty data","Empty indicators array causes validation failure","Rate limiting or payment failure via x402 returns 402 Payment Required","Insufficient historical data overlap between indicators may produce null correlations","Network or upstream FRED/World Bank data unavailability causes 500-level errors"],"whenToPreferThis":"Choose this endpoint when you need statistical correlation analysis across multiple macro-economic indicators sourced from authoritative datasets (FRED, World Bank) rather than building your own data pipeline. Prefer it over generic data APIs when you want pre-integrated macro data with LLM-enhanced interpretation and pay-per-call x402 pricing on Base.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T00:43:31.007Z","isFirstParty":false}