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

Get health and medical data with CMS Medicare Drug Prices: Negotiated Prices and Part B ASP Payment Limits · Payment limit history from Alexandria through one Spiral API key. For "how has Medicare's Part B payment limit for Keytruda (J9271) changed since 2021", "track a biosimilar's payment limit quarter by quarter" or "when did J9299 first get a payment limit". Find a drug's HCPCS code first with asp-pricing/payment_limits. 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_limit_history`
- Page: https://spiral.ai/tools/alexandria/cms-gov/asp-pricing/payment_limit_history

## 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 |
| --- | --- | --- | --- | --- |
| `hcpcs` (required) | text |  | — | A HCPCS Level II code, a letter and four digits: `J9271`. CPT codes (five digits) are AMA copyright and not served. |
| `to` | text |  | — | Last quarter to read; defaults to the newest. Pattern: ^[0-9]{4}-[Qq][1-4]$. |
| `from` | text |  | — | First quarter to read, `2024-Q1`; defaults to the oldest CMS links. Pattern: ^[0-9]{4}-[Qq][1-4]$. |

## 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_limit_history",
    "input": {
      "hcpcs": "<hcpcs>"
    }
  }'
```

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

## Common questions

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

**How much does CMS Medicare Drug Prices: Negotiated Prices and Part B ASP Payment Limits · Payment limit history 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 limit history through an API?**

Send `POST /v1/runs` with `"provider": "alexandria"`, `"model": "cms-gov/asp-pricing/payment_limit_history"` 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 limit history?**

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 limit history?**

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

