CDC Drug Overdose Deaths API

Provisional U.S. drug overdose death counts from CDC/NCHS, by state and drug type or by county: 12 month-ending deaths per month, predicted counts, data completeness and CDC's footnotes.

$0.50 per 1,000 records

You pay only for the records you get. Zero records cost zero. 10,000 free records of this API to start (5,000 at the base price of $1 per 1,000), no card.

Try it
Ready-made, maintained by usRecords, 15 fieldsv1.0

Data from data.cdc.gov/resource/xkb8-kh2a.json

Get this data

Try it here with a few records, download the sample, fill a Google Sheet, or call it from your own code.

Try it

Leveloptional
state (by drug type), county, or both (half of the rows from each file).
Stateoptional
Optional state name, such as Tennessee.
Example: Tennessee
Indicatoroptional
Optional drug type words for the state file, such as Synthetic opioids or Cocaine.
Example: Synthetic opioids
Yearoptional
Optional year of the month-ending date, such as 2025.
Example: 2025

Run it on this page, or call it from your code with the endpoint in the developer section. A free key covers 10,000 records of this API, no card. Create a free key

For developers: the API and MCPThe endpoint, code in curl, JavaScript and Python, every input, and files for your tools
Endpoint
POSThttps://pullrow.dev/v1/apis/cdc-overdose-deaths/run
  • Small runs answer in the same request; longer ones answer 202 with a run to poll.
  • fields returns only the fields you name. The examples send the ones picked on this page.
  • Idempotency-Key is optional. A retry with it is never charged twice.
  • You pay for records returned. Zero records cost zero.

Every run option, explained

Calling it needs a key
10,000 free records of this API to start. No card.
curl
curl -X POST "https://pullrow.dev/v1/apis/cdc-overdose-deaths/run" \
  -H "Authorization: Bearer $PULLROW_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"input":{"level":"state"},"max_items":50}'

Inputs

Send them as input in the request body. Leave one out to use its default.

leveltext
state (by drug type), county, or both (half of the rows from each file).
default: stateexample: stateone of: state, county, both
statetext
Optional state name, such as Tennessee.
example: Tennessee
indicatortext
Optional drug type words for the state file, such as Synthetic opioids or Cocaine.
example: Synthetic opioids
yearnumber
Optional year of the month-ending date, such as 2025.
example: 2025

What's in each record

15 fields: 14 here, 1 technical one under Technical details.

Basics

  • Level

    state or county.

    Example state

  • County name

    Example Anderson

  • County FIPS code

    Example 47001

  • Month

    Month (1 to 12) the 12-month period ends.

    Example 5

  • Counting period, 12 month-ending

    Example 12 month-ending

  • Indicator

    Drug type or measure, such as Synthetic opioids, excl. methadone (T40.4).

    Example Cocaine (T40.5)

  • Deaths

    Reported (provisional) deaths in the 12 months; empty when suppressed.

    Example 535

  • Predicted deaths

    CDC's prediction adjusted for pending records (state level only).

    Example 536

  • Percent complete

    Share of expected records already received, in percent (state level only).

    Example 100%

  • Percent pending

    Share of records still pending investigation, in percent.

    Example 0.108623%

  • Footnote

    CDC's note on data quality or suppression.

    Example Underreported due to incomplete data.

Location

  • State name

    Example Tennessee

Dates

  • Year

    Year of the month the 12-month period ends.

    Example 2026

  • Month ending date

    Last day of the 12-month period (county level only).

    Example Mar 31, 2026

Technical detailsField names and types for developers, and the 1 field hidden above

Hidden by default

This field comes with each record too. It is an internal code, a note about how the record was read or a copy of what was searched for, so the lists above leave it out.

  • ID idStable id of the row: level, state, county, drug type, year and month.

Field names and types

The names your code reads in each record. "Filled" counts how many of the 3 sample records carry the field.

Field nameTypeShown on this page asFilled
idtextID (hidden)3 of 3
leveltextLevel3 of 3
statetextState name3 of 3
countytextCounty name0 of 3
fipstextCounty FIPS code0 of 3
yearnumberYear3 of 3
monthnumberMonth3 of 3
periodtextCounting period, 12 month-ending3 of 3
indicatortextIndicator3 of 3
deathsnumberDeaths3 of 3
predicted_deathsnumberPredicted deaths3 of 3
percent_completenumberPercent complete3 of 3
percent_pendingnumberPercent pending3 of 3
month_ending_datedateMonth ending date0 of 3
footnotetextFootnote3 of 3

How it reads the site

Runs on a reader we built and maintain by hand for this site.

Sample records

Sample records
RecordLevelCounty nameCounty FIPS codeMonthCounting period, 12 month-endingIndicatorDeathsPredicted deathsPercent completePercent pendingFootnoteState nameYearMonth ending date
1state——512 month-endingCocaine (T40.5)535536100%0.108623%Underreported due to incomplete data.Tennessee2026—
2state——312 month-endingCocaine (T40.5)567567100%0.084038%Underreported due to incomplete data.Tennessee2026—
3state——612 month-endingCocaine (T40.5)518521100%0.135478%Underreported due to incomplete data.Tennessee2026—

Sample records from the example output this API publishes. Email addresses and phone numbers in them are masked. Hover over a column name to see the field name your code reads.

Reliability

Counted from real runs. Our own health checks are left out. A run succeeded when it finished and the site neither blocked it nor broke it.

Incidents and repairs

How it is kept working What a repair can't do

A ready-made API, maintained by us. It is not part of the daily check or the automatic rebuild yet.

  • You pay only for records returned. A run that returns none costs nothing.
Known limits
  • Every count is a 12 month-ending total (deaths in the 12 months up to the month shown), not a single month's deaths.
  • Figures are provisional and underestimate final counts; percent_complete and percent_pending show how complete a row is, and CDC's footnote is kept on each row. Rows CDC marks as low quality can have empty deaths.
  • The state file is refreshed about monthly with a lag of roughly 4 months; the county file is refreshed quarterly and runs to the most recent quarter-end. The state file also holds an overall United States row and an 'Percent with drugs specified' indicator whose value is a percentage.
  • County counts of 1 to 9 are suppressed by CDC (deaths is empty); indicator is only used for the state file, and the county file counts all drug overdose deaths.
  • One run returns at most 20,000 rows, newest first. Data from CDC/NCHS is public domain; CDC does not endorse this API. The source throttles heavy anonymous use.

Version history

A run uses the live version unless the request names another one with version.