# AlphaLens Macro Context Analysis

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

Analyzes macroeconomic context using AI to produce stock-relevant macro intelligence and insights

## Facts

- Endpoint: POST https://alphcok.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-context-analysis-4b1872aa
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_f_ko_TmSuBMMoTdHsMPHz

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-context-analysis-4b1872aa -d '<json body>'
```

Example prompt: Can you run a macro analysis on the current economic context — we're seeing rising interest rates, sticky inflation, and a strong jobs market — and tell me what this means for equity positions?

## When to prefer this

Use this endpoint when you need AI-interpreted macroeconomic intelligence specifically contextualized for stock market impact — ideal when you have a narrative or economic description to analyze rather than raw numeric data. Prefer over generic LLM queries when you want structured, finance-domain-tuned macro output with consistent schema.

## Known failure modes

- Missing required 'context' field returns validation error
- Vague or empty context string may produce low-quality or generic output
- Network timeout on slow AI inference
- Payment failure via x402 if insufficient USDC balance on Base chain
- Rate limiting if too many requests in quick succession

## 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 and insights relevant to stock market conditions based on the provided context.

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