# MacroLens Macro Intelligence API – Consumer Endpoint

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

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

## Facts

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

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

Example prompt: Can you pull a MacroLens AI macro-economic analysis starting from January 2023, combining FRED and World Bank data, and give me the key economic insights?

## When to prefer this

Choose MacroLens when you need AI-synthesized macro-economic intelligence that combines authoritative data sources (FRED + World Bank) with LLM interpretation in a single call. Prefer this over raw FRED or World Bank APIs when you want pre-analyzed insights rather than raw time-series data. Ideal for agents that need to generate economic briefings, investment research, or policy analysis without manually aggregating multiple data sources. Best suited for tasks requiring both data retrieval and narrative interpretation of macro trends.

## Known failure modes

- Missing required 'start' field returns validation error
- Invalid date/period format in 'start' may cause parsing failure or empty results
- Payment failure via x402 on Base blockchain results in 402 Payment Required response
- Downstream FRED or World Bank API unavailability causes data fetch errors
- MiMo LLM inference timeout results in incomplete or null analysis
- Malformed request body returns 400 Bad Request
- Rate limiting or quota exhaustion may return 429 Too Many Requests

## 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 macro-economic analysis synthesized from FRED and World Bank datasets, including economic indicators, trends, and LLM-interpreted insights 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-e0756694/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from marcolens.vercel.app](https://www.zero.xyz/host/marcolens.vercel.app/llms.txt)
