Back to APIs
OpenFDA
Access FDA datasets including drug adverse events, device recalls, food enforcement actions, and drug labeling information.
Base URL
https://api.fda.govdrugsadverse eventsrecallsFDApublic data
Endpoints
GET
/drug/event.jsonSearch for drug adverse event reports.
const response = await fetch("https://api.fda.gov/drug/event.json?search=patient.drug.medicinalproduct:aspirin&limit=5", {
method: "GET",
headers: {
"Content-Type": "application/json"
}
});
const data = await response.json();
console.log(data);Response Preview
{
"meta": { "total": 152430 },
"results": [{
"patient": {
"reaction": [{ "reactionmeddrapt": "Gastrointestinal haemorrhage" }],
"drug": [{ "medicinalproduct": "ASPIRIN", "drugindication": "PAIN" }]
}
}]
}