# AlphaLens Stock Quote API

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

Fetches AI-powered stock quote data and analysis for a given ticker symbol

## Facts

- Endpoint: POST https://alphcok.vercel.app/api/quote
- Price: $0.02/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-quote-api-fdbc8fb4
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_KpjHZtehYeDa5Hqw04e8a

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-quote-api-fdbc8fb4 -d '<json body>'
```

Example prompt: Can you get me the current stock quote and AI-powered analysis for NVDA using AlphaLens?

## When to prefer this

Use this endpoint when you need AI-enriched stock quote data for a single ticker symbol, especially when building financial agents that require per-request pricing via blockchain micropayments on Base chain. Prefer this over free/bulk APIs when you need AI-powered analysis layered on top of raw price data.

## Known failure modes

- Invalid or unrecognized ticker symbol returns error or empty data
- Missing required 'symbol' field returns validation error
- Downstream market data unavailable causes failed response
- Payment not processed via x402 results in 402 Payment Required
- Delisted or non-existent symbol may return empty result

## 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 success boolean and a data object containing stock quote information and AI-powered analysis for the requested ticker symbol, including price and potentially technical indicators or sentiment scoring.

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