{"uid":"cap_OylWcRvTSMOsEFc_gHh2g","slug":"macrolens-correlations-api-9a70d63b","name":"MacroLens Correlations API","description":"AI-powered macro-economic analysis. FRED + World Bank data + MiMo LLM. 20 endpoints. x402 on Base.","url":"https://makrolens.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_e9CO6qVAz011O1QR2DCvI","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 AI-powered correlation analysis between macro-economic indicators using FRED and World Bank data","exampleAgentPrompt":"Can you run a correlation analysis on these macro indicators — US unemployment rate, CPI inflation, and the federal funds rate — and tell me how strongly they're related to each other?","exampleUseCases":[{"title":"Inflation and interest rate relationship","prompt":"I want to understand how closely correlated US CPI inflation is with the federal funds rate and 10-year Treasury yield — can you compute the correlations between those three indicators?"},{"title":"Leading indicator discovery for GDP","prompt":"Which economic indicators are most correlated with US GDP growth? Run a correlation analysis across unemployment, industrial production, retail sales, and consumer sentiment."},{"title":"Cross-asset macro regime analysis","prompt":"I'm building a macro dashboard — can you compute correlations between oil prices, USD index, and US inflation to understand how they move together?"}],"resultDescription":"Returns a success flag and a data object containing the computed correlation results between the submitted economic indicators, including pairwise correlation coefficients and potentially statistical significance derived from FRED and World Bank datasets analyzed via MiMo LLM.","failureModes":["Invalid or unrecognized indicator codes return an error","Empty indicators array causes validation failure","Fewer than two indicators provided prevents correlation computation","FRED or World Bank data unavailable for selected indicators","Payment not completed results in 402 response","Rate limit exceeded for the x402 payment session"],"whenToPreferThis":"Choose this endpoint when you need AI-augmented correlation analysis between named macro-economic indicators sourced from authoritative datasets (FRED, World Bank) without building your own data pipeline. Ideal for economic research agents, financial dashboards, and policy analysis workflows where understanding statistical relationships between indicators is the primary goal.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T06:35:42.528Z","isFirstParty":false}