# AlphaLens Stock Sentiment Scoring API

> AlphaLens Stock Sentiment Scoring API is a paid API for AI agents from alphencook.vercel.app, paid per call via x402, $0.05/call, status unknown (last checked 2026-10-12).

Returns an AI-powered sentiment score for a given stock ticker symbol, analyzing market mood and sentiment signals

## Facts

- Endpoint: POST https://alphencook.vercel.app/api/sentiment?utm_source=zero.xyz
- Price: $0.05/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-12
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/alphalens-stock-sentiment-scoring-api-0b471c65
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_VyPU0pOfugrhaiYTTvUiR

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-sentiment-scoring-api-0b471c65 -d '<json body>'
```

Example prompt: What's the current AI-powered market sentiment score for NVDA — is the crowd bullish or bearish right now?

## When to prefer this

Choose this endpoint when you need a quick, AI-generated sentiment signal for a specific stock ticker, especially in agent workflows where per-request micropayments via x402 on Base chain are acceptable. Prefer this over raw news scrapers or manual sentiment tools when you want a pre-computed, structured sentiment score ready for downstream decision-making.

## Known failure modes

- Missing or invalid ticker symbol returns an error or success:false
- Unknown or delisted ticker may return empty data or failure
- Network/service downtime on Vercel deployment may cause 5xx errors
- Payment failure via x402 on Base chain prevents request from being processed
- Rate limiting or quota exhaustion may block requests

## 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-derived sentiment metrics for the requested stock ticker, likely including a sentiment score or label (bullish/bearish/neutral) and supporting signal data.

## 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-sentiment-scoring-api-0b471c65/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)
