# AlphaLens Portfolio Risk Analysis

> AlphaLens Portfolio Risk Analysis is a paid API for AI agents from alupheck.vercel.app, paid per call via x402, $0.2/call, status unknown (last checked 2026-09-15).

Analyzes a portfolio of stock holdings to produce AI-powered risk assessment and portfolio-level intelligence

## Facts

- Endpoint: POST https://alupheck.vercel.app/api/portfolio
- Price: $0.2/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/alphalens-portfolio-risk-analysis-f4dd9cc3
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Np57lja4-6MoHxS0evhBk

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability alphalens-portfolio-risk-analysis-f4dd9cc3 -d '<json body>'
```

Example prompt: 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?

## When to prefer this

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.

## Known failure modes

- 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

## How this service works

AI-powered stock analysis, technical indicators, sentiment scoring, and portfolio risk. 11 endpoints. Pay per request via x402 on Base chain.

## Output

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.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "holdings"
 ],
 "properties": {
  "holdings": {
   "type": "array",
   "description": "holdings"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "success"
 ],
 "properties": {
  "data": {
   "type": "object"
  },
  "success": {
   "type": "boolean"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/alphalens-portfolio-risk-analysis-f4dd9cc3/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from alupheck.vercel.app](https://www.zero.xyz/host/alupheck.vercel.app/llms.txt)
