Check the setup
- Python 3.10 or newer
- A notebook environment such as Jupyter or Google Colab
- An internet connection
FDA medical-device adverse-event reports for exploring reported device problems and building bounded safety-research tools.
From source to product signal
The openFDA device-event API searches MAUDE reports and can return server-side counts. Start with one device generic name and a bounded receive-date window. Voluntary reports cannot establish causality, incidence, or comparative device safety.
Install the packages, then run the notebook cell.
python -m pip install pandas requests
import pandas as pd
import requests
response = requests.get(
"https://api.fda.gov/device/event.json",
params={
"search": 'device.generic_name:"INFUSION PUMP" AND date_received:[20250101 TO 20251231]',
"count": "product_problems.exact",
},
timeout=30,
)
response.raise_for_status()
problems = pd.DataFrame(response.json()["results"])
problems["retrieved_at_utc"] = pd.Timestamp.now(tz="UTC")
print(problems.head(20))Test a useful signal
Identify the most frequently reported product-problem terms for one device type in a bounded year.
U.S. Food and Drug Administration is a government source. Last verified 2026-08-18. Temporal coverage: 1991-present device event reports.