# AlphaLens Stock Search API

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

Searches for AI-powered stock intelligence, technical indicators, sentiment scores, and portfolio risk data by query string

## Facts

- Endpoint: POST https://alphacx402.vercel.app/api/search?utm_source=zero.xyz
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-10
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/alphalens-stock-search-api-48aeceb2
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_A94IrYFB6SrcdethgNFU0

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-search-api-48aeceb2 -d '<json body>'
```

Example prompt: Search AlphaLens for AI-powered stock intelligence on NVDA — I want technical indicators, sentiment scores, and any risk signals.

## When to prefer this

Choose this endpoint when you need a single natural-language or ticker-based search across multiple stock intelligence dimensions (technical indicators, sentiment, and risk) in one call, especially in an agent workflow that pays per request via x402 on Base chain. Prefer this over dedicated financial data APIs when you want AI-synthesized signals rather than raw market data feeds.

## Known failure modes

- Missing or empty query field returns validation error
- Unknown ticker or irrelevant query may return empty or low-confidence data
- Payment failure on Base chain blocks the request
- Network timeout on Vercel serverless cold start
- Malformed JSON body returns 400 error

## 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, sentiment scores, risk assessments, and other financial intelligence for the queried stock or term.

## Request schema (JSON Schema)

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

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