# Suverse World Bank Life Expectancy by Country

> Suverse World Bank Life Expectancy by Country is a paid API for AI agents from proxy.suverse.io, paid per call via x402, $0.002/call, status unknown (last checked 2026-09-13).

Returns a yearly World Bank Open Data life expectancy time series for any country specified by ISO code, with no API key required.

## Facts

- Endpoint: POST https://proxy.suverse.io/v1/data/suverse-wb-life-expectancy
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/suverse-world-bank-life-expectancy-by-country-2b37c66a
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_ZsQM8fQk9szfEsm3FY31T

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 suverse-world-bank-life-expectancy-by-country-2b37c66a -d '<json body>'
```

Example prompt: Can you pull the full yearly life expectancy time series for Germany using its ISO country code from the World Bank data?

## When to prefer this

Use this endpoint when you need keyless, pay-per-call access to World Bank life expectancy time series data for any country by ISO code, especially for macro, demographic, or cross-country analysis workflows where registering for a dedicated API key is impractical or undesirable.

## Known failure modes

- Invalid or unrecognized ISO country code returns empty or error response
- World Bank data unavailable for very small territories or disputed regions
- Payment failure via x402 protocol blocks the request
- Malformed POST body or missing required fields returns a 400-level error
- Upstream World Bank API outage causes degraded or dead response

## How this service works

Life Expectancy for any country by ISO code as a yearly World Bank Open Data time series, no key. Returns country, year, and value. For AI agents doing macro, demographic, and cross country analysis.

## Output

Returns a structured time series with country name, year-by-year entries, and life expectancy values (in years) sourced from World Bank Open Data — covering multiple decades of annual data for the requested ISO country code.

## 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",
    "bodyType",
    "body"
   ],
   "properties": {
    "body": {
     "properties": {}
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST",
      "PUT",
      "PATCH"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/suverse-world-bank-life-expectancy-by-country-2b37c66a/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from proxy.suverse.io](https://www.zero.xyz/host/proxy.suverse.io/llms.txt)
