Dailymed Drug Labels Scraper
Pricing
from $2.99 / 1,000 results
Dailymed Drug Labels Scraper
Search DailyMed for drug labels and National Drug Codes (NDCs) by drug name. Retrieve structured label data, set IDs, and publication dates, and download your dataset as CSV, JSON, or Excel.
Pricing
from $2.99 / 1,000 results
Rating
0.0
(0)
Developer
Kawsar
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
2 days ago
Last modified
Categories
Share
DailyMed Scraper: FDA Drug Labels (SPL)
Search and extract official FDA Structured Product Labeling (SPL) data and National Drug Code (NDC) details directly from DailyMed. Export structured datasets—including SPL set IDs, label titles, publication dates, versions, and NDC numbers—directly into JSON, CSV, or Excel format.
Instead of manually browsing through individual drug label pages, you can collect pharmaceutical data in clean, structured spreadsheets for research or inventory management.
Use Cases
- Drug label lookup: Search by medication name (e.g., Aspirin) to extract set IDs and label versions without opening every web page.
- NDC directory exports: Switch modes to extract individual National Drug Codes linked to target drug labels.
- Formulary & catalog updates: Keep pharmaceutical lists and spreadsheets up-to-date with regular data extractions.
- Quality assurance: Identify invalid medication names or unresolvable entries cleanly without interrupting dataset processing.
Extracted Data Points
Each record includes essential pharmaceutical label metadata:
- SPL Set ID and SPL version
- Publication date
- Official drug label title
- Associated National Drug Codes (NDCs) when enabled
Input Parameters
| Parameter | Type | Default | Description |
|---|---|---|---|
mode | String | spls | spls exports one row per label. ndcs exports one row per NDC code. |
drugNames | Array | ["aspirin"] | List of drug names to search (one per line). |
includeNdcs | Boolean | false | When running in spls mode, set to true to include NDC codes on each label row. |
maxItems | Integer | 100 | Maximum number of rows to retrieve (up to 1,000). |
timeoutSecs | Integer | 300 | Overall execution limit in seconds. |
Example Input (spls Mode)
{"mode": "spls","drugNames": ["aspirin"],"includeNdcs": false,"maxItems": 100,"timeoutSecs": 300}
Example Input (ndcs Mode)
{"mode": "ndcs","drugNames": ["aspirin"],"maxItems": 100,"timeoutSecs": 300}
Output Format
{"spl_version": 8,"published_date": "Oct 09, 2026","labelTitle": "ASPIRIN TABLET, CHEWABLE [CVS PHARMACY]","setid": "bd11081f-c5d1-4c98-8f5a-4c45269df79b"}
How It Works
- Processes target drug names and configures the extraction mode (
splsorndcs). - Retrieves search results in structured batches, skipping duplicate labels.
- Automatically fetches associated NDC codes if configured in settings.
- Manages connection disruptions using polite retry intervals.
- Generates clean datasets ready for instant export to JSON, CSV, or Excel.
Frequently Asked Questions
How do I extract National Drug Codes (NDCs)?
Set mode to ndcs to export one row per NDC code, or keep mode as spls and turn includeNdcs to true to attach codes directly to the label record.
What happens if a drug name is not found?
If an invalid medication name is supplied, an error entry explaining the issue is logged, while the process continues for the remaining valid drug names.
Can I export datasets to CSV or Excel?
Yes. Completed datasets can be downloaded instantly in JSON, CSV, or Excel formats from your run overview.
Legal & Compliance
Trademark Notice
DailyMed Drug Labels and related names, logos, and trademarks belong to their respective owners. Their mention in this documentation is strictly to identify data utility and compatibility, and does not imply affiliation, sponsorship, or endorsement.
Disclaimer
This tool is an independent utility and is not affiliated with, endorsed by, or officially connected to third-party medical data providers. Users are responsible for ensuring their usage complies with relevant terms of service, rate limits, and guidelines.
Is web scraping legal?
This tool collects publicly available pharmaceutical label information without bypassing access controls. Collecting public data is standard practice, but proper compliance requires considering how the data is used:
- Personal data: Ensure dataset usage respects regional privacy regulations (such as GDPR or CCPA) when combining outputs with personal user records.
- Copyright & Terms: Respect the terms of use, usage limits, and licensing terms set by data sources.
- Legal advice: This summary is provided for general informational purposes and does not constitute formal legal counsel.