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

AlexandriaHealthAvailable now

Medicaid open data: SDUD and NADAC · Source status

data-medicaid-gov/drug-utilization/source_status

Get health and medical data with Medicaid open data: SDUD and NADAC · Source status from Alexandria through one Spiral API key. Before or between collections, to see whether SDUD {year} or NADAC {year} moved since the last snapshot, and to hand off the bulk file URL, size and hash. 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
year requirednumber
1991 to 2100
—

Calendar year of the dataset; resolved to its dataset id through the catalogue title.

dataset requiredone of
sdud, nadac
—

sdud = State Drug Utilization Data (one dataset per year, 1991 onwards); nadac = NADAC (National Average Drug Acquisition Cost), one dataset per year, 2013 onwards.

statetext—

SDUD only: two-letter state code as published (AK..WY, DC, PR, and XX for the national total). Pattern: ^[A-Z]{2}$.

quarternumber
1 to 4
—

SDUD only: calendar quarter.

as_of_datetext—

NADAC only: weekly as_of_date (YYYY-MM-DD, Wednesdays). Pattern: ^[0-9]{4}-[0-9]{2}-[0-9]{2}$.

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-medicaid-gov/drug-utilization/source_status",
    "input": {
      "year": 1991,
      "dataset": "sdud"
    }
  }'

Frequently asked questions

How much does Medicaid open data: SDUD and NADAC · Source status 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 Medicaid open data: SDUD and NADAC · Source status through an API?

Send `POST /v1/runs` with `"provider": "alexandria"`, `"model": "data-medicaid-gov/drug-utilization/source_status"` 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 Medicaid open data: SDUD and NADAC · Source status?

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

Can my AI agent use Medicaid open data: SDUD and NADAC · Source status?

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