DailyMed Drug Label Scraper avatar

DailyMed Drug Label Scraper

Pricing

from $3.00 / 1,000 results

Go to Apify Store
DailyMed Drug Label Scraper

DailyMed Drug Label Scraper

Scrape DailyMed (NIH) with the official FDA drug label database. Search by drug name or NDC code, browse by drug class, or fetch full structured labels with active ingredients, dosage forms, packaging, and NDC codes.

Pricing

from $3.00 / 1,000 results

Rating

5.0

(4)

Developer

Crawler Bros

Crawler Bros

Maintained by Community

Actor stats

4

Bookmarked

2

Total users

1

Monthly active users

3 days ago

Last modified

Share

Extract structured FDA drug label data from DailyMed — the official NIH/FDA repository containing more than 130,000 drug labels submitted to the FDA.

What is DailyMed?

DailyMed is maintained by the U.S. National Library of Medicine (NLM) and provides free, public access to FDA drug labels for prescription drugs, over-the-counter products, and biologic products. Data is updated daily from official FDA submissions.

What does this scraper extract?

Each record includes:

FieldDescription
setIdUnique DailyMed Set ID (UUID)
nameProduct name
titleFull label title
versionSPL version number
publishedDateLabel publication date
labelerNameManufacturer / labeler company
ndcCodesList of National Drug Codes (NDC)
dosageFormsDosage form(s), e.g., "tablet", "capsule"
activeIngredientsList of active ingredient names
routeOfAdministrationAdministration route, e.g., "oral", "topical"
urlDirect DailyMed label URL
scrapedAtTimestamp of extraction (ISO 8601)

Modes

1. Search by drug name (searchByName) — Default

Search DailyMed for all labels containing the given drug name.

Input:

{
"mode": "searchByName",
"drugName": "aspirin",
"maxItems": 50
}

2. Lookup by Set ID (lookupBySetId)

Fetch the full structured label for a specific DailyMed Set ID (UUID).

Input:

{
"mode": "lookupBySetId",
"setId": "a0040708-04ef-4a9b-9fcd-3b5e098fa5aa"
}

3. Search by NDC code (searchByNDC)

Find all labels associated with a specific National Drug Code.

Input:

{
"mode": "searchByNDC",
"ndcCode": "0069-0057-20"
}

4. Browse by drug class (browseByDrugClass)

List all drug labels belonging to a specific NDF-RT drug class.

Input:

{
"mode": "browseByDrugClass",
"drugClassCode": "N0000175502"
}

Find drug class codes at: https://dailymed.nlm.nih.gov/dailymed/services/v2/drugclasses.json

Sample Output

{
"setId": "a0040708-04ef-4a9b-9fcd-3b5e098fa5aa",
"name": "ASPIRIN",
"title": "ASPIRIN- aspirin tablet",
"version": "4",
"publishedDate": "Jan 15, 2024",
"labelerName": "Bayer AG",
"ndcCodes": ["0069-0057-20", "0069-0057-30"],
"dosageForms": ["tablet"],
"activeIngredients": ["Aspirin"],
"routeOfAdministration": "oral",
"url": "https://dailymed.nlm.nih.gov/dailymed/drugInfo.cfm?setid=a0040708-04ef-4a9b-9fcd-3b5e098fa5aa",
"scrapedAt": "2026-05-23T10:00:00+00:00"
}

Use Cases

  • Drug research and pharmacovigilance — Track all labels for a specific active ingredient
  • Healthcare data pipelines — Build drug databases with NDC codes and dosage information
  • Regulatory compliance — Monitor label updates and version changes
  • Medical AI / NLP — Collect training data from official FDA drug labels
  • Pharmacy systems — Look up drug information by NDC code

Data Source

DailyMed is a free public API provided by the U.S. National Library of Medicine. No API key, authentication, or proxy is required. Data is updated daily.

API documentation: https://dailymed.nlm.nih.gov/dailymed/app-support-web-services.cfm

FAQs

Q: Is this data free to use? A: Yes. DailyMed is a public U.S. government resource. The data is in the public domain.

Q: How current is the data? A: DailyMed is updated daily from official FDA label submissions.

Q: How many drug labels are available? A: Over 130,000 drug labels from thousands of manufacturers.

Q: What is a Set ID? A: The Set ID is a UUID that uniquely identifies a drug label. Multiple versions of the same label share the same Set ID.

Q: What is an NDC code? A: A National Drug Code (NDC) is a unique 10-digit or 11-digit numeric identifier assigned to each drug product in the United States.

Q: Can I search for generic drug names? A: Yes. DailyMed search works with both brand names (e.g., "Tylenol") and generic names (e.g., "acetaminophen").

Q: Why might some fields be missing? A: Only fields present in the FDA submission are returned. Older or incomplete labels may lack some structured fields.