query_fda
Query any openFDA dataset: drug adverse events (FAERS), drug labeling (SPL), drug recalls, food recalls, or medical device events. Pick the dataset with the dataset argument. Uses openFDA Lucene-style search syntax (e.g. "patient.drug.medicinalproduct:aspirin", "openfda.brand_name:tylenol"). License: openFDA CC0 1.0 Universal Dedication, FDA waiver of all copyright; commercial redistribution permitted.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| skip | No | Pagination offset (0-25000) | |
| sort | No | Sort by field (e.g. receivedate:desc) | |
| limit | No | Max records to return (1-100) | |
| search | No | openFDA Lucene-style search expression. Examples: patient.drug.medicinalproduct:aspirin, openfda.brand_name:tylenol, patient.reaction.reactionmeddrapt:headache+AND+receivedate:[20240101+TO+20251231] | |
| dataset | Yes | Which openFDA dataset to query. drug_events = FAERS adverse event reports. drug_labels = structured product labeling (indications, dosage, warnings, contraindications, pharmacology). drug_recalls / food_recalls = enforcement records with Class I/II/III classification, reason, and distribution. device_events = MAUDE device adverse events. |