# MacroLens Consumer Macro Intelligence API

> MacroLens Consumer Macro Intelligence API is a paid API for AI agents from v1macros-lensys.vercel.app, paid per call via x402, $0.03/call, status unknown (last checked 2026-10-15).

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

## Facts

- Endpoint: POST https://v1macros-lensys.vercel.app/api/consumer?utm_source=zero.xyz
- Price: $0.03/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/macrolens-consumer-macro-intelligence-api-c8267cb2
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_3O-9SW56iZS93tsfbULvx

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

Example prompt: Pull a MacroLens macro-economic analysis starting from January 2023 and tell me what FRED and World Bank data say about inflation and GDP trends over that period.

## When to prefer this

Choose this endpoint when you need AI-synthesized macro-economic intelligence grounded in authoritative FRED and World Bank datasets, especially for period-specific economic trend analysis. Prefer it over raw data APIs when you want LLM-interpreted insights rather than raw time series, and when you need a single call to aggregate multiple economic indicators into a coherent narrative.

## Known failure modes

- Missing required 'start' parameter returns validation error
- Invalid date format for start field causes parsing failure
- FRED or World Bank data unavailable for requested period returns partial or empty data object
- Payment failure via x402/Base blockchain prevents API access
- LLM inference timeout causes delayed or failed response
- Malformed request body returns 400-level error

## 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 insights relevant to the specified start 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-consumer-macro-intelligence-api-c8267cb2/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from v1macros-lensys.vercel.app](https://www.zero.xyz/host/v1macros-lensys.vercel.app/llms.txt)
