# Macro Air Quality & Water Stress Report API (x402)

> Macro Air Quality & Water Stress Report API (x402) is a paid API for AI agents from reportbazaar.app.workbuddy.host, paid per call via x402, $0.11/call, status unknown (last checked 2026-09-29).

Fetches a macroeconomic report on global air quality (PM2.5 pollution) and freshwater withdrawal stress across 20 economies from 2015–2025, paid per call in USDC via x402.

## Facts

- Endpoint: GET https://reportbazaar.app.workbuddy.host/report/macro-air-quality?utm_source=zero.xyz
- Price: $0.11/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-29
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/macro-air-quality-water-stress-report-api-x402-63d9b3f3
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_AnCq-U1Gw85Av_b0yXAN6

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-air-quality-water-stress-report-api-x402-63d9b3f3
```

Example prompt: Pull me the global air quality and water stress macroeconomic report in JSON format — I want PM2.5 pollution and freshwater withdrawal data across all 20 economies from 2015 to 2025, including rankings and trend analysis.

## When to prefer this

Choose this endpoint when you need a ready-made, multi-economy macroeconomic environmental report covering air quality and water stress without managing API keys or accounts. Ideal for agents that need to pay per use in USDC via x402, and when you want pre-computed analytics (rankings, trends, R², volatility) rather than raw indicator lookups. Prefer this over manual World Bank API calls when you need a formatted, analysis-ready report delivered in one request.

## Known failure modes

- Payment not included or insufficient USDC — returns HTTP 402 Payment Required
- Invalid format query parameter value — returns 400 Bad Request
- Service unavailable or upstream data source error — returns 5xx
- No data for requested indicator/economy — partial dataset returned with coverage disclosure

## 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 20 economies from 2015–2025 including: PM2.5 air pollution (micrograms per cubic meter) and freshwater withdrawal (% of internal resources) data, key findings, economy rankings, group share totals, trend lines with R² values, volatility metrics, a full year-by-year data matrix, and coverage/data-quality disclosures. Available in HTML, JSON, CSV, or summary-CSV format.

## 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": [
   "EN.ATM.PM25.MC.M3",
   "ER.H2O.FWTL.ZS"
  ],
  "contentType": "text/html",
  "description": "Air Quality and Water Stress Report",
  "freePreview": "/preview/macro-air-quality",
  "indicatorsLabel": [
   "PM2.5 air pollution (micrograms per cubic meter)",
   "Freshwater withdrawal (% of internal resources)"
  ]
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/macro-air-quality-water-stress-report-api-x402-63d9b3f3/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)
