Medicaid Drug Utilization by State

Medicaid prescriptions and dollars per drug, state and quarter from CMS State Drug Utilization Data: NDC, product name, units, prescriptions, total, Medicaid and non-Medicaid amounts, fee for service or managed care, suppressed rows flagged, every year from 1991.

$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, 20 fieldsv1.0

Data from data.medicaid.gov/dataset/158a1baa-5506-400a-8ec3-97756f0b0536

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

Drugoptional
Start of the product name, such as OZEMPIC or ATORVASTATIN. Only the first 10 characters count, as in the source.
Example: OZEMPIC
Ndcoptional
One National Drug Code: 11 digits, or a dashed 10-digit code such as 0169-4130-13 (padded to 11 digits).
Example: 00169-4130-13
Labeler codeoptional
Only products of this labeler: the first 5 digits of the NDC, such as 00169 for Novo Nordisk.
Example: 00169
Stateoptional
Two-letter state code such as TN (DC and PR too), or US for the national totals only. Leave empty for every state.
Example: TN
Yearoptional
Data year, 1991 or later. Leave empty for the newest year.
Example: 2025
To yearoptional
Last year of a range that starts at year, such as year 2021 with to_year 2025. Newest year comes first.
Example: 2025
Quarteroptional
Only this calendar quarter: 1 (January to March) to 4 (October to December).
Utilization typeoptional
Fee for service rows, managed care rows, or both (all).
Include national totalsoptional
Also return the national total rows (state US) when no state is given.
Include suppressedoptional
Keep rows whose numbers CMS suppressed (fewer than 11 prescriptions); their counts and amounts are empty.

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/medicaid-drug-utilization/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/medicaid-drug-utilization/run" \
  -H "Authorization: Bearer $PULLROW_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"input":{"drug":"OZEMPIC"},"max_items":50}'

Inputs

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

drugtext
Start of the product name, such as OZEMPIC or ATORVASTATIN. Only the first 10 characters count, as in the source.
example: OZEMPIC
ndctext
One National Drug Code: 11 digits, or a dashed 10-digit code such as 0169-4130-13 (padded to 11 digits).
example: 00169-4130-13
labeler_codetext
Only products of this labeler: the first 5 digits of the NDC, such as 00169 for Novo Nordisk.
example: 00169
statetext
Two-letter state code such as TN (DC and PR too), or US for the national totals only. Leave empty for every state.
example: TN
yearnumber
Data year, 1991 or later. Leave empty for the newest year.
example: 2025
to_yearnumber
Last year of a range that starts at year, such as year 2021 with to_year 2025. Newest year comes first.
example: 2025
quarternumber
Only this calendar quarter: 1 (January to March) to 4 (October to December).
example: 4one of: 1, 2, 3, 4
utilization_typetext
Fee for service rows, managed care rows, or both (all).
default: allone of: all, fee_for_service, managed_care
include_national_totalsyes/no
Also return the national total rows (state US) when no state is given.
default: false
include_suppressedyes/no
Keep rows whose numbers CMS suppressed (fewer than 11 prescriptions); their counts and amounts are empty.
default: true

What's in each record

20 fields: 19 here, 1 technical one under Technical details.

Basics

  • National total

    True for the national total rows CMS adds across all states.

    Example No

  • Quarter

    Calendar quarter, 1 to 4.

    Example 4

  • Ndc

    11-digit National Drug Code of the package.

    Example 00169413013

  • Labeler code

    First NDC segment: the labeler (manufacturer, packager or distributor).

    Example 00169

  • Product code

    Second NDC segment: the product.

    Example 4130

  • Package size

    Third NDC segment: the package.

    Example 13

  • Product name

    First 10 characters of the FDA listing name, trimmed, such as OZEMPIC.

    Example OZEMPIC

  • Utilization type

    fee_for_service (FFSU) or managed_care (MCOU).

    Example fee_for_service

  • Units reimbursed

    Units of the drug reimbursed in the quarter (tablets, milliliters and so on).

    Example 5,139

  • Prescriptions

    Prescriptions reimbursed by Medicaid in the quarter.

    Example 1,713

  • Suppressed

    Yes when CMS suppressed the numbers (fewer than 11 prescriptions).

    Example No

Prices

  • Total reimbursed

    Total paid to pharmacies by Medicaid and others, before rebates.

    Example $1,591,305.58

  • Medicaid reimbursed

    Amount paid by Medicaid.

    Example $1,552,412.68

  • Non medicaid reimbursed

    Amount paid by non-Medicaid sources, including what the state paid without federal matching funds.

    Example $38,892.90

  • Currency

    Currency of the amounts: USD.

    Example USD

Location

  • State

    Two-letter state code; US for a national total row.

    Example AK

  • State name

    Full name of the state or territory.

    Example Alaska

Dates

  • Year

    Calendar year of the data.

    Example 2025

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 idYear, quarter, state, NDC and utilization code joined, such as 2025-Q4-AK-00169413013-FFSU.

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
statetextState3 of 3
state_nametextState name3 of 3
is_national_totalyes or noNational total3 of 3
yearnumberYear3 of 3
quarternumberQuarter3 of 3
ndctextNdc3 of 3
labeler_codetextLabeler code3 of 3
product_codetextProduct code3 of 3
package_sizetextPackage size3 of 3
product_nametextProduct name3 of 3
utilization_typetextUtilization type3 of 3
units_reimbursednumberUnits reimbursed2 of 3
prescriptionsnumberPrescriptions2 of 3
total_reimbursedmoneyTotal reimbursed2 of 3
medicaid_reimbursedmoneyMedicaid reimbursed2 of 3
non_medicaid_reimbursedmoneyNon medicaid reimbursed2 of 3
currencytextCurrency3 of 3
is_suppressedyes or noSuppressed3 of 3
dataset_urllinkDataset link3 of 3

How it reads the site

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

Sample records

Sample records
RecordNational totalQuarterNdcLabeler codeProduct codePackage sizeProduct nameUtilization typeUnits reimbursedPrescriptionsSuppressedTotal reimbursedMedicaid reimbursedNon medicaid reimbursedCurrencyStateState nameYearDataset link
1No40016941301300169413013OZEMPICfee_for_service5,1391,713No$1,591,305.58$1,552,412.68$38,892.90USDAKAlaska2025data.medicaid.gov/dataset/158a1baa-5506-400a-8ec3-97756f0b0536
2No40016941301300169413013OZEMPICmanaged_care——Yes———USDAKAlaska2025data.medicaid.gov/dataset/158a1baa-5506-400a-8ec3-97756f0b0536
3No40016941811300169418113OZEMPICfee_for_service4,6411,547No$1,433,709.50$1,415,033.18$18,676.32USDAKAlaska2025data.medicaid.gov/dataset/158a1baa-5506-400a-8ec3-97756f0b0536

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
  • Rows are as states report them to CMS in the State Drug Utilization Data, one dataset per year from 1991. CMS adds each quarter some months after it ends, so the newest year is partial (2026 has quarters 1 and 2 as of December 2026).
  • Product names are the first 10 characters of the FDA listing name (OZEMPIC 1M, ATORVASTAT). The drug you give is cut to 10 characters too and matched at the start of the name; use ndc or labeler_code for an exact product.
  • CMS suppresses rows with fewer than 11 prescriptions (about one row in six for Ozempic in 2025): is_suppressed is true and the counts and amounts are empty. Set include_suppressed to false to leave them out.
  • Rows with state US are the national totals CMS adds; they are left out unless state is US or include_national_totals is true. Adding them to state rows counts the same prescriptions twice.
  • Amounts are U.S. dollars paid to pharmacies, dispensing fees included, before any manufacturer rebates (the source has no rebate amounts). Managed care rows start in 2010.
  • At most 10,000 rows per run, newest year first and then in the order CMS loaded them. Narrow with state, quarter or utilization_type, or split long year ranges into several runs.
  • Public domain data from CMS (data.medicaid.gov). CMS does not endorse this API.

Version history

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