# AlphaLens Macro Intelligence Endpoint

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

Analyzes macroeconomic context using AI to deliver stock intelligence, sentiment scoring, and market insights relevant to portfolio and investment decisions

## Facts

- Endpoint: POST https://alephack.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-078441be
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_MbKYxqTVnbFUHbXt_jTqC

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-078441be -d '<json body>'
```

Example prompt: Run a macro analysis on the current environment of rising interest rates, persistent inflation, and slowing GDP growth — I want to know how these factors are likely to affect equities over the next quarter.

## When to prefer this

Choose this endpoint when you need AI-powered macroeconomic narrative analysis tied to stock and portfolio implications, especially when you have a specific macro scenario or context to interpret. Prefer this over generic LLM prompting when you want structured, finance-domain-tuned output with a pay-per-use model on Base chain via x402.

## Known failure modes

- Missing required 'context' field returns validation error
- Empty or vague context string may produce low-quality or generic analysis
- Malformed JSON body returns 400 error
- Service unavailability on Vercel deployment returns 503
- x402 payment failure or insufficient USDC balance blocks request
- Overly long context string 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, including interpretations of the provided context string as it relates to equity markets, sentiment, and portfolio risk factors.

## 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-078441be/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)
