{"uid":"cap_A6v3A9FUNmz7H1MuiC-pC","slug":"alphalens-macro-analysis-endpoint-cca83d72","name":"AlphaLens Macro Analysis Endpoint","description":"AI-powered stock analysis, technical indicators, sentiment scoring, and portfolio risk. 11 endpoints. Pay per request via x402 on Base chain.","url":"https://alphacook.vercel.app/api/macro?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","required":["context"],"properties":{"context":{"type":"string","description":"context"}}},"responseSchema":{"type":"object","required":["success"],"properties":{"data":{"type":"object"},"success":{"type":"boolean"}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.1","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.1/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.1","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.1","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_08H24C65bIA8MWLdsiVsq","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.1","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Analyzes macroeconomic context and its implications for stocks and portfolio risk using AI-powered interpretation","exampleAgentPrompt":"Can you run a macro analysis on the current environment — inflation is cooling, the Fed is on hold, and there's uncertainty around global growth — and tell me what that means for equities right now?","exampleUseCases":[{"title":"Macro impact on growth vs value","prompt":"Given that interest rates are staying elevated and inflation is slowly coming down, can you analyze what the current macro environment means for growth stocks versus value stocks in my portfolio?"},{"title":"Emerging market macro risk check","prompt":"I've got exposure to emerging markets and I'm worried about dollar strength, slowing Chinese growth, and commodity price swings — can you run a macro analysis and tell me what risks I should be thinking about?"},{"title":"Rate and inflation portfolio read","prompt":"The Fed just signaled it's holding rates steady for longer and core inflation is still sticky — can you break down what that macro backdrop means for my equity holdings and where I should be repositioning?"}],"resultDescription":"Returns a structured object with a success flag and a data object containing AI-generated macroeconomic analysis, including interpretation of the provided context and its implications for stocks or portfolios.","failureModes":["Missing required 'context' field returns validation error","Vague or empty context string may yield low-quality or generic analysis","Network timeout on vercel.app cold start","Payment failure via x402 on Base chain blocks the request","Overly long context string may be truncated or rejected"],"whenToPreferThis":"Use this endpoint when you need AI-powered interpretation of macroeconomic narratives and their implications for equity markets, especially when you have a descriptive context string summarizing current economic conditions. Prefer this over general-purpose LLMs when you want a structured, investable output with a success/data response format, and when you need to pay per-call without a subscription.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-18T18:40:04.781Z","isFirstParty":false,"canonicalSlug":"alphalens-macro-analysis-endpoint-cca83d72"}