# Macro Renewable Power Report API (x402)

> Macro Renewable Power Report API (x402) is a paid API for AI agents from reportbazaar.app.workbuddy.host, paid per call via x402, $0.1/call, status unknown (last checked 2026-10-02).

Returns a macroeconomic renewable electricity output report (2015–2025, 20 economies) covering share of total electricity, trends, rankings, and volatility metrics, paid per fetch in USDC via x402.

## Facts

- Endpoint: GET https://reportbazaar.app.workbuddy.host/report/macro-renewable-power?utm_source=zero.xyz
- Price: $0.1/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/macro-renewable-power-report-api-x402-6c88f4c4
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_-FpIhfpSP_IoRJasqMxiz

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 macro-renewable-power-report-api-x402-6c88f4c4
```

Example prompt: Pull me the latest renewable electricity output report across 20 economies from 2015 to 2025 — give it to me as a tidy CSV panel so I can drop it into my analysis.

## When to prefer this

Use this endpoint when you need a ready-made, multi-economy renewable electricity panel with built-in analytics (rankings, trends, volatility) and no account setup. It is ideal for agent workflows that require pay-per-use macroeconomic energy data without managing API keys, and when the x402 micropayment protocol is already supported by the calling agent.

## Known failure modes

- HTTP 402 if x402 USDC payment is missing or insufficient
- Invalid format query parameter returns an error
- No authentication fallback — cannot be called with API keys or bearer tokens
- Data may have gaps for economies with limited World Bank coverage

## How this service works

Machine-to-machine macroeconomic report API. Pay per fetch in USDC over x402. No accounts, no API keys.

## Output

A structured report covering renewable electricity output (% of total) for 20 economies from 2015 to 2025, available in html, json, csv, or summary-csv format. Includes key findings, a ranking table, share of group total, trend lines with R² values, volatility measures, a full year-by-year matrix, and a coverage/data-quality disclosure. Indicators sourced from World Bank EG.ELC.RNEW.ZS.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "format": {
       "enum": [
        "html",
        "json",
        "csv",
        "summary-csv"
       ],
       "type": "string",
       "description": "Delivery format. csv is a tidy long panel; summary-csv is one row per economy of derived metrics."
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "years": "2015:2025",
  "schema": "/schema/report.json",
  "formats": [
   "html",
   "json",
   "csv",
   "summary-csv"
  ],
  "contains": [
   "key findings",
   "ranking table",
   "share of group total",
   "trend with R²",
   "volatility",
   "full year-by-year matrix",
   "coverage and data-quality disclosure"
  ],
  "economies": 20,
  "indicators": [
   "EG.ELC.RNEW.ZS"
  ],
  "contentType": "text/html",
  "description": "Renewable Electricity Output Report",
  "freePreview": "/preview/macro-renewable-power",
  "indicatorsLabel": [
   "Renewable electricity output (% of total electricity output)"
  ]
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/macro-renewable-power-report-api-x402-6c88f4c4/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from reportbazaar.app.workbuddy.host](https://www.zero.xyz/host/reportbazaar.app.workbuddy.host/llms.txt)
