# 2s.io CDC Mortality Statistics

> 2s.io CDC Mortality Statistics is a paid API for AI agents from 2s.io, paid per call via x402, $0.0024/call, status unknown (last checked 2026-09-14, last successful call 2026-07-19).

Returns US mortality data from CDC NCHS — either annual leading-cause death counts and age-adjusted rates by state (1999–2017) or provisional weekly death counts by jurisdiction (2020–2023)

## Facts

- Endpoint: GET https://2s.io/api/health/mortality-stats
- Price: $0.0024/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Last successful call: 2026-07-19
- Success rate: 100% of calls made through Zero
- Activations on Zero: 7
- Tags: x402
- Canonical page: https://www.zero.xyz/c/2s-io-cdc-mortality-statistics-08a92d0c
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_3_pdd9DPXFu8kHxd2rBQ7

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 2s-io-cdc-mortality-statistics-08a92d0c
```

Example prompt: Pull me the CDC leading-causes mortality data for California, filtering for Heart disease deaths in 2015 — I want the annual death count and age-adjusted death rate per 100k.

## When to prefer this

Choose this endpoint when you need official US mortality statistics from CDC NCHS — either historical annual leading-cause death data by state (1999–2017) or provisional weekly death counts including COVID-19 (2020–2023). Prefer this over general web search when you need structured, queryable, public-domain federal mortality data with consistent column schemas. Best for epidemiological analysis, public health research, or trend comparisons by state and cause.

## Known failure modes

- Invalid state name (must be full name like 'California', not abbreviation 'CA') returns no results or error
- Year out of range for dataset (leading-causes: 1999–2017; weekly-counts: 2020–2023) returns empty result set
- Cause string mismatch (case-sensitive or typo) returns no matching rows
- Offset beyond available data returns empty rows array
- Upstream CDC data unavailability causes 5xx or timeout

## How this service works

US mortality statistics from CDC NCHS. dataset=leading-causes (default): annual deaths + age-adjusted death rate per 100k by state and top-10 cause of death, 1999-2017 — filter by state (full name, e.g. "California", or "United States"), year, cause (e.g. "Heart disease", "Cancer", "Suicide"). dataset=weekly-counts: provisional weekly death counts by jurisdiction with per-cause columns (all-cause, natural, COVID-19, heart disease, cancer, etc.), 2020-2023 — filter by state and mmwrYear. Rows returned raw from CDC with documented column names. Public-domain federal data.

## Output

Raw rows from the CDC NCHS dataset with documented column names. For leading-causes: state, year, cause of death, number of deaths, and age-adjusted death rate per 100,000 population. For weekly-counts: jurisdiction, MMWR year/week, and per-cause columns including all-cause, natural causes, COVID-19, heart disease, cancer, and more.

## Example request

```json
{
 "input": {
  "type": "http",
  "method": "GET",
  "queryParams": {
   "year": 2015,
   "cause": "Heart disease",
   "limit": 25,
   "state": "California",
   "offset": 0,
   "dataset": "leading-causes"
  }
 }
}
```

## 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",
    "queryParams"
   ],
   "properties": {
    "type": {
     "const": "http"
    },
    "method": {
     "const": "GET"
    },
    "queryParams": {
     "properties": {
      "year": {
       "type": "integer",
       "maximum": 2023,
       "minimum": 1999
      },
      "cause": {
       "type": "string",
       "description": "leading-causes only. E.g. \"Heart disease\", \"Cancer\", \"Suicide\", \"All causes\"."
      },
      "limit": {
       "type": "integer",
       "default": 25,
       "maximum": 200,
       "minimum": 1
      },
      "state": {
       "type": "string",
       "description": "Full state name (\"California\") or \"United States\"."
      },
      "offset": {
       "type": "integer",
       "default": 0,
       "minimum": 0
      },
      "dataset": {
       "enum": [
        "leading-causes",
        "weekly-counts"
       ],
       "type": "string",
       "default": "leading-causes"
      }
     }
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/2s-io-cdc-mortality-statistics-08a92d0c/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from 2s.io](https://www.zero.xyz/host/2s.io/llms.txt)
