# CDC/NCHS Leading Causes of Death by US State

> CDC/NCHS Leading Causes of Death by US State is a paid API for AI agents from api.healthtravel-api.workers.dev, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-29).

Returns CDC/NCHS leading causes of death statistics (cause, death count, age-adjusted death rate per 100,000) for a specified US state and optional year, up to 50 rows per call.

## Facts

- Endpoint: GET https://api.healthtravel-api.workers.dev/api/health/cdc-wonder-mortality?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/cdc-nchs-leading-causes-of-death-by-us-state-70d100a7
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_SMvLSH-tXFC31TpRDm6Di

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 cdc-nchs-leading-causes-of-death-by-us-state-70d100a7
```

Example prompt: Pull up the CDC leading causes of death data for California in 2019 — show me up to 20 rows with cause, number of deaths, and the age-adjusted death rate.

## When to prefer this

Choose this endpoint when you need structured CDC/NCHS leading causes of death statistics for a specific US state and optional year, particularly for public health research, mortality analysis, or epidemiological comparisons. It is best suited for agent workflows that need tabular death-cause data without using the interactive CDC WONDER query tool. Not suitable for custom demographic breakdowns or cross-state comparisons in a single call.

## Known failure modes

- State name not found in dataset — must match exact CDC dataset formatting (e.g. 'Vermont' not 'VT')
- Year not available in dataset returns empty results
- Row count out of range (must be 1-50) returns error
- Network or Cloudflare Worker timeout
- Upstream data.cdc.gov unavailability

## How this service works

CDC/NCHS leading causes of death by US state and year (data.cdc.gov open data): cause, deaths and age-adjusted death rate per 100,000. Published table only, not the CDC WONDER query tool. Up to 50 rows per call.

## Output

A list of up to 50 rows (default 10) from the CDC/NCHS published leading causes of death table, each containing: cause of death, number of deaths, age-adjusted death rate per 100,000, state, and year. Data is sourced from data.cdc.gov open data, not the interactive CDC WONDER query tool.

## 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": [
      "state"
     ],
     "properties": {
      "max": {
       "type": "string",
       "description": "How many rows, 1 to 50 (default 10)"
      },
      "year": {
       "type": "string",
       "description": "Four-digit year, optional"
      },
      "state": {
       "type": "string",
       "description": "US state name as in the dataset, e.g. Vermont, 2 to 40 letters and spaces"
      }
     }
    }
   },
   "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/cdc-nchs-leading-causes-of-death-by-us-state-70d100a7/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.healthtravel-api.workers.dev](https://www.zero.xyz/host/api.healthtravel-api.workers.dev/llms.txt)
