# ReportBazaar Macro Health Expenditure Report API

> ReportBazaar Macro Health Expenditure Report API is a paid API for AI agents from reportbazaar.app.workbuddy.host, paid per call via x402, $0.08/call, status unknown (last checked 2026-09-29).

Fetches a macroeconomic report on current health expenditure as a percentage of GDP across 20 economies (2015–2025), delivered via x402 pay-per-fetch in USDC with no account or API key required.

## Facts

- Endpoint: GET https://reportbazaar.app.workbuddy.host/report/macro-health?utm_source=zero.xyz
- Price: $0.08/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-29
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/reportbazaar-macro-health-expenditure-report-api-2180e5e7
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_LKyL2kjBN3LVA7FU89lYP

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 reportbazaar-macro-health-expenditure-report-api-2180e5e7
```

Example prompt: Pull me the current health expenditure report as JSON — I want to see how 20 economies compare on health spending as a share of GDP, including trends and rankings from 2015 to 2025.

## When to prefer this

Choose this endpoint when you need a ready-made, structured macroeconomic report on health expenditure across multiple economies without setting up accounts or managing API keys. Ideal for agents that need comparative, multi-year, multi-economy health spending data on demand, especially in automated or agentic workflows that can handle x402 micropayments in USDC. Prefer this over raw World Bank APIs when you want pre-derived metrics (rankings, R², volatility) rather than raw indicator series.

## Known failure modes

- Payment not included or insufficient USDC — HTTP 402 returned requiring payment via x402 protocol
- Invalid format query parameter — request rejected or falls back to default format
- Network or host unavailability — connection timeout or 5xx error
- Data freshness lag — underlying World Bank indicator (SH.XPD.CHEX.GD.ZS) may not yet reflect the most recent year

## 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 on current health expenditure (% of GDP) for 20 economies spanning 2015–2025, available as HTML, JSON, tidy long-panel CSV, or summary-CSV. Includes key findings, economy ranking table, group share totals, trend analysis with R², volatility metrics, a full year-by-year data matrix, and coverage/data-quality disclosures.

## 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": [
   "SH.XPD.CHEX.GD.ZS"
  ],
  "contentType": "text/html",
  "description": "Health Expenditure Report",
  "freePreview": "/preview/macro-health",
  "indicatorsLabel": [
   "Current health expenditure (% of GDP)"
  ]
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/reportbazaar-macro-health-expenditure-report-api-2180e5e7/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)
