# CMS Medicare Drug Prices: Negotiated Prices and Part B ASP Payment Limits · Payment limits

Get health and medical data with CMS Medicare Drug Prices: Negotiated Prices and Part B ASP Payment Limits · Payment limits from Alexandria through one Spiral API key. For "what does Medicare Part B pay for Keytruda this quarter", "what is the ASP payment limit for J9271", "which HCPCS code bills NDC 00006-3026-02 and how many billing units does it hold" or "what does Medicare pay per unit for Opdivo". It runs in the background and returns structured JSON. Pay as you go, with no subscription.

- Provider: Alexandria
- Category: Health
- Runs: In the background
- Returns: json
- Tool id: `alexandria` / `cms-gov/asp-pricing/payment_limits`
- Page: https://spiral.ai/tools/alexandria/cms-gov/asp-pricing/payment_limits

## Pricing

$0.00873 per call.

## Limits

- Longest queue wait: 1 hour
- Run deadline: 5 minutes
- Longest run, end to end: 225 minutes
- Largest inline input: 1 MB
- Largest input file: 2 GB
- Largest output: 5 GB

## Input

| Field | Kind | Allowed | Default | Description |
| --- | --- | --- | --- | --- |
| `ndc` | text |  | — | An NDC-11 as 11 digits (`00006302602`) or hyphenated 5-4-2 (`00006-3026-02`), a hyphenated 10-digit NDC (4-4-2, 5-3-2 or 5-4-1), or an NDC-9 product code (`00006-3026`). A bare 10-digit NDC is ambiguous and rejected. Matches the crosswalk's NDCs. |
| `drug` | text |  | — | Brand or generic name, matched case-insensitively anywhere in the code's short description (`Inj pembrolizumab`) or in a crosswalk drug name (`Keytruda`): `keytruda`, `pembrolizumab`, `trastuzumab`. Biosimilars are listed under their brand names (`zarxio`), so the generic name finds only the reference product. |
| `hcpcs` | text |  | — | A HCPCS Level II code, a letter and four digits: `J9271`. CPT codes (five digits) are AMA copyright and not served. |
| `limit` | number | 1 to 100 | 10 | Most codes to return. |
| `offset` | number | 0 to 5000 | 0 | Codes to skip; pass `next_offset` for the next page. |
| `quarter` | text |  | — | Quarter the payment limits apply to, `2026-Q4`; defaults to the newest CMS has posted. `quarters_available` lists every quarter CMS links (from 2021-Q1). Pattern: ^[0-9]{4}-[Qq][1-4]$. |
| `include_ndcs` | true or false |  | — | List each code's NDCs from the crosswalk. Defaults to true when `drug`, `hcpcs` or `ndc` is given, false otherwise; `ndc_count` is always given. With `ndc`, only the matching NDCs are listed. |

## Example

```bash
curl https://api.spiral.ai/v1/runs \
  -H "Authorization: Bearer $SPIRAL_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{
    "provider": "alexandria",
    "model": "cms-gov/asp-pricing/payment_limits",
    "input": {
      "ndc": "<ndc>"
    }
  }'
```

Try it in the Playground: https://spiral.ai/start?provider=alexandria&model=cms-gov%2Fasp-pricing%2Fpayment_limits

## Common questions

### CMS Medicare Drug Prices: Negotiated Prices and Part B ASP Payment Limits · Payment limits

**How much does CMS Medicare Drug Prices: Negotiated Prices and Part B ASP Payment Limits · Payment limits cost?**

$0.00873 per call. You pay as you go from one Spiral balance, with no subscription, and a failed run is not charged.

**How do I use CMS Medicare Drug Prices: Negotiated Prices and Part B ASP Payment Limits · Payment limits through an API?**

Send `POST /v1/runs` with `"provider": "alexandria"`, `"model": "cms-gov/asp-pricing/payment_limits"` and the input fields on this page, using one Spiral API key. It runs in the background: poll the run, or name a webhook to be told when it finishes.

**Do I need an account with Alexandria to use CMS Medicare Drug Prices: Negotiated Prices and Part B ASP Payment Limits · Payment limits?**

No. Spiral runs it on its own Alexandria account and charges your Spiral balance.

**Can my AI agent use CMS Medicare Drug Prices: Negotiated Prices and Part B ASP Payment Limits · Payment limits?**

Yes. Agents find and run it through Spiral's MCP server, CLI or agent skill, with the same API key.

