# AlphaLens Macro Intelligence Endpoint

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

Returns AI-powered macroeconomic analysis and context relevant to stock market and portfolio decisions

## Facts

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

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

Example prompt: Give me a macro intelligence analysis for the current market environment — I want to understand how inflation, interest rates, and economic growth trends are affecting equity markets right now so I can assess risk for my portfolio.

## When to prefer this

Use this endpoint when you need macroeconomic context and intelligence to inform stock analysis, portfolio risk assessment, or investment decisions — especially when you want AI-synthesized macro signals rather than raw data feeds. Best suited for agents that need narrative macro intelligence alongside technical stock indicators available in sibling endpoints.

## Known failure modes

- Missing or empty context field returns validation error
- Vague or malformed context string may produce low-quality or generic analysis
- Network timeouts on Vercel cold starts
- x402 payment failure if USDC balance is insufficient or Base chain transaction fails
- 500 error if upstream AI model is unavailable

## 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, indicators, and market context relevant to equity investing.

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