# AlphaLens Macro Intelligence Endpoint

> AlphaLens Macro Intelligence Endpoint is a paid API for AI agents from alphacx402.vercel.app, paid per call via x402, $0.1/call, status unknown (last checked 2026-09-14).

Provides AI-powered macroeconomic analysis and context for stock market intelligence given a natural language query

## Facts

- Endpoint: POST https://alphacx402.vercel.app/api/macro
- Price: $0.1/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/alphalens-macro-intelligence-endpoint-a8ecb934
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_X-7vCw4iCrY0gNjSJubak

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-macro-intelligence-endpoint-a8ecb934 -d '<json body>'
```

Example prompt: Give me a macro analysis of the current interest rate and inflation environment and how it's likely to affect growth equities — I need the full economic context for my portfolio review.

## When to prefer this

Choose this endpoint when you need AI-synthesized macroeconomic context as part of a stock analysis pipeline, especially when you have a natural language description of the market environment or investment thesis and want structured intelligence back. Prefer this over raw data feeds when you need interpreted macro signals rather than raw numbers.

## Known failure modes

- Missing required 'context' field returns validation error
- Vague or empty context string may produce generic or low-quality analysis
- Network timeout on Vercel serverless cold starts
- Payment failure on Base chain causes 402 response before analysis is returned
- Overly long context strings may be truncated or rejected

## 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 macroeconomic analysis, economic indicator summaries, and market-level insights derived from the provided context string.

## Request schema (JSON Schema)

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

## 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-macro-intelligence-endpoint-a8ecb934/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)
