# MacroLens Energy Macro Analysis

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

Fetches AI-powered macroeconomic analysis of energy sector data using FRED and World Bank datasets, processed through a MiMo LLM, for a given start date.

## Facts

- Endpoint: POST https://marcolens.vercel.app/api/energy
- 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-energy-macro-analysis-31bbc01d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_E5pwdYrmcPDumzieG2Qjp

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

Example prompt: Can you pull the MacroLens energy sector macroeconomic analysis starting from January 2022 and tell me what the AI makes of the trends?

## When to prefer this

Choose this endpoint when you need AI-synthesized macroeconomic analysis specifically for the energy sector, combining FRED and World Bank data with LLM-generated narrative insights from a given start date. Prefer it over raw data APIs when you want interpreted, human-readable economic analysis rather than raw time series. Best for investment research, policy analysis, or economic briefings where energy sector macro context is needed quickly.

## Known failure modes

- Missing or invalid 'start' date parameter returns an error or unexpected behavior
- Malformed date string may cause upstream data fetch failures
- FRED or World Bank data unavailability may result in incomplete analysis
- LLM inference timeout may cause delayed or failed response
- Costs $0.40 USDC per call via x402 on Base — payment failure blocks access

## 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 the energy sector, drawing on FRED and World Bank data from the specified start date onward, including economic indicators, trend interpretations, and sector insights produced by a MiMo LLM.

## 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-31bbc01d/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)
