{"uid":"cap_Ayo_Atv-3NQU1HqyCIPJV","slug":"alphalens-portfolio-risk-analysis-cd90ffc4","name":"AlphaLens Portfolio Risk Analysis","description":"AI-powered stock analysis, technical indicators, sentiment scoring, and portfolio risk. 11 endpoints. Pay per request via x402 on Base chain.","url":"https://alphacx402.vercel.app/api/portfolio?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","required":["holdings"],"properties":{"holdings":{"type":"array","description":"holdings"}}},"responseSchema":{"type":"object","required":["success"],"properties":{"data":{"type":"object"},"success":{"type":"boolean"}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.2","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.2/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.2","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.2","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_xkmylrtuNn04uKZb4dd9m","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.2","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Analyzes a portfolio of stock holdings to compute risk metrics, diversification scores, and AI-powered portfolio-level intelligence","exampleAgentPrompt":"Can you analyze the risk across my stock portfolio? I'm holding AAPL at 40%, NVDA at 30%, TSLA at 20%, and MSFT at 10% — tell me how risky and diversified this mix is.","exampleUseCases":[{"title":"Retail investor portfolio health check","prompt":"I want to know how risky my current portfolio is — I hold AAPL, AMZN, GOOGL, and NVDA in roughly equal parts. Give me a full risk and diversification breakdown."},{"title":"Rebalancing decision support","prompt":"I'm thinking about rebalancing my portfolio. Right now I have 60% in SPY, 25% in QQQ, and 15% in TSLA. Can you run a portfolio risk analysis so I know where I stand before I make changes?"},{"title":"Concentrated position risk alert","prompt":"I've got 70% of my investments in NVDA and 30% in AMD — can you tell me how concentrated and risky that portfolio is from a stock intelligence perspective?"}],"resultDescription":"Returns a JSON object with a success flag and a data object containing AI-powered portfolio risk metrics, diversification scores, and other portfolio-level analysis computed from the submitted holdings array.","failureModes":["Missing or empty holdings array returns validation error","Invalid ticker symbols may result in incomplete analysis or error","Malformed holdings objects (missing required fields) cause request failure","Network or upstream data provider outages return service unavailable","Payment failure on Base chain (x402) blocks request processing"],"whenToPreferThis":"Choose this endpoint when you need AI-powered portfolio-level risk and diversification analysis across multiple stock holdings simultaneously. It is preferable over single-stock endpoints when the user's question is about their overall portfolio composition, concentration risk, or balance rather than a single ticker. Best suited for retail investors, financial planning agents, or rebalancing workflows where a holistic view is required.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-11T00:34:18.386Z","isFirstParty":false,"canonicalSlug":"alphalens-portfolio-risk-analysis-cd90ffc4"}