{"uid":"cap_0Fq9mzMfTfDqGKDud5dF5","slug":"macrolens-correlations-api-59a8c12f","name":"MacroLens Correlations API","description":"AI-powered macro-economic analysis. FRED + World Bank data + MiMo LLM. 20 endpoints. x402 on Base.","url":"https://mascronlens.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":"probe","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_yU26bQuJVBVvIgSrdpKa6","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.35","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","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":"Run a correlation analysis between US unemployment rate, CPI inflation, and 10-year Treasury yield using MacroLens — I want to see how these three macro indicators move together.","exampleUseCases":null,"resultDescription":"Returns a JSON object with a success flag and a data object containing correlation results between the specified economic indicators, likely including a correlation matrix or pairwise correlation coefficients derived from FRED and World Bank datasets, potentially with AI-generated interpretation from the MiMo LLM.","failureModes":["Invalid or unrecognized indicator codes return error","Empty indicators array causes validation failure","Insufficient historical data for correlation calculation","Rate limiting or payment failure via x402 protocol","Indicators with mismatched time ranges may yield partial results"],"whenToPreferThis":"Use this endpoint when you need to quantify the statistical relationship between multiple macroeconomic indicators (e.g. GDP, CPI, unemployment, interest rates) and want AI-assisted interpretation. Prefer this over raw FRED API access when you want correlation computation done server-side with LLM narrative. Best for investment research, economic modeling, and policy analysis workflows.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T00:46:09.248Z","isFirstParty":false}