# LongevityPulse Country Longevity Profile

> LongevityPulse Country Longevity Profile is a paid API for AI agents from longevitypulse.theaslangroupllc.com, paid per call via x402, $0.12/call, status unknown (last checked 2026-09-13).

Returns life expectancy, healthy life expectancy (HALE), leading causes of premature death, and healthcare quality data for any of 195+ countries using WHO data

## Facts

- Endpoint: GET https://longevitypulse.theaslangroupllc.com/api/longevity/country-longevity
- Price: $0.12/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/longevitypulse-country-longevity-profile-a5b5f498
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_oLDKDzGltQr6_5OiIFLvm

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 longevitypulse-country-longevity-profile-a5b5f498
```

Example prompt: Give me a full longevity profile for Japan — I want the life expectancy, healthy life expectancy, leading causes of premature death, and healthcare quality for aging so I can evaluate it as a retirement destination.

## When to prefer this

Use this endpoint when an agent needs standardized WHO-sourced longevity metrics for a specific country, especially for relocation planning, retirement destination comparison, or health-risk assessment by geography. Prefer this over generic health databases when HALE and cause-of-death breakdowns are needed alongside practical aging advice.

## Known failure modes

- Unknown or misspelled country name returns 404 or empty result
- Country not covered in WHO dataset returns no data
- Ambiguous country code (e.g. conflicting ISO codes) may return wrong country
- Network timeout or upstream WHO data unavailability causes 503

## How this service works

Country longevity / life expectancy profile for longevity and relocation agents. Returns life expectancy, healthy life expectancy (HALE), leading causes of premature death, and healthcare quality for aging, with practical advice. WHO data across 195+ countries worldwide.

## Output

Returns a country-level longevity profile including overall life expectancy, healthy life expectancy (HALE), top causes of premature death, healthcare quality rating for aging populations, and practical advice — all sourced from WHO data.

## 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",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "lang": {
       "type": "string",
       "description": "en | es | fr | de | ja | zh | ko | pt | ar | hi (default: en)"
      },
      "country": {
       "type": "string",
       "description": "Country name — e.g. \"Japan\" | \"Singapore\" | \"Spain\" | \"South Korea\" | \"Switzerland\" | \"Costa Rica\" | \"Australia\" | \"United States\" | \"India\" | \"Nigeria\""
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "errors": {
     "type": "object",
     "description": "Documented error responses, keyed by HTTP status code",
     "additionalProperties": {
      "type": "object",
      "required": [
       "description"
      ],
      "properties": {
       "example": {
        "type": "object"
       },
       "description": {
        "type": "string"
       }
      }
     }
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "country": "Japan",
  "life_expectancy": {
   "male": "81.1 years",
   "total": "84.3 years",
   "trend": "Stable — has held top position for decades",
   "female": "87.1 years",
   "global_rank": "#2 globally",
   "vs_global_average": "+11 years above global average of 73.3"
  },
  "longevity_strengths": {
   "what_this_country_does_well": [
    "Universal healthcare with strong preventive care",
    "Traditional diet low in saturated fat, high in omega-3",
    "Strong social cohesion and elder respect (ikigai culture)",
    "Active lifestyle from walking-based urban design"
   ]
  },
  "healthy_life_expectancy": {
   "hale": "74.1 years",
   "healthspan_gap": "10.2 years spent in disability",
   "what_this_means": "Japanese people enjoy 74 years of healthy life — still highest globally despite the gap"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/longevitypulse-country-longevity-profile-a5b5f498/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from longevitypulse.theaslangroupllc.com](https://www.zero.xyz/host/longevitypulse.theaslangroupllc.com/llms.txt)
