{"uid":"cap_Np57lja4-6MoHxS0evhBk","slug":"alphalens-portfolio-risk-analysis-f4dd9cc3","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://alupheck.vercel.app/api/portfolio","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":"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.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_QlQjuYu9JvmFYGE_-Y4AQ","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.2","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Analyzes a portfolio of stock holdings to produce AI-powered risk assessment and portfolio-level intelligence","exampleAgentPrompt":"Can you analyze the risk profile of my portfolio — I'm holding 100 shares of AAPL, 50 shares of TSLA, and 200 shares of SPY — and tell me how concentrated or diversified my risk exposure is?","exampleUseCases":null,"resultDescription":"Returns a JSON object with portfolio risk metrics, including diversification scores, concentration analysis, risk scoring, and other AI-powered portfolio intelligence derived from the submitted holdings array.","failureModes":["Missing required 'holdings' array returns 400 validation error","Empty holdings array may return minimal or error response","Invalid ticker symbols may cause lookup failures or partial results","Payment not completed via x402 on Base chain returns 402 Payment Required","Server errors on vercel.app deployment return 500"],"whenToPreferThis":"Use this endpoint when you need AI-powered portfolio-level risk analysis across a set of stock holdings, including diversification, concentration, and aggregate risk scoring. Prefer this over single-stock analysis endpoints when the user wants to understand their entire portfolio at once.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T18:43:47.917Z","isFirstParty":false}