VOOZH about

URL: https://apify.com/parseforge/cdc-wonder-mortality-scraper

⇱ CDC WONDER Mortality Data Scraper Β· Apify


πŸ‘ CDC WONDER Mortality Data Scraper avatar

CDC WONDER Mortality Data Scraper

Pricing

from $19.00 / 1,000 results

Go to Apify Store

CDC WONDER Mortality Data Scraper

Export CDC WONDER mortality records. Pull underlying cause-of-death counts, crude rates, and age-adjusted rates by year, state, age group, sex, and ICD-10 chapter. Returns U.S. public health vital statistics from the National Vital Statistics System.

Pricing

from $19.00 / 1,000 results

Rating

0.0

(0)

Developer

πŸ‘ ParseForge

ParseForge

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

23 days ago

Last modified

Share

πŸ‘ ParseForge Banner

🩺 CDC WONDER Mortality Data Scraper

πŸš€ Export U.S. mortality records in seconds. Pull underlying and multiple cause-of-death counts, crude rates, and age-adjusted rates by year, state, age group, sex, and ICD-10 chapter from the CDC's official National Vital Statistics System. No survey wrangling, no SAS code.

πŸ•’ Last updated: 2026-05-27 Β· πŸ“Š 16 fields per record Β· πŸ‡ΊπŸ‡Έ 50 states + DC Β· πŸ“… 1999 - present Β· πŸ₯ 6 mortality databases

The CDC WONDER Mortality Scraper queries the Centers for Disease Control's WONDER public-health data warehouse and returns 16 structured fields per grouping, including deaths, exposed population, crude rate per 100,000, age-adjusted rate, standard error, and the 95 percent confidence interval. The underlying data comes from the National Vital Statistics System and is the same source cited in CDC fact sheets, JAMA, the NEJM, and major U.S. newsrooms.

The catalog covers all 50 states, DC, six mortality databases (underlying cause, multiple cause, infant deaths, linked birth/infant death, provisional), and the full ICD-10 chapter hierarchy. This Actor lets you choose the database, group results by year, state, sex, age group, or ICD-10 chapter, and downloads the result as CSV, Excel, JSON, or XML.

🎯 Target AudienceπŸ’‘ Primary Use Cases
Epidemiologists, public-health analysts, biostatisticians, health journalists, policy researchers, pharma teams, civic-tech projectsMortality dashboards, cause-of-death trend analysis, age-adjusted rate comparisons, state benchmarks, longitudinal studies, equity research

πŸ“‹ What the CDC WONDER Mortality Scraper does

Six dataset choices and seven grouping presets in a single run:

  • πŸ“˜ Underlying Cause of Death (D76). 1999-current, the workhorse for cause-of-death trend analysis.
  • πŸ“™ Multiple Cause of Death (D77). All contributing causes per death record.
  • πŸ‘Ά Infant Deaths (D157) and Linked Birth / Infant Death (D158) for perinatal research.
  • πŸ•’ Provisional Mortality (D159, D176) for the most recent records before final tabulation.
  • 🧩 Group by year, state, year+state, year+state+sex, year+state+age, year+ICD-10 chapter, or state+sex+age.
  • 🩻 Filter by ICD-10 chapter (A00-B99 infectious, C00-D48 neoplasms, I00-I99 circulatory, etc.) and a single state FIPS code.

Each grouping ships back the deaths count, exposed population, crude rate per 100k, the age-adjusted rate, its standard error, and the 95 percent confidence interval. Suppressed cells (count < 10 per CDC privacy policy) come back as null.

πŸ’‘ Why it matters: mortality data is the gold standard for measuring population health, drug-overdose epidemics, suicide trends, maternal mortality, and the effect of policy on outcomes. Building it yourself means parsing CDC WONDER's quirky XML response format and respecting the public-data-use agreement. This Actor turns that into a one-click data pull.


🎬 Full Demo

🚧 Coming soon: a 3-minute walkthrough showing how to go from sign-up to a downloaded mortality dataset.


βš™οΈ Input

InputTypeDefaultBehavior
maxItemsinteger10Records to return. Free plan caps at 10, paid plan at 1,000,000.
databasestring"D76"One of six mortality datasets. D76 is the underlying-cause workhorse.
groupBystring"year-state"One of seven grouping presets.
yearFrominteger2020Inclusive start year (1999+).
yearTointeger2020Inclusive end year.
statestring""Single U.S. state FIPS code (e.g. `06` California). Empty = all states.
icd10Chapterstring""One ICD-10 chapter range. Empty = all causes.

Example: 2020 deaths by state, all causes.

{
"maxItems":60,
"database":"D76",
"groupBy":"year-state",
"yearFrom":2020,
"yearTo":2020
}

Example: California cardiovascular deaths by year and sex, 2018-2022.

{
"maxItems":50,
"database":"D76",
"groupBy":"year-state-sex",
"yearFrom":2018,
"yearTo":2022,
"state":"06",
"icd10Chapter":"I00-I99"
}

⚠️ Good to Know: the CDC suppresses any grouping with fewer than 10 deaths under its data-use restrictions. Suppressed cells return as null. The age-adjusted rate is flagged "Unreliable" by CDC when the underlying count is below 20; the Actor surfaces that as null for the rate field while keeping the raw death count.


πŸ“Š Output

Each grouping record contains 16 fields. Download the dataset as CSV, Excel, JSON, or XML.

🧾 Schema

FieldTypeExample
πŸ“š databasestring"D76"
🧩 groupBystring"year-state"
πŸ“… yearFrominteger2020
πŸ“… yearTointeger2020
🏷️ groupLabelsstring[]["2020", "California"]
πŸ”’ groupCodesstring[]["2020", "06"]
πŸ“† yearstring | null"2020"
πŸ‡ΊπŸ‡Έ statestring | null"California"
🧷 additionalLabelstring | null"Female"
⚰️ deathsnumber | null321428
πŸ‘₯ populationnumber | null39538223
πŸ“‰ crudeRatePer100knumber | null812.9
πŸ“Š ageAdjustedRatenumber | null659.4
Β± ageAdjustedRateStdErrnumber | null1.2
β–Ό ageAdjustedRateLowerCInumber | null657.0
β–² ageAdjustedRateUpperCInumber | null661.7
🩻 icd10Filterstring | null"I00-I99"
πŸ”— sourceUrlstring"https://wonder.cdc.gov/ucd-icd10.html"
πŸ•’ scrapedAtISO 8601"2026-05-27T00:00:00.000Z"

πŸ“¦ Sample records


✨ Why choose this Actor

Capability
πŸ›οΈOfficial source. CDC WONDER is the national vital-statistics system. Same numbers cited in JAMA and NEJM.
πŸ“…24+ years of history. Records from 1999 through the latest provisional release.
🧩Seven grouping presets. Year, state, sex, age, or ICD-10 chapter, in the combinations researchers actually need.
πŸ“ŠAdjusted rates included. Crude and age-adjusted rates with confidence intervals out of the box.
🚫Honors CDC suppression. Cells below 10 deaths are returned as null, matching CDC privacy policy.
πŸ”Always fresh. Every run hits the live WONDER service for the most current release.
🌐No login. Uses public mortality data only. No account or API key needed.

πŸ“Š Population-scale mortality data is the foundation of every public-health program, policy evaluation, and epidemiologic study in the United States.


πŸ“ˆ How it compares to alternatives

ApproachCostCoverageRefreshFiltersSetup
⭐ CDC WONDER Scraper (this Actor)$5 free credit, then pay-per-useAll 50 states + DC, 1999-currentLive per runyear, state, sex, age, ICD-10⚑ 2 min
Direct CDC WONDER portalFreeSameLiveMany, but UI-driven🐒 Manual export per query
Academic vital-stats datasetsFreeOften datedAnnualLimited🐒 Hours
Commercial health-data vendors$5,000+/yearSame + extrasQuarterlyMany⏳ Sales cycle

Pick this Actor when you want the official CDC numbers in a clean JSON feed with zero query-builder clicks.


πŸš€ How to use

  1. πŸ“ Sign up. Create a free account with $5 credit (takes 2 minutes).
  2. 🌐 Open the Actor. Go to the CDC WONDER Mortality Scraper page on the Apify Store.
  3. 🎯 Set input. Pick a database, grouping preset, year range, and optional filters.
  4. πŸš€ Run it. Click Start and let the Actor query CDC WONDER.
  5. πŸ“₯ Download. Grab your results in the Dataset tab as CSV, Excel, JSON, or XML.

⏱️ Total time from signup to downloaded dataset: 3-5 minutes. No coding required.


πŸ’Ό Business use cases

πŸ’Š Pharma & life sciences

  • Disease-burden baselines for therapeutic-area planning
  • Age-adjusted comparisons across state markets
  • Pre-launch demand modeling for new indications
  • Real-world-evidence anchors for safety analyses

πŸ₯ Provider & payer analytics

  • Mortality benchmarks for quality scorecards
  • State-level cause-of-death trend dashboards
  • Risk-stratification inputs for population health
  • Outcomes baselines for CMS reporting

πŸ“° Health journalism

  • Story-ready charts on opioid, suicide, and maternal mortality
  • State-by-state rankings with confidence intervals
  • Year-over-year change visualizations
  • Quick "is this surprising?" fact-checks vs. national average

πŸ›οΈ Policy & government

  • Evidence base for state legislation
  • Public-health-program evaluation pre/post intervention
  • Equity dashboards by race, age, geography
  • Federal-funding allocation models

πŸ”Œ Automating CDC WONDER Scraper

Control the scraper programmatically for scheduled runs and pipeline integrations:

  • 🟒 Node.js. Install the apify-client NPM package.
  • 🐍 Python. Use the apify-client PyPI package.
  • πŸ“š See the Apify API documentation for full details.

The Apify Schedules feature lets you trigger this Actor on any cron interval. A monthly refresh on the provisional dataset (D159) keeps a "what's happening now in U.S. mortality" dashboard always current.


🌟 Beyond business use cases

Data like this powers more than commercial workflows. The same structured records support research, education, civic projects, and personal initiatives.

πŸŽ“ Research and academia

  • Epidemiology coursework with real CDC data
  • Biostatistics theses on age-adjusted rate methodology
  • Reproducible studies citing versioned WONDER pulls
  • Equity research across race, geography, and time

🎨 Personal and creative

  • Data-journalism portfolio pieces
  • Personal blogs on long-running mortality trends
  • Visualizations that make population health tangible
  • Hobbyist explorations of public-health history

🀝 Non-profit and civic

  • Harm-reduction orgs tracking overdose deaths by state
  • Maternal-health non-profits monitoring outcomes
  • Mental-health advocacy with suicide-trend data
  • Community-health needs assessments

πŸ§ͺ Experimentation

  • Train forecast models on mortality time series
  • Benchmark anomaly-detection systems with real spikes
  • Prototype public-health agent pipelines
  • Test dashboard concepts with live CDC feeds

πŸ€– Ask an AI assistant about this scraper

Open a ready-to-send prompt about this ParseForge actor in the AI of your choice:


❓ Frequently Asked Questions

🧩 How does it work?

You pick a mortality database, a grouping preset, a year range, and optional state or ICD-10 filters. The Actor submits the query to CDC WONDER, waits for the server to compute the table, parses the response, and returns one clean record per grouping.

πŸ“š Which databases are supported?

All six WONDER mortality databases: D76 (Underlying Cause 1999-current), D77 (Multiple Cause 1999-current), D157 (Infant Deaths 2007-current), D158 (Linked Birth/Infant Death 2017-current), D159 (Provisional Mortality), and D176 (Underlying Cause Provisional).

🚫 Why are some fields null?

CDC suppresses any grouping with fewer than 10 deaths under its data-use policy. The age-adjusted rate is also flagged "Unreliable" when the underlying count is below 20. Both come back as null. This is the same behavior you'd see on the official portal.

🩻 How do I filter by cause of death?

Pass the ICD-10 chapter range (e.g. I00-I99 for circulatory diseases, V01-Y98 for external causes). For all causes, leave the field empty.

πŸ“… How recent is the data?

The final-tabulation databases (D76, D77) typically lag by 12-18 months. The provisional databases (D159, D176) update within weeks of new deaths being filed.

πŸ•’ Why does the query take so long?

CDC WONDER assembles each query server-side. Queries spanning many years and groupings take 30-60 seconds; some can take longer. The Actor allows up to three minutes per query.

⏰ Can I schedule regular runs?

Yes. Use Apify Schedules to run this Actor on any cron interval (daily, weekly, monthly) and keep a downstream database in sync.

βš–οΈ Is this data legal to use?

Yes. CDC WONDER data is published by the U.S. federal government and is freely usable for research, commercial analytics, journalism, and policy work. You must accept the data-use restrictions on each query (the Actor does this automatically).

πŸ’³ Do I need a paid Apify plan?

No. The free Apify plan is enough for testing and small runs (10 records). A paid plan lifts the limit and gives you scheduling, higher concurrency, and larger datasets.

πŸ” What happens if a run fails?

CDC WONDER is occasionally flaky during peak hours. The Actor retries transient failures. If a run still fails, the dataset contains a clean { error: ... } record explaining the issue.

πŸ†˜ What if I need help?

Contact us through the Apify platform or use the Tally form linked below.


πŸ”Œ Integrate with any app

CDC WONDER Mortality Scraper connects to any cloud service via Apify integrations:

  • Make - Automate multi-step workflows
  • Zapier - Connect with 5,000+ apps
  • Slack - Get run notifications in your channels
  • Airbyte - Pipe mortality data into your warehouse
  • GitHub - Trigger runs from commits and releases
  • Google Drive - Export datasets straight to Sheets

You can also use webhooks to trigger downstream actions when a run finishes. Push fresh mortality data into your BI tool, or alert your team in Slack when a state's age-adjusted rate crosses a threshold.


πŸ”— Recommended Actors

πŸ’‘ Pro Tip: browse the complete ParseForge collection for more reference-data scrapers.


πŸ†˜ Need Help? Open our contact form to request a new scraper, propose a custom data project, or report an issue.


⚠️ Disclaimer: this Actor is an independent tool and is not affiliated with, endorsed by, or sponsored by the U.S. Centers for Disease Control and Prevention or the National Center for Health Statistics. All trademarks mentioned are the property of their respective owners. Only publicly available mortality data is collected, subject to the CDC's standard data-use restrictions.

You might also like

CDC API Public Health & Disease Database

alizarin_refrigerator-owner/cdc-api-public-health-disease-database

Access CDC public health data including disease surveillance, vaccination rates, mortality statistics, and health indicators. Track outbreaks, chronic diseases, and population health metrics by state and demographic.

CDC NCHS Marriage & Divorce Vital Statistics Scraper

jungle_synthesizer/cdc-nchs-marriage-divorce-vital-statistics-scraper

Scrapes the CDC National Center for Health Statistics (NCHS) marriage and divorce vital statistics series into clean, normalized year Γ— geography Γ— rate rows covering all 50 US states plus national totals back to 1990.

πŸ‘ User avatar

BowTiedRaccoon

2

CDC Health Statistics Scraper

compute-edge/cdc-health-statistics-scraper

Extract public health data from CDC's open data portal (data.cdc.gov). Access mortality causes, COVID-19 deaths, vaccination coverage, chronic disease indicators, birth rates, foodborne outbreaks, and diabetes surveillance. 8 curated datasets with filtering, sorting, and full pagination via the Socr

CDC Socrata Datasets Scraper

parseforge/cdc-socrata-datasets-scraper

Catalog every CDC Socrata Open Data dataset filtered by category. Returns dataset identifier, title, description, category, attribution, update frequency, and resource URLs. Useful for data discovery, public health analytics planning, and indexing CDC evidence.

CDC Travel Health Notices Scraper

jungle_synthesizer/cdc-travel-health-notices-scraper

Scrapes CDC Travelers' Health destination notices β€” the health leg of corporate travel risk. Extracts structured data including notice level (Watch/Alert/Warning), disease or hazard, affected countries, key points, recommendations, and issue/update dates from all active CDC travel health notices.

πŸ‘ User avatar

BowTiedRaccoon

2

Coronavirus USA CDC Scraper

petrpatek/covid-usa-cdc

Gets an actual number of examined and infected people by COVID-19 in the USA from CDC https://www.cdc.gov/coronavirus/2019-ncov/cases-in-us.html.

πŸ‘ User avatar

Petr PΓ‘tek

58

Vital Proteins Scraper

mshopik/vital-proteins-scraper

Scrape Vital Proteins and extract data on vitamins and supplements from vitalproteins.com. Our Vital Proteins API lets you crawl product information and pricing. The saved data can be downloaded as HTML, JSON, CSV, Excel, and XML.