# Find the fastest-growing Medicare Part D drugs by spending

**Use case:** 

Rank Part D drugs by year-over-year spending growth among $100M+ drugs — spend, claims and per-beneficiary deltas for market analysis.

## Input

```json
{
  "mode": "top_movers",
  "minSpendLatest": 100000000,
  "minAbsChangePct": 0,
  "sortBy": "spending_change_pct",
  "sortDirection": "desc",
  "requireLatestYear": true,
  "includeManufacturerBreakdown": false,
  "topN": 100,
  "maxResults": 5000
}
```

## Output

```json
{
  "brand_name": {
    "label": "Brand name",
    "format": "string"
  },
  "generic_name": {
    "label": "Generic name",
    "format": "string"
  },
  "manufacturer_name": {
    "label": "Manufacturer",
    "format": "string"
  },
  "latest_year": {
    "label": "Latest year",
    "format": "integer"
  },
  "total_spending_latest": {
    "label": "Total spending (latest)",
    "format": "number"
  },
  "spending_change_pct": {
    "label": "Spending change %",
    "format": "number"
  },
  "claims_change_pct": {
    "label": "Claims change %",
    "format": "number"
  },
  "avg_spend_per_claim_change_pct": {
    "label": "Avg spend/claim change %",
    "format": "number"
  },
  "spending_trend": {
    "label": "Spending trend",
    "format": "string"
  }
}
```

## About this Actor

This example demonstrates how to use [Medicare Part D Drug Spending Delta & Top Movers API (CMS)](https://apify.com/malonestar/cms-part-d-prescriber-delta) with a specific input configuration. Visit the [Actor detail page](https://apify.com/malonestar/cms-part-d-prescriber-delta) to learn more, explore other use cases, and run it yourself.