{"uid":"cap_2UjJ1S4SLUx1Lx_Hs7JLd","slug":"alphalens-portfolio-risk-analysis-4b700638","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://alephack.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_dC2jpY4EX5IzoQ1dEUjtu","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 return AI-powered risk metrics and scoring","exampleAgentPrompt":"Can you run a portfolio risk analysis on my holdings — I have 40% AAPL, 30% NVDA, 20% MSFT, and 10% TSLA — and tell me how risky this mix is?","exampleUseCases":[{"title":"Retail investor portfolio health check","prompt":"I've got my savings split across AAPL, AMZN, GOOGL, and META — can you analyze the risk profile of this portfolio and tell me if I'm too concentrated in tech?"},{"title":"Pre-rebalancing risk assessment","prompt":"Before I rebalance my portfolio, can you check the current risk on my holdings: 50% SPY, 25% QQQ, 15% NVDA, and 10% GLD?"},{"title":"New position impact on portfolio risk","prompt":"I'm thinking of adding TSLA at 20% weight to my existing portfolio of 80% S&P 500 — can you run a risk analysis to show me how that changes my overall exposure?"}],"resultDescription":"Returns a JSON object with a success flag and a data object containing AI-computed portfolio risk metrics such as overall risk score, diversification analysis, concentration measures, and other portfolio-level statistics based on the submitted holdings array.","failureModes":["Missing required 'holdings' array returns validation error","Empty holdings array may return empty or error response","Invalid ticker symbols may cause data lookup failures","Payment failure via x402 on Base chain blocks request","Malformed holding objects may result in partial or failed analysis"],"whenToPreferThis":"Choose this endpoint when you need a quick AI-powered, aggregate risk assessment across a set of stock holdings and are comfortable paying per-request via USDC on Base chain. It is well-suited for agent workflows that need portfolio-level risk scoring without building custom risk models.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-11T06:39:38.681Z","isFirstParty":false,"canonicalSlug":"alphalens-portfolio-risk-analysis-4b700638"}