# WRI Aqueduct 4.0 Country Water Risk Indicators

> WRI Aqueduct 4.0 Country Water Risk Indicators is a paid API for AI agents from api.tradeenergy-api.workers.dev, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-29).

Returns WRI Aqueduct 4.0 water-risk indicators (baseline water stress, water depletion, variability, drought risk) with scores, category labels, and country ranks for a given ISO country code.

## Facts

- Endpoint: GET https://api.tradeenergy-api.workers.dev/api/energy/water-stress-wri-aqueduct?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-29
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/wri-aqueduct-4-0-country-water-risk-indicators-f20d225e
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_E2m7CbJd2HI0TaKgpHPKi

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 wri-aqueduct-4-0-country-water-risk-indicators-f20d225e
```

Example prompt: What are Turkey's WRI Aqueduct 4.0 water stress and water depletion scores, including their category labels and global country rankings? Use the ISO code TUR.

## When to prefer this

Choose this endpoint when you need standardized, WRI Aqueduct 4.0 country-level water risk scores with categorical labels and global rankings — especially for ESG reporting, supply chain risk assessment, or investment due diligence requiring authoritative, citable water stress data at the national level. It is not suitable for sub-national, basin-level, or real-time water measurement data.

## Known failure modes

- Invalid or unrecognized ISO alpha-3 country code returns an error or empty indicators array
- Countries not covered by WRI Aqueduct 4.0 country baseline may return partial or no indicator data
- Sub-national or basin-level data is not available — only national aggregates are returned
- Network or upstream Resource Watch API unavailability may cause timeouts or 5xx errors

## How this service works

WRI Aqueduct 4.0 country water-risk indicators (default weighting): baseline water stress, baseline water depletion, interannual and seasonal variability and drought risk where published, each with score (0-5), category label and country rank, from the Aqueduct 4.0 country baseline on Resource Watch. Sub-national (basin) values are not included.

## Output

A JSON object containing the country name, ISO code, data source URL, retrieval timestamp, weighting scheme, and an array of water-risk indicators — each with a short code (e.g. 'bws', 'bwd'), full name, numeric score (0–5), category integer, human-readable label (e.g. 'High (40–80%)'), and global country rank. Also includes WRI Aqueduct 4.0 attribution.

## 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",
     "required": [
      "country"
     ],
     "properties": {
      "country": {
       "type": "string",
       "description": "ISO alpha-3 country code, e.g. TUR, IND, USA (required)"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "name": "Turkey",
  "source": "https://api.resourcewatch.org/v1/query/39fec76b-2bba-4d5c-aa02-0283be6be91a",
  "country": "TUR",
  "checkedAt": "2026-10-23T09:38:25.927Z",
  "weighting": "default (One)",
  "indicators": [
   {
    "code": "bwd",
    "name": "Baseline water depletion",
    "rank": 54,
    "label": "Low - Medium (5-25%)",
    "score": 1.892,
    "category": 1
   },
   {
    "code": "bws",
    "name": "Baseline water stress",
    "rank": 43,
    "label": "High (40-80%)",
    "score": 3.183,
    "category": 3
   }
  ],
  "attribution": "WRI Aqueduct 4.0 (CC BY 4.0)"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/wri-aqueduct-4-0-country-water-risk-indicators-f20d225e/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.tradeenergy-api.workers.dev](https://www.zero.xyz/host/api.tradeenergy-api.workers.dev/llms.txt)
