Spiral gives your agent every tool with one account. Browse the tools →

AlexandriaHealthAvailable now

California HCAI prescription drug price reports (WAC increases and new drugs) · Search

data-chhs-ca-gov/wac-increases/search

Get health and medical data with California HCAI prescription drug price reports (WAC increases and new drugs) · Search from Alexandria through one Spiral API key. Pick it for list price (WAC) increases manufacturers reported to California and the reasons they gave: "which drugs rose more than 16% this year", "how much did AbbVie raise Skyrizi's WAC and how has it moved over five years", "what did the manufacturer say drove this increase". It runs in the background and returns structured JSON. Pay as you go, with no subscription.

Pricing

$0.00873 per call.

Limits

Runs
In the background
Returns
json
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

FieldKindDefaultDescription
ndctext—

An NDC-11 as 11 digits (80803015350) or hyphenated 5-4-2 (80803-0153-50), a hyphenated 10-digit NDC (0074-2100-01, 4-4-2, 5-3-2 or 5-4-1, padded to 5-4-2), or an NDC-9 product code (80803-0153, 808030153) matching all its packages. A bare 10-digit NDC is ambiguous and rejected.

drugtext—

Drug product description to match, case-insensitively anywhere in it: a brand (skyrizi, Fyarro), an ingredient as the manufacturer wrote it, a strength or a package form.

sortone of
effective_date_desc, increase_percent_desc
effective_date_desc

Order of results: latest WAC effective date first (default), or largest increase_percent first.

yearnumber
2019 to 2100
—

Calendar year of the report file to read: the current year reads HCAI's monthly update (the year to date), earlier years their Q1-Q4 annual file. Defaults to the latest year published. A year without a file is invalid_input listing the years available. HCAI's 2020 annual WAC increase file is published with its rows out of line with its header (no row's prices match its own five-year history), so 2020 is not served and is invalid_input like a year without a file.

limitnumber
1 to 200
25

Reports per page.

offsetnumber
0 to 100000
0

Reports to skip; pass next_offset from the previous page.

effective_totext—

Only increases whose WAC effective date is on or before this date (YYYY-MM-DD). Pattern: ^[0-9]{4}-[0-9]{2}-[0-9]{2}$.

manufacturertext—

Manufacturer name to match, case-insensitively anywhere in it: AbbVie, pfizer, Teva.

drug_categoryone of
Brand, Generic
—

Brand or Generic, as the manufacturer classified the drug. Only the current year's monthly file reports it; with an annual year this is invalid_input.

effective_fromtext—

Only increases whose WAC effective date is on or after this date (YYYY-MM-DD). Pattern: ^[0-9]{4}-[0-9]{2}-[0-9]{2}$.

include_historytrue or false—

Read the year's five-year WAC history file and attach each report's WAC changes (history) and the derived three_year_increase_percent. Defaults to true when drug or ndc is given, false otherwise.

min_increase_percentnumber
0 to …
—

Only increases of at least this percent over the WAC just before them (increase_percent, derived). The statute measures against the WAC three years earlier instead (three_year_increase_percent).

Same request in code

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": "data-chhs-ca-gov/wac-increases/search",
    "input": {
      "ndc": "<ndc>"
    }
  }'

Frequently asked questions

How much does California HCAI prescription drug price reports (WAC increases and new drugs) · Search 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 California HCAI prescription drug price reports (WAC increases and new drugs) · Search through an API?

Send `POST /v1/runs` with `"provider": "alexandria"`, `"model": "data-chhs-ca-gov/wac-increases/search"` 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 California HCAI prescription drug price reports (WAC increases and new drugs) · Search?

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

Can my AI agent use California HCAI prescription drug price reports (WAC increases and new drugs) · Search?

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