# MacroLens Energy Macro Analysis

> MacroLens Energy Macro Analysis 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-14).

Returns AI-generated macro-economic analysis of energy markets using FRED and World Bank data, powered by the MiMo LLM, for a specified start date.

## Facts

- Endpoint: POST https://v1macros-lensys.vercel.app/api/energy?utm_source=zero.xyz
- Price: $0.03/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/macrolens-energy-macro-analysis-5a3cd4d6
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_tmLYaY5fz7TXH45ti0ff5

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-energy-macro-analysis-5a3cd4d6 -d '<json body>'
```

Example prompt: Pull me a MacroLens energy macro analysis starting from January 2023 — I want an AI-powered breakdown of energy market conditions using FRED and World Bank data.

## When to prefer this

Choose this endpoint when you need AI-synthesized narrative macro analysis of energy markets specifically, combining FRED and World Bank data with LLM interpretation — ideal for research, investment analysis, or policy work where you want pre-digested economic intelligence rather than raw data. Prefer over raw FRED API calls when you want an interpreted, natural-language summary rather than series data.

## Known failure modes

- Missing 'start' parameter returns validation error
- Invalid date format for 'start' may cause parsing failure
- FRED or World Bank upstream data unavailability may cause partial or failed response
- x402 payment failure due to insufficient USDC balance blocks the request
- Vercel cold start may add latency on first call

## How this service works

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

## Output

A JSON object containing a success flag and a data object with AI-generated macroeconomic analysis of energy markets, synthesizing FRED and World Bank datasets into narrative insights and key 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-energy-macro-analysis-5a3cd4d6/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)
