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

AlexandriaHealthAvailable now

FDA · Device events

fda-gov/adverse-events/device_events

Get health and medical data with FDA · Device events from Alexandria through one Spiral API key. Post-market device safety: reports for a device or manufacturer in a period, deaths or injuries reported with a device, which problems are reported most (count_by), or one report by MDR key or report number. 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
skipnumber
0 to 25000
0

skip

limitnumber
1 to 100
10

limit

querytext—

Words that must all appear in the narratives; wrap a phrase in double quotes, e.g. "sensor error" adhesive.

devicetext—

Brand or generic name words, matched as a phrase, e.g. Dexcom G7 or insulin pump.

count_byone of
event_type, product_problem, patient_problem, manufacturer, brand_name, product_code, received_month
—

Return counts of matching reports by this field instead of reports; limit caps the number of terms (not months), and skip must be 0.

report_idtext—

MDR report key, e.g. 23938785, or report number, e.g. 3004753838-2025-353233.

event_typeone of
death, injury, malfunction, other, no_answer
—

event_type

received_totext—

Latest date FDA received the report, YYYY-MM-DD. Pattern: ^[0-9]{4}-[0-9]{2}-[0-9]{2}$.

manufacturertext—

Device manufacturer words, e.g. Medtronic.

product_codetext—

Three-letter FDA product code, e.g. QBJ. Pattern: ^ *[A-Za-z]{3} *$.

received_fromtext—

Earliest date FDA received the report, YYYY-MM-DD. 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": "fda-gov/adverse-events/device_events",
    "input": {
      "skip": 0
    }
  }'

Frequently asked questions

How much does FDA · Device events 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 FDA · Device events through an API?

Send `POST /v1/runs` with `"provider": "alexandria"`, `"model": "fda-gov/adverse-events/device_events"` 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 FDA · Device events?

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

Can my AI agent use FDA · Device events?

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