# MacroLens Energy Analysis API

> MacroLens Energy Analysis API is a paid API for AI agents from marcroslencs.vercel.app, paid per call via x402, $0.4/call, status unknown (last checked 2026-09-14).

Analyzes global energy sector macro-economic data using FRED and World Bank datasets, synthesized with AI-generated insights via MiMo LLM

## Facts

- Endpoint: POST https://marcroslencs.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-analysis-api-4e9454de
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_jBc7gZfrJoBhIMUp9QUw6

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-analysis-api-4e9454de -d '<json body>'
```

Example prompt: Pull a MacroLens energy sector macro analysis starting from January 2023 — I want the AI-synthesized view of global energy economic trends using FRED and World Bank data.

## When to prefer this

Choose this endpoint when you need AI-interpreted macro-economic analysis specifically for the energy sector, combining both FRED (US Federal Reserve) and World Bank international data sources with LLM-generated narrative insights — rather than raw data feeds or single-source economic indicators.

## Known failure modes

- Missing or invalid 'start' date parameter causes request failure
- Upstream FRED or World Bank API unavailability may return incomplete data
- Malformed date strings may result in unexpected data ranges or errors
- LLM synthesis failure may return partial or empty data object

## How this service works

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

## Output

Returns a success flag and a data object containing AI-synthesized macro-economic analysis of the energy sector, drawing on FRED and World Bank datasets for the requested time period, interpreted through 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-analysis-api-4e9454de/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from marcroslencs.vercel.app](https://www.zero.xyz/host/marcroslencs.vercel.app/llms.txt)
