VOOZH about

URL: https://apify.com/themineworks/medicare-part-d-drug-spending

โ‡ฑ Medicare Part D Drug Spending Scraper - CMS Pricing Data ยท Apify


๐Ÿ‘ Medicare Part D Drug Spending Scraper - CMS Pricing Data avatar

Medicare Part D Drug Spending Scraper - CMS Pricing Data

Pricing

$1.00 / 1,000 drug record scrapeds

Go to Apify Store

Medicare Part D Drug Spending Scraper - CMS Pricing Data

Scrape Medicare Part D drug spending from CMS: total cost, claims, beneficiaries, unit cost & manufacturer for every brand/generic drug. Structured JSON, no API key. An IQVIA-style pharma pricing source for Claude, ChatGPT & any MCP agent.

Pricing

$1.00 / 1,000 drug record scrapeds

Rating

0.0

(0)

Developer

๐Ÿ‘ The Mine Works

The Mine Works

Maintained by Community

Actor stats

0

Bookmarked

1

Total users

1

Monthly active users

8 hours ago

Last modified

Share

Medicare Part D Drug Spending โ€” CMS Pricing & Utilization

Pull Medicare Part D drug spending data from CMS โ€” total expenditure, beneficiary count, unit cost, and manufacturer โ€” for every branded and generic drug in the Medicare program, as clean structured JSON. Built for pharma pricing intelligence, formulary analysis, market research, and policy work. No API key required.

Keywords: Medicare Part D spending, CMS drug spending, drug pricing data, Medicare utilization, pharma market data, CMS drug costs API.


Why this actor

CMS publishes annual Medicare Part D spending data covering every drug prescribed to Medicare beneficiaries โ€” total cost, number of claims, beneficiary count, and average unit cost. Commercial data providers (IQVIA, Symphony Health) charge thousands per year for equivalent data. This actor gives you direct, structured access to the official CMS source at PPE pricing.

  • All Part D drugs โ€” branded and generic, 2013โ€“2022.
  • Manufacturer-level data โ€” track spending by brand owner.
  • Unit cost trends โ€” year-over-year average cost per unit.
  • No API key โ€” official CMS open data (Socrata API).

Input

FieldTypeDefaultDescription
drugNamestringOzempicBrand or generic name, partial match.
manufacturerstringโ€”Filter by manufacturer name.
yearintegerโ€”Reporting year (2013โ€“2022).
minSpendintegerโ€”Minimum total Medicare spend ($).
maxResultsinteger200Maximum records to return.

Output

{
"year":"2022",
"brand_name":"OZEMPIC",
"generic_name":"SEMAGLUTIDE",
"manufacturer":"NOVO NORDISK INC",
"total_beneficiaries":1240000,
"total_claims":8900000,
"total_spending_usd":5820000000,
"spending_per_beneficiary_usd":4693.55,
"unit_cost_avg_usd":847.23,
"scraped_at":"2026-06-15T00:00:00.000Z"
}

Pricing

First 25 records free per account, then $0.004 per record ($4 per 1,000). Zero charge on empty runs.


FAQ

What years are available? CMS publishes Part D spending data from 2013 through 2022 (most recent available). New years are typically released 18 months after the close of the reporting period.

Does this include generic drugs? Yes โ€” both brand-name and generic drugs are included, identified separately in the output.

What is the unit cost field? The unit_cost_avg_usd field is a weighted average cost per unit (pill, vial, etc.) across all dispensing pharmacies and claim types.

Can I track a drug's spending over multiple years? Yes โ€” leave the year field blank to retrieve all available years for a given drug name, then sort by year for a trend view.

Who uses this data? Pharma market researchers tracking competitor drug utilization; payer and PBM analysts benchmarking formulary spend; biotech investors sizing drug market opportunity; health economists and policy researchers; journalists covering drug pricing.

How is this different from other drug databases? This data comes directly from CMS claims โ€” it represents actual Medicare reimbursement, not list price. It is the most authoritative source for Medicare utilization and real-world spending.

Can I automate regular updates? Yes โ€” schedule this actor annually on Apify to pull the latest year when CMS releases updated data.

Use in Claude, ChatGPT & any MCP agent

This actor is also a Model Context Protocol (MCP) server tool โ€” call it directly from Claude, ChatGPT, Cursor, Windsurf, or any MCP-compatible AI agent. The agent only pays for results delivered (same pay-per-result model).

  • Per-actor MCP endpoint: https://mcp.apify.com/?tools=themineworks/medicare-part-d-drug-spending
  • Full Mine Works MCP server (all tools): https://the-mine-works-mcp.hatchable.site/api/mcp
// Call this actor as a tool via apify-client (Node)
import{ ApifyClient }from'apify-client';
const client =newApifyClient({token:'YOUR_APIFY_TOKEN'});
const run =await client.actor('themineworks/medicare-part-d-drug-spending').call({/* input from the table above */});
const{ items }=await client.dataset(run.defaultDatasetId).listItems();
console.log(items);

You might also like

Medicare Part D Scraper - Prescription Drug Spending API

pink_comic/medicare-part-d-drug-spending

Scrape CMS Medicare Part D prescription drug spending data. Search drug costs, claims, beneficiaries, manufacturers, Rx spending trends, and quarterly or annual CMS data. Export clean JSON/CSV for pharma pricing research, policy analysis, and healthcare market intelligence.

CMS Open Data Scraper

parseforge/data-cms-gov-scraper

Export healthcare datasets from the Centers for Medicare & Medicaid Services Open Data portal. Pull provider directories, hospital quality, drug spending, Medicare enrollment, and 3,000+ other CMS datasets with metadata and row-level data.

Medicaid Drug Formulary Scraper

parseforge/medicaid-formulary-scraper

Export state Medicaid drug formulary and preferred drug list records via the public CMS Drug Pricing data sets: drug name, NDC, package size, AMP, manufacturer and reporting period. Power pharma market access and reimbursement research. CSV, Excel, JSON, XML.

CMS Medicare Spending Scraper | MSPB Provider Data

parseforge/cms-data-medicare-spending-scraper

Export CMS Medicare Spending Per Beneficiary (MSPB) data at hospital, state and national level. Filter by US state. Pull facility ID, name, address, MSPB score and measurement period from the official data.cms.gov API. CSV, Excel, JSON or XML for healthcare research.

FDA Drug Recall Search

ryanclinton/fda-drug-recalls

FDA Drug Recall Search queries the U.S. Food and Drug Administration's openFDA drug enforcement endpoint to retrieve detailed, structured data about pharmaceutical drug recalls.

FDA Drug Labels Scraper

labrat011/fda-drug-labels-scraper

Extract FDA drug label data -- indications, dosages, warnings, black box alerts, drug interactions, and more. Search by drug name, active ingredient, manufacturer, or browse the full openFDA database. No API key required.

openFDA Drug Events & Recalls Scraper

scrapers_lat/openfda-drug-events-scraper

Scrape FDA drug adverse event reports (FAERS) and drug recall and enforcement actions from the official openFDA API. Search by drug, reason or date. Export to JSON, CSV, Excel.

2

5.0