# AlphaLens Stock Intelligence Search API

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

Searches and retrieves AI-powered stock analysis, technical indicators, sentiment scores, and portfolio risk data for a given query

## Facts

- Endpoint: POST https://alphencook.vercel.app/api/search?utm_source=zero.xyz
- Price: $0.02/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-intelligence-search-api-74420d39
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Yp43mp0M3VUEbIiu0z5DD

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-intelligence-search-api-74420d39 -d '<json body>'
```

Example prompt: Search AlphaLens for AI-powered stock analysis on NVDA — I want to see its sentiment score, technical indicators, and any portfolio risk signals.

## When to prefer this

Choose this endpoint when you need AI-powered financial intelligence on a stock — including sentiment scoring, technical indicators, and risk metrics — in a single search call, especially in an agentic context where pay-per-request via USDC on Base is acceptable. Prefer this over traditional financial data APIs when you want opinionated, pre-analyzed signals rather than raw price/volume data.

## Known failure modes

- Query string missing or empty — returns failure with validation error
- No matching stock or company found for query — data may be empty or null
- Payment not processed — x402 payment on Base chain required before response is served
- Upstream data provider unavailable — success false with error message
- Ambiguous query returns unexpected results — specificity of ticker vs company name matters

## 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 indicator values, sentiment scores, risk metrics, and other financial intelligence relevant to the search query.

## 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-intelligence-search-api-74420d39/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)
