# AlphaLens Stock Analysis Endpoint

> AlphaLens Stock Analysis Endpoint is a paid API for AI agents from alphencook.vercel.app, paid per call via x402, $0.1/call, status unknown (last checked 2026-10-11).

Performs AI-powered stock analysis including technical indicators, sentiment scoring, and portfolio risk assessment for a given ticker symbol

## Facts

- Endpoint: POST https://alphencook.vercel.app/api/analyze?utm_source=zero.xyz
- Price: $0.1/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-11
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/alphalens-stock-analysis-endpoint-548678c9
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_AjAmEEifYIt1Y2XS4JJE6

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-stock-analysis-endpoint-548678c9 -d '<json body>'
```

Example prompt: Can you run a full AI-powered stock analysis on NVIDIA — I want technical indicators, sentiment score, and risk assessment?

## When to prefer this

Choose this endpoint when you need a consolidated, AI-synthesized view of a stock combining technical indicators, sentiment, and risk in a single call — especially useful for agents that need quick, structured stock intelligence without assembling multiple data feeds manually. Best suited for per-symbol spot analysis rather than bulk screening.

## Known failure modes

- Missing or invalid ticker symbol returns an error response with success: false
- Unknown or delisted ticker symbols may return empty or null data fields
- Network timeout or upstream data provider failure returns a non-success response
- Malformed request body (missing required 'symbol' field) returns a validation error
- Payment failure via x402 protocol blocks the request before processing

## 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 a success boolean and a data object containing AI-generated stock analysis results, which may include technical indicators (e.g. RSI, MACD, moving averages), sentiment scores, and portfolio risk metrics for the requested ticker symbol.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "symbol"
 ],
 "properties": {
  "symbol": {
   "type": "string",
   "description": "symbol"
  }
 }
}
```

## 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-stock-analysis-endpoint-548678c9/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from alphencook.vercel.app](https://www.zero.xyz/host/alphencook.vercel.app/llms.txt)
