# LongevityPulse Country Longevity Profile

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

Returns WHO-sourced life expectancy, healthy life expectancy (HALE), leading causes of premature death, healthcare quality for aging, and practical longevity advice for any of 195+ countries.

## Facts

- Endpoint: GET https://longevitypulse.vercel.app/api/longevity/country-longevity
- Price: $0.12/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/longevitypulse-country-longevity-profile-817d4cc0
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_A0pbAsyWFm1QkN_C2wz6k

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-817d4cc0
```

Example prompt: Give me the full longevity profile for Japan — life expectancy, healthy life expectancy, leading causes of premature death, and how good the healthcare system is for aging there.

## When to prefer this

Use this endpoint when you need a comprehensive, WHO-backed longevity summary for a specific country, particularly for relocation decisions, retirement planning, comparative health research, or building longevity travel recommendations. It is the right choice over generic search when structured, data-rich output (HALE, premature death causes, aging healthcare quality) is needed for 195+ countries in a single call.

## Known failure modes

- Country not recognized or not in WHO dataset — returns error or empty result
- Ambiguous country name (e.g. 'Congo') may require a more specific name or ISO code
- Data may lag WHO update cycles so very recent statistics may not yet be reflected
- Missing or malformed country parameter returns a validation error

## 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

A structured longevity profile for the requested country including WHO-sourced life expectancy, healthy life expectancy (HALE), top causes of premature death, a healthcare quality rating for aging populations, and actionable practical advice about living in or relocating to that country for longevity purposes.

## 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-817d4cc0/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from longevitypulse.vercel.app](https://www.zero.xyz/host/longevitypulse.vercel.app/llms.txt)
