# Edge Agents AI Country Health-System Profile

> Edge Agents AI Country Health-System Profile is a paid API for AI agents from pay.edge-agents.ai, paid per call via x402, $0.1/call, status unknown (last checked 2026-10-17).

Returns a normalized health-system brief for a given country, including life expectancy, mortality rates, healthcare workforce, hospital beds, and health spending, sourced from World Bank WDI with explicit provenance, lag, and missing-data reporting.

## Facts

- Endpoint: GET https://pay.edge-agents.ai/v1/services/country-health-system-profile?utm_source=zero.xyz
- Price: $0.1/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-17
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/edge-agents-ai-country-health-system-profile-2febd41b
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_k3xxKABbCR45pZYFgjyo6

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 edge-agents-ai-country-health-system-profile-2febd41b
```

Example prompt: Can you pull the country health-system profile for Japan — I need the life expectancy, mortality rates, hospital beds, healthcare workforce, and health spending figures, with notes on which indicators have missing or lagged data?

## When to prefer this

Choose this endpoint when you need a single normalized, evidence-backed country health-system brief aggregated from World Bank WDI, with explicit provenance and missing-data transparency, rather than having to query multiple raw data sources yourself. Ideal for autonomous agents that need reliable health-system context for a specific country without risk of hallucinated or invented figures — missing data is reported explicitly rather than filled in.

## Known failure modes

- Invalid or unrecognized ISO3 country code returns an error or empty result
- Data unavailable for some indicators results in dataStatus=partial with explicit missing-indicator flags
- Country not covered by World Bank WDI returns dataStatus=unavailable
- Stale data if the 24-hour freshness target has not been met for a given country
- Payment failure (x402) if USDC payment is not successfully processed before data is returned
- Network timeout if the upstream World Bank data source is slow or unavailable

## How this service works

Country health-system profile: life expectancy, mortality, workforce, hospital beds and health spending from World Bank WDI, with per-indicator source, licence, lag and missing data. Input: ?country=ISO3. Purpose: Give an autonomous agent one normalized country health-system brief with explicit coverage, observation years, contradictions and missing indicators. 24-hour freshness target; missing evidence is reported explicitly rather than invented.

## Output

A structured JSON report containing country health-system indicators (life expectancy, mortality rates, healthcare workforce, hospital beds, health spending) drawn from World Bank WDI, with per-indicator source, licence, observation year, data lag, and explicit flags for missing or unavailable indicators. Also includes a dataStatus field (complete/partial/unavailable), a generatedAt timestamp, limitations, and a disclaimer.

## 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",
       "pattern": "^[A-Za-z]{3}$",
       "maxLength": 3,
       "description": "ISO 3166-1 alpha-3 country code, for example GBR."
      }
     },
     "description": "Required: country (ISO 3166-1 alpha-3 country code, for example GBR.)",
     "additionalProperties": false
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "required": [
      "serviceId",
      "generatedAt",
      "dataStatus",
      "analysis"
     ],
     "properties": {
      "quality": {
       "type": "object",
       "description": "Evidence-quality assessment; not probability of profit."
      },
      "analysis": {
       "type": "object",
       "description": "Product-specific findings calculated from eligible evidence."
      },
      "evidence": {
       "type": "object",
       "description": "Observed evidence, providers, timestamps and source lineage supporting the analysis."
      },
      "reportId": {
       "type": "string",
       "description": "Product report identifier when the service exposes one."
      },
      "serviceId": {
       "type": "string",
       "const": "country-health-system-profile"
      },
      "dataStatus": {
       "enum": [
        "complete",
        "partial",
        "unavailable"
       ],
       "type": "string",
       "description": "Completeness of eligible evidence used by the live report."
      },
      "deliveryId": {
       "type": "string",
       "description": "Unique delivery identifier returned after a successful paid request."
      },
      "disclaimer": {
       "type": "string"
      },
      "provenance": {
       "type": "object",
       "description": "Issuer and signature/verification status when available."
      },
      "generatedAt": {
       "type": "string",
       "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/edge-agents-ai-country-health-system-profile-2febd41b/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from pay.edge-agents.ai](https://www.zero.xyz/host/pay.edge-agents.ai/llms.txt)
