# MacroLens Macro Intelligence API — Consumer Endpoint

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

Provides AI-powered macroeconomic analysis by combining FRED and World Bank data with the MiMo LLM, returning structured economic insights for a given time period.

## Facts

- Endpoint: POST https://mascronlens.vercel.app/api/consumer
- Price: $0.4/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/macrolens-macro-intelligence-api-consumer-endpoint-f92eff5b
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_BitWSkinB0MdPC5Bvqa_4

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 macrolens-macro-intelligence-api-consumer-endpoint-f92eff5b -d '<json body>'
```

Example prompt: Can you run a MacroLens macro intelligence analysis starting from January 2022 and give me an AI-powered summary of the key macroeconomic trends — GDP, inflation, and unemployment — using FRED and World Bank data?

## When to prefer this

Choose this endpoint when you need AI-narrated macroeconomic analysis grounded in authoritative FRED and World Bank datasets, especially when you want a combined quantitative + qualitative LLM interpretation rather than raw data. Best for economic research, investment briefings, or policy analysis workflows that need structured JSON output.

## Known failure modes

- Missing or invalid 'start' parameter returns an error response with success: false
- Malformed date string in 'start' field causes parsing failure
- FRED or World Bank upstream data unavailable causes degraded or empty data response
- LLM inference timeout returns partial or no analysis
- Payment not processed via x402 on Base results in 402 Payment Required

## How this service works

AI-powered macro-economic analysis. FRED + World Bank data + MiMo LLM. 20 endpoints. x402 on Base.

## Output

Returns a JSON object with a success boolean and a data object containing AI-generated macroeconomic analysis, synthesized from FRED and World Bank datasets interpreted by the MiMo LLM, covering economic indicators for the requested time period.

## Request schema (JSON Schema)

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

## 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/macrolens-macro-intelligence-api-consumer-endpoint-f92eff5b/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from mascronlens.vercel.app](https://www.zero.xyz/host/mascronlens.vercel.app/llms.txt)
