# Drug Information Lookup: FDA Label & Recalls (`hydrocore/drug-information-lookup`) Actor

One row per drug from official US sources: RxNorm IDs, brands, drug class and ATC code, conditions it may treat, FDA label sections (boxed warning, dosage, interactions), recall history, top reported adverse events and FDA shortage status, plus an LLM-ready Markdown summary. No keys.

- **URL**: https://apify.com/hydrocore/drug-information-lookup.md
- **Developed by:** [Hydrocore Data](https://apify.com/hydrocore) (community)
- **Categories:** AI, Developer tools, Automation
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $3.20 / 1,000 drug reports

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## Drug Information Lookup: FDA Label & Recalls

Type brand or generic drug names and get one clean, citable row per drug from official US sources: **RxNorm** IDs and brand names, the FDA pharmacologic class, **WHO ATC** code and the conditions it may treat (RxClass), the main **FDA label** sections (boxed warning, indications, dosage, contraindications, warnings, adverse reactions, interactions, pregnancy) with a DailyMed link, the **FDA recall** history, the most reported **adverse events** (FAERS) and the **FDA drug shortage** status. Each row also carries an LLM-ready Markdown summary. No API keys needed.

### ✅ What you get

- Drug name, generic name, brand names, RxCUI and ingredient RxCUI
- FDA pharmacologic class, ATC code and class, conditions it may treat
- Product type, routes, boxed warning flag and text
- Label sections: indications, dosage, contraindications, warnings, adverse reactions, drug interactions, pregnancy
- Label manufacturer, number of matching labels, label date, DailyMed link
- Recall count, latest recall date, class, reason and status; top FAERS reactions; FDA shortage status, reason and date
- Markdown summary and a one-paragraph summaryText

### 🏆 Why this Actor

- **Six official sources in one call:** RxNorm, RxClass, openFDA drug labels, enforcement reports, FAERS adverse events and the FDA drug shortage list, joined on the ingredient.
- **Forgiving input:** brand or generic names, and small spelling mistakes are matched to the closest RxNorm name (the status says what it matched).
- **LLM-ready:** label sections are cleaned (headings removed, cut at sentence ends) and bundled into a Markdown block with the source link, so an agent can quote it.
- **Safety signals up front:** boxed warning flag, recall count with the latest recall class and reason, shortage status and top reported reactions in the Overview.
- **Fair billing:** names not found, duplicates and filtered rows are free.

### 💡 Use cases

**Apify Store use cases:** Feed AI agents & RAG · Compliance & risk checks · Market research

- Health-tech and pharmacy apps: a structured drug card from a name
- Medical writers and researchers: label sections with source links for citations
- Pharmacovigilance and quality teams: watch recalls and shortages for a formulary list (schedule the run)
- Healthcare AI agents (ChatGPT, Claude, n8n, MCP): grounded answers to "does Ozempic have a boxed warning?" with a DailyMed link
- Market and competitive intelligence: classes, brands and safety signals for a list of molecules

### 🚀 How to use

1. Enter drug names, one per line (brand or generic).
2. Optional: turn label text off, change the section length, keep only drugs with a boxed warning or recalls, choose the sort order.
3. Run, then open **Overview**, **Label** or **Safety signals**, or export.

### ⚙️ Input

| Field | What it does |
|---|---|
| `drugs` | Brand or generic names, one per line. Default example: Lipitor, metformin, Ozempic. |
| `includeLabelText` | Label sections and Markdown (default on). |
| `maxSectionChars` | Characters per label section, default 1,500. |
| `onlyWithBoxedWarning` | Keep only drugs with a boxed warning (default off; other rows are free). |
| `onlyRecalled` | Keep only drugs with recall records (default off). |
| `sortBy` | Input order (default), most recalls first, or drug name. |
| `maxResults` | Most rows to save, default 100. |
| `openFdaApiKey` | Optional: your own free openFDA key for big lists. |

Example input:

```json
{
  "drugs": [
    "Zoloft",
    "warfarin",
    "Adderall",
    "lisinoprl"
  ],
  "onlyWithBoxedWarning": true,
  "maxSectionChars": 800
}
```

### ⬆️ Output

One row per drug. `recordType` is `drug` or `status` (a free row for a name that was not found). Every row has the same 40 keys in the same order; missing values are `null`. The example is a real row from a test run of the current build (long text fields shortened here).

Overview fields:

| Field | Type | Example | Description |
|---|---|---|---|
| `drugName` | string | "Ozempic" | RxNorm name of the matched concept (brand or ingredient). |
| `genericName` | string | "semaglutide" | Active ingredient (lowercase). For combination products, the multi-ingredient name. |
| `drugClass` | string | "GLP-1 Receptor Agonist" | FDA established pharmacologic class (EPC) from RxClass. |
| `atcCode` | string | "A10BJ" | WHO ATC level-4 code (from RxClass). |
| `hasBoxedWarning` | boolean | true | true when the chosen FDA label has a boxed warning; null when no label was found. |
| `recallCount` | integer | 1 | FDA enforcement (recall) records for the generic name since 2004. null when openFDA did not answer. |
| `latestRecallDate` | string | "2021-06-02" | Report date of the latest recall (YYYY-MM-DD). |
| `shortageStatus` | string | "to be discontinued (some products)" | FDA drug shortage list: current shortage, to be discontinued (some products), resolved, or not listed. |
| `dailyMedUrl` | string | "https://dailymed.nlm.nih.gov/dailymed/drugInfo.cfm?setid=42… | DailyMed page of the chosen label. |

All 40 fields (in order): `recordType`, `drugName`, `genericName`, `brandNames`, `rxcui`, `ingredientRxcui`, `drugClass`, `atcCode`, `atcClass`, `mayTreat`, `productType`, `routes`, `hasBoxedWarning`, `boxedWarning`, `indications`, `dosage`, `contraindications`, `warnings`, `adverseReactions`, `drugInteractions`, `pregnancy`, `labelManufacturer`, `labelCount`, `labelEffectiveDate`, `labelSetId`, `dailyMedUrl`, `recallCount`, `latestRecallDate`, `latestRecallClass`, `latestRecallReason`, `latestRecallStatus`, `topAdverseEvents`, `shortageStatus`, `shortageReason`, `shortageUpdatedDate`, `markdown`, `summaryText`, `inputValue`, `status`, `scrapedAt`.

Real row from a test run of the current build:

```json
{
  "recordType": "drug",
  "drugName": "Ozempic",
  "genericName": "semaglutide",
  "brandNames": [
    "Ozempic"
  ],
  "rxcui": "1991307",
  "ingredientRxcui": "1991302",
  "drugClass": "GLP-1 Receptor Agonist",
  "atcCode": "A10BJ",
  "atcClass": "Glucagon-like peptide-1 (GLP-1) analogues",
  "mayTreat": null,
  "productType": "HUMAN PRESCRIPTION DRUG",
  "routes": [
    "SUBCUTANEOUS"
  ],
  "hasBoxedWarning": true,
  "boxedWarning": "WARNING: RISK OF THYROID C-CELL TUMORS • In rodents, semaglutide causes dose-dependent and treatment-duration-dependent thyroid C-cell tumors at clinically rele …",
  "indications": "OZEMPIC is indicated: • as an adjunct to diet and exercise to improve glycemic control in adults with type 2 diabetes mellitus. • to reduce the risk of major ad …",
  "dosage": "• Administer once weekly at any time of day, with or without meals. ( 2.1 ) • Start at 0.25 mg once weekly. After 4 weeks, increase the dosage to 0.5 mg once we …",
  "contraindications": "OZEMPIC is contraindicated in patients with: • A personal or family history of MTC or in patients with MEN 2 [see Warnings and Precautions ( 5.1 )] . • A seriou …",
  "warnings": "• Acute Pancreatitis: Has been observed in patients treated with GLP-1 receptor agonists, including OZEMPIC. Discontinue if pancreatitis is suspected. ( 5.2 ) • …",
  "adverseReactions": "The following serious adverse reactions are described below or elsewhere in the prescribing information: • Risk of Thyroid C-cell Tumors [see Warnings and Preca …",
  "drugInteractions": "Oral Medications : OZEMPIC delays gastric emptying. May impact absorption of concomitantly administered oral medications. Use with caution. ( 7.2 ) 7.1 Concomit …",
  "pregnancy": "Risk Summary There are limited data with semaglutide use in pregnant women to inform a drug-associated risk for adverse developmental outcomes. There are clinic …",
  "labelManufacturer": "A-S Medication Solutions",
  "labelCount": 4,
  "labelEffectiveDate": "2026-07-30",
  "labelSetId": "42bdd912-2393-44c4-b7e0-47672ca28991",
  "dailyMedUrl": "https://dailymed.nlm.nih.gov/dailymed/drugInfo.cfm?setid=42bdd912-2393-44c4-b7e0-47672ca28991",
  "recallCount": 1,
  "latestRecallDate": "2021-06-02",
  "latestRecallClass": "Class II",
  "latestRecallReason": "CGMP Deviations: Intermittent exposure to temperature excursion during storage.",
  "latestRecallStatus": "Terminated",
  "topAdverseEvents": [
    "nausea (11150)",
    "off label use (7890)",
    "vomiting (7332)",
    "diarrhoea (6833)",
    "decreased appetite (5107)",
    "constipation (4976)",
    "weight decreased (4777)",
    "impaired gastric emptying (4175)"
  ],
  "shortageStatus": "to be discontinued (some products)",
  "shortageReason": null,
  "shortageUpdatedDate": "2026-06-04",
  "markdown": "# Ozempic (semaglutide)\n\n**Class:** GLP-1 Receptor Agonist  \n**ATC:** A10BJ Glucagon-like peptide-1 (GLP-1) analogues  \n**Brands:** Ozempic  \n**Route:** SUBCUTANEOUS  \n**RxCUI:** 1991307\n\n## Boxed warning\n\nWARNING: RISK OF THYROID C-CELL TUMORS • In rodents, semaglutide causes dose-dependent and tre …",
  "summaryText": "Ozempic (semaglutide). Class: GLP-1 Receptor Agonist. Has an FDA boxed warning. 1 FDA recall record, latest 2021-06-02.",
  "inputValue": "Ozempic",
  "status": "ok",
  "scrapedAt": "2026-11-12T21:19:59.501Z"
}
```

Views: **Overview**, **Label**, **Safety signals**, **Detailed (all fields)**. Export as JSON, CSV, Excel, XML or HTML from the Storage tab or the API (`/datasets/{id}/items?format=csv&view=overview`). The run summary (`OUTPUT` record in the key-value store) counts drugs requested, duplicates, saved, not found, drugs with no FDA label, filtered rows, rows over the cap and openFDA errors.

### 💰 Pricing

Competitive pricing, pay per result: **$0.004 per drug report** on the Free plan, less on higher plans, plus the $0.0005 Actor start. 1,000 drug reports cost about $4 on Free, with all six sources included. Names not found, duplicates and filtered rows are free.

| Event | What it is | Free | Bronze | Silver | Gold+ |
|---|---|---|---|---|---|
| Drug report | One drug report saved (RxNorm + RxClass + FDA label, recalls, adverse events and shortage status). Not-found, duplicate and filtered rows are free. | $0.004 | $0.0037 | $0.0034 | $0.0032 |
| Actor start | Once per run (Apify standard start event, per GB of memory; the default 256 MB = one fee) | $0.0005 | $0.0005 | $0.0005 | $0.0005 |

### 🔁 Integrations

Works with the Apify API, MCP (AI agents), Make, n8n, Zapier, Google Sheets and webhooks. Field names are stable camelCase, so mappings do not break between runs.

### ❓ FAQ

**Where does the data come from?**

The US National Library of Medicine (RxNorm and RxClass APIs, which include FDA EPC classes, WHO ATC codes and MED-RT "may treat" links) and openFDA (drug labels, enforcement reports, FAERS adverse event reports and the FDA drug shortage list). All are official, public and free.

**Which label is used when there are many?**

A generic drug can have hundreds of labels (one per labeler). The Actor searches by brand for brand inputs and by generic name otherwise, prefers single-ingredient prescription labels that match the ingredient, then the newest. labelCount tells you how many matched and dailyMedUrl links the one used. The labeler can be a repackager.

**Is this medical advice?**

No. It is reference data for research, software and agents. FAERS reports are not proof that a drug caused a reaction, and labels change; always check the linked DailyMed label and a professional.

**What does recallCount count?**

FDA enforcement report records (recalls) whose products list the generic name, since 2004, for all manufacturers. latestRecall\* fields describe the newest one.

**What does shortageStatus mean?**

The FDA drug shortage list status for products with that generic name: current shortage, to be discontinued (some products), resolved, or not listed. One product being discontinued does not mean the drug is unavailable.

**Can I look up combination products?**

Yes, for example "Janumet" or "amlodipine and atorvastatin". genericName then shows the combination name and the FDA searches use it.

**What if a name is misspelled?**

RxNorm approximate matching is used when the exact name is not found; the status shows ok (matched as "...") so you can check it. Unknown names give a free status row.

**Do I need an openFDA API key?**

No. openFDA allows about 1,000 requests a day per IP without a key and each drug uses about 4. For lists of hundreds of drugs, add your own free key in the Advanced section.

**Is it good for AI agents?**

Yes. One name in, one row out with a markdown block, a summaryText paragraph, stable field names and descriptions in the dataset schema. Use maxSectionChars to control the token size.

**How fast is it?**

About 1 to 3 seconds per drug (around 10 API calls), 3 drugs at a time, at 256 MB.

### Ready-made examples

- [Boxed-warning drugs: FDA label and recall history](https://apify.com/hydrocore/drug-information-lookup/examples/boxed-warning-drugs-fda-label-and-recall-history)

### 🛟 Support

Found a problem or need a field? Open an issue on the Issues tab; we read every issue.

### Changelog

- 1.0 (2026-11-12): first release.

# Actor input Schema

## `drugs` (type: `array`):

Brand or generic drug names, one per line ("Lipitor", "metformin", "Ozempic"). Small spelling mistakes are matched to the closest RxNorm name. The same drug twice is reported once.

## `includeLabelText` (type: `boolean`):

Include the FDA label sections (boxed warning, indications, dosage, contraindications, warnings, adverse reactions, interactions, pregnancy) and a Markdown summary. Turn off for IDs, classes and safety signals only.

## `maxSectionChars` (type: `integer`):

Each label section is cut at a sentence end near this length (with …). Default 1,500.

## `onlyWithBoxedWarning` (type: `boolean`):

Keep only drugs whose FDA label has a boxed warning. Other rows are free.

## `onlyRecalled` (type: `boolean`):

Keep only drugs with at least one FDA enforcement (recall) record. Other rows are free.

## `sortBy` (type: `string`):

Order of the rows, applied before Max results.

## `maxResults` (type: `integer`):

Most drug rows to save (and charge). Default 100.

## `openFdaApiKey` (type: `string`):

Your own free openFDA key (open.fda.gov/apis/authentication) for higher rate limits on big lists. Not needed for normal runs.

## Actor input object example

```json
{
  "drugs": [
    "Lipitor",
    "metformin",
    "Ozempic"
  ],
  "includeLabelText": true,
  "maxSectionChars": 1500,
  "onlyWithBoxedWarning": false,
  "onlyRecalled": false,
  "sortBy": "input",
  "maxResults": 100
}
```

# Actor output Schema

## `overview` (type: `string`):

Drug, generic, class, boxed warning, recalls, shortage and label link.

## `label` (type: `string`):

FDA label sections.

## `safety` (type: `string`):

Recalls, adverse events and shortages.

## `results` (type: `string`):

Every field for each row.

## `summary` (type: `string`):

Run summary: drugs requested, duplicates, saved, not found, drugs without an FDA label, filtered out, rows over the cap, openFDA errors and errors.

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "drugs": [
        "Lipitor",
        "metformin",
        "Ozempic"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("hydrocore/drug-information-lookup").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = { "drugs": [
        "Lipitor",
        "metformin",
        "Ozempic",
    ] }

# Run the Actor and wait for it to finish
run = client.actor("hydrocore/drug-information-lookup").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "drugs": [
    "Lipitor",
    "metformin",
    "Ozempic"
  ]
}' |
apify call hydrocore/drug-information-lookup --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,hydrocore/drug-information-lookup"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/PpUSsvt9vnJbR2FnZ/builds/FFqK2WQpwSWjbgrx2/openapi.json
