# AlphaLens Stock Analysis Endpoint

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

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

## Facts

- Endpoint: POST https://alphacook.vercel.app/api/analyze
- Price: $0.1/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/alphalens-stock-analysis-endpoint-ab073f12
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_sPcSMan7afRQ3iE0BlgHc

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-ab073f12 -d '<json body>'
```

Example prompt: Can you run a full AlphaLens AI stock analysis on NVDA — I want to see the technical indicators, sentiment score, and risk assessment?

## When to prefer this

Use this endpoint when you need a comprehensive, AI-powered stock analysis combining technical indicators, sentiment scoring, and risk metrics in a single call for a given ticker — especially in agentic workflows that pay per request via x402 on Base chain and need structured data rather than a human-readable report.

## Known failure modes

- Missing required 'symbol' field returns validation error
- Invalid or unrecognized ticker symbol may return empty or error data
- Payment failure via x402/Base chain blocks request execution
- Service unavailability on Vercel hosting returns 5xx error
- Rate limiting or quota exhaustion may block repeated calls

## 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 flag and a data object containing AI-powered stock analysis results such as technical indicators, 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-ab073f12/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from alphacook.vercel.app](https://www.zero.xyz/host/alphacook.vercel.app/llms.txt)
