# AlphaLens Sentiment Scoring API

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

Returns AI-powered sentiment score and analysis for a given stock ticker symbol

## Facts

- Endpoint: POST https://alephack.vercel.app/api/sentiment
- Price: $0.05/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/alphalens-sentiment-scoring-api-12526ce6
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_qAiKhaA6N39ZroPhM4kLV

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

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

## When to prefer this

Choose this endpoint when you need a fast, per-ticker AI sentiment score for a specific stock and want a pay-per-use model with no subscription overhead. Prefer it over generic news aggregators when you want a pre-computed sentiment signal rather than raw headlines, and over full portfolio analysis endpoints when you only need sentiment (not technicals or risk) for a single symbol.

## Known failure modes

- Invalid or unrecognized ticker symbol returns error or empty data
- Missing required 'symbol' field returns validation error
- Network or upstream AI model latency causing timeout
- Ticker not covered by the sentiment model returns no data
- x402 payment failure or insufficient USDC balance blocks request

## 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, directional classification (bullish/bearish/neutral), and supporting signals.

## 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-sentiment-scoring-api-12526ce6/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from alephack.vercel.app](https://www.zero.xyz/host/alephack.vercel.app/llms.txt)
