openFDA Drug and Device Search
openfda_searchSearch official openFDA datasets to find drug labels, approvals, adverse events, and recalls. Get normalized flat records for safety surveillance and regulatory tracking.
Instructions
Search official openFDA datasets for drug labels, drug approvals (Drugs@FDA), adverse events (FAERS), and drug, device, or food recalls. Returns normalized, flat records through one consistent interface.
Behavioral Transparency:
Execution: Network call executed synchronously in the cloud via Apify Actor 'captainhandsome/openfda-search'.
Side Effects: Reads public sources and creates a billed Actor run and dataset on your Apify account.
Authentication: Requires APIFY_TOKEN environment variable.
Latency & Limits: Typical run duration is 10-30 seconds; timeout capped at 120 seconds.
Usage Guidelines:
When to use: Use for drug/device safety surveillance, regulatory approval history, adverse-event monitoring, or recall tracking.
When NOT to use: Do not use for clinical trial recruitment data (use 'clinical_trials_search'), environmental compliance, campaign finance, or corporate registry lookups.
Named alternatives: Use 'clinical_trials_search' for ClinicalTrials.gov study data, 'epa_facility_search' for environmental compliance, 'fec_campaign_finance_search' for political funding, or 'french_company_search' for the French corporate registry.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| search | Yes | openFDA query. A plain word works (e.g. 'semaglutide'), or target a field, e.g. 'openfda.manufacturer_name:"Pfizer"'. | |
| dataset | No | Which openFDA dataset to search. Defaults to 'drug_approval'. | drug_approval |
| max_results | No | Maximum number of records to retrieve. Defaults to 10. | |
| include_details | No | Also look up each result's product NDC to add labeler, marketing category, and DEA schedule. Costs one extra request per 20 records. Defaults to false. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| run | No | ||
| error | No | ||
| status | Yes | ||
| results | Yes |