{"api":{"id":"api_f0bda54168d029ca26fb7d0a","slug":"medicare-medicaid-drug-spending","name":"Medicare & Medicaid Drug Spending","description":"Yearly government spending on each drug in Medicare Part D, Medicare Part B or Medicaid, from CMS: brand, generic name, manufacturer, total spending, claims, beneficiaries, dosage units and average spending per claim, beneficiary and unit, one row per drug and year.","kind":"ready_made","visibility":"public","domain":"data.cms.gov","source_url":"https://data.cms.gov/summary-statistics-on-use-and-payments/medicare-medicaid-spending-by-drug","category":"health","record_type":"generic","active_version":"1.0","units_per_1k":500,"health":"unknown","auto_repair":false,"last_checked_at":null,"last_run_at":null,"fields_count":19,"created_at":"2026-12-06T04:12:04.055Z","updated_at":"2026-12-06T04:12:04.055Z","runnable":true},"version":"1.0","contract_hash":"3f14d380154c94e63936599a7a95373af5b4b5b9327edf19e6eba6960350cf15","fields":[{"name":"id","type":"string","description":"This row's key: program, brand, generic name, billing code or manufacturer, and year.","required":true,"coverage":1,"example":"part_d|Ozempic|Semaglutide|Novo Nordisk|2020"},{"name":"program","type":"string","description":"Medicare Part D, Medicare Part B or Medicaid.","required":false,"coverage":1,"example":"Medicare Part D"},{"name":"brand_name","type":"string","description":"Brand name of the drug.","required":false,"coverage":1,"example":"Ozempic"},{"name":"generic_name","type":"string","description":"Generic name of the drug.","required":false,"coverage":1,"example":"Semaglutide"},{"name":"manufacturer","type":"string","description":"The manufacturer; null on total rows and in Part B.","required":false,"coverage":1,"example":"Novo Nordisk"},{"name":"is_overall","type":"boolean","description":"Whether the row totals all manufacturers of the drug.","required":false,"coverage":1,"example":false},{"name":"manufacturers_count","type":"integer","description":"Number of manufacturers of the drug.","required":false,"coverage":1,"example":1},{"name":"year","type":"integer","description":"The calendar year the spending is for.","required":false,"coverage":1,"example":2020},{"name":"total_spending","type":"money","description":"Total spending on the drug that year; the currency is in currency.","required":false,"coverage":1,"example":1455812267.1},{"name":"currency","type":"string","description":"Currency of the money fields: USD.","required":false,"coverage":1,"example":"USD"},{"name":"total_claims","type":"integer","description":"Number of claims that year.","required":false,"coverage":1,"example":1204138},{"name":"total_beneficiaries","type":"integer","description":"Number of patients who received the drug that year (Medicare only).","required":false,"coverage":1,"example":269663},{"name":"dosage_units","type":"number","description":"Dosage units dispensed or given that year, such as pills, milliliters or billing units.","required":false,"coverage":1,"example":3813091.786},{"name":"avg_spend_per_claim","type":"money","description":"Average spending per claim that year.","required":false,"coverage":1,"example":1209.0078273},{"name":"avg_spend_per_beneficiary","type":"money","description":"Average spending per patient that year (Medicare only).","required":false,"coverage":1,"example":5398.6355827},{"name":"avg_spend_per_unit","type":"money","description":"Average spending per dosage unit that year (weighted across products in Part D and Medicaid).","required":false,"coverage":1,"example":433.66625915},{"name":"change_in_avg_spend_per_unit","type":"number","description":"CMS's change in average spending per unit from the year before into the latest year, as a fraction (0.05 is 5% higher); on the latest year's row only.","required":false,"coverage":0.2,"example":-0.13887162},{"name":"annual_growth_rate","type":"number","description":"CMS's compound annual growth rate of average spending per unit over the years shown, as a fraction; the same on every year of the drug.","required":false,"coverage":1,"example":-0.0831234},{"name":"is_outlier","type":"boolean","description":"Whether CMS flags that year's average spending per unit as an outlier; use those values with care.","required":false,"coverage":1,"example":false}],"inputs":[{"name":"program","type":"string","description":"part_d (Medicare drugs patients take themselves), part_b (drugs given in doctors' offices and outpatient settings) or medicaid.","default":"part_d","example":"part_d","enum":["part_d","part_b","medicaid"]},{"name":"drug","type":"string","description":"Brand or generic name, such as Ozempic or semaglutide; for Part B also a HCPCS code such as J9271. Leave empty for every drug in the program.","example":"Ozempic"},{"name":"manufacturer","type":"string","description":"Only rows whose manufacturer name contains these words, such as Novo Nordisk. Part D and Medicaid only.","example":"Novo Nordisk"},{"name":"level","type":"string","description":"all rows, only the overall total of each drug, or only the rows per manufacturer (Part D and Medicaid). Part B rows count as overall.","default":"all","example":"manufacturer","enum":["all","overall","manufacturer"]},{"name":"year","type":"integer","description":"Only this year, such as 2024. Leave empty for every year in the current release.","example":2024}],"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":true,"properties":{"annual_growth_rate":{"description":"CMS's compound annual growth rate of average spending per unit over the years shown, as a fraction; the same on every year of the drug.","type":"number"},"avg_spend_per_beneficiary":{"description":"Average spending per patient that year (Medicare only).","type":"number"},"avg_spend_per_claim":{"description":"Average spending per claim that year.","type":"number"},"avg_spend_per_unit":{"description":"Average spending per dosage unit that year (weighted across products in Part D and Medicaid).","type":"number"},"brand_name":{"description":"Brand name of the drug.","type":"string"},"change_in_avg_spend_per_unit":{"description":"CMS's change in average spending per unit from the year before into the latest year, as a fraction (0.05 is 5% higher); on the latest year's row only.","type":"number"},"currency":{"description":"Currency of the money fields: USD.","type":"string"},"dosage_units":{"description":"Dosage units dispensed or given that year, such as pills, milliliters or billing units.","type":"number"},"generic_name":{"description":"Generic name of the drug.","type":"string"},"id":{"description":"This row's key: program, brand, generic name, billing code or manufacturer, and year.","type":"string"},"is_outlier":{"description":"Whether CMS flags that year's average spending per unit as an outlier; use those values with care.","type":"boolean"},"is_overall":{"description":"Whether the row totals all manufacturers of the drug.","type":"boolean"},"manufacturer":{"description":"The manufacturer; null on total rows and in Part B.","type":"string"},"manufacturers_count":{"description":"Number of manufacturers of the drug.","type":"integer"},"program":{"description":"Medicare Part D, Medicare Part B or Medicaid.","type":"string"},"total_beneficiaries":{"description":"Number of patients who received the drug that year (Medicare only).","type":"integer"},"total_claims":{"description":"Number of claims that year.","type":"integer"},"total_spending":{"description":"Total spending on the drug that year; the currency is in currency.","type":"number"},"year":{"description":"The calendar year the spending is for.","type":"integer"}},"required":["id"],"title":"Medicare & Medicaid Drug Spending","type":"object"},"samples":[{"id":"part_d|Ozempic|Semaglutide|Novo Nordisk|2020","program":"Medicare Part D","brand_name":"Ozempic","generic_name":"Semaglutide","manufacturer":"Novo Nordisk","is_overall":false,"manufacturers_count":1,"year":2020,"total_spending":1455812267.1,"currency":"USD","total_claims":1204138,"total_beneficiaries":269663,"dosage_units":3813091.786,"avg_spend_per_claim":1209.0078273,"avg_spend_per_beneficiary":5398.6355827,"avg_spend_per_unit":433.66625915,"change_in_avg_spend_per_unit":null,"annual_growth_rate":-0.0831234,"is_outlier":false},{"id":"part_d|Ozempic|Semaglutide|Novo Nordisk|2021","program":"Medicare Part D","brand_name":"Ozempic","generic_name":"Semaglutide","manufacturer":"Novo Nordisk","is_overall":false,"manufacturers_count":1,"year":2021,"total_spending":2621694348.3,"currency":"USD","total_claims":2016177,"total_beneficiaries":458643,"dosage_units":6617457.857,"avg_spend_per_claim":1300.3294593,"avg_spend_per_beneficiary":5716.1983248,"avg_spend_per_unit":452.72044757,"change_in_avg_spend_per_unit":null,"annual_growth_rate":-0.0831234,"is_outlier":false},{"id":"part_d|Ozempic|Semaglutide|Novo Nordisk|2022","program":"Medicare Part D","brand_name":"Ozempic","generic_name":"Semaglutide","manufacturer":"Novo Nordisk","is_overall":false,"manufacturers_count":1,"year":2022,"total_spending":4628160643.4,"currency":"USD","total_claims":3410839,"total_beneficiaries":780253,"dosage_units":11314543.293,"avg_spend_per_claim":1356.8980076,"avg_spend_per_beneficiary":5931.6153137,"avg_spend_per_unit":468.24204575,"change_in_avg_spend_per_unit":null,"annual_growth_rate":-0.0831234,"is_outlier":false}],"validation":{"checked_at":"2026-12-06T04:12:04.051Z","field_coverage":{"annual_growth_rate":1,"avg_spend_per_beneficiary":1,"avg_spend_per_claim":1,"avg_spend_per_unit":1,"brand_name":1,"change_in_avg_spend_per_unit":0,"currency":1,"dosage_units":1,"generic_name":1,"id":1,"is_outlier":1,"is_overall":1,"manufacturer":1,"manufacturers_count":1,"program":1,"total_beneficiaries":1,"total_claims":1,"total_spending":1,"year":1},"fresh_read":false,"identity_unique":true,"issues":["Imported from a hand-built source. Field names and types come from its published schema; no live read was made for this check."],"level":"preview","pages_checked":0,"passed":true,"records_checked":3},"changelog":[{"version":"1.0","change_kind":"initial","note":"Imported from the ready-made source catalog.","created_at":"2026-12-06T04:12:04.055Z","activated_at":"2026-12-06T04:12:04.055Z","active":true,"contract_hash":"3f14d380154c94e63936599a7a95373af5b4b5b9327edf19e6eba6960350cf15","fields_count":19}]}