# MacroLens Energy Macro Analysis

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

Analyzes energy sector macroeconomic data using FRED and World Bank datasets, interpreted by an AI LLM, starting from a specified date

## Facts

- Endpoint: POST https://mascronlens.vercel.app/api/energy
- 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-energy-macro-analysis-3cfae26a
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_8_5To8CTZ1ktWzqUFuo0P

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

Example prompt: Can you give me an AI-powered macro analysis of the energy sector starting from January 1, 2022, pulling from FRED and World Bank data?

## When to prefer this

Choose this endpoint when you need AI-synthesized macroeconomic analysis specifically focused on the energy sector, drawing on authoritative FRED and World Bank data sources with LLM interpretation, rather than raw data retrieval or non-energy macro analysis.

## Known failure modes

- Missing required 'start' date field returns validation error
- Invalid date format may cause parsing failure
- Upstream FRED or World Bank data unavailability could return incomplete results
- Payment failure via x402/Base blockchain returns 402 status
- LLM inference timeout may cause delayed or empty response

## How this service works

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

## Output

Returns a structured object with a success flag and a data object containing AI-generated macroeconomic analysis of energy sector indicators sourced from FRED and World Bank datasets, interpreted by the 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-3cfae26a/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)
