NLM DailyMed Drug Labels RESTful API Scraper
Pricing
from $0.56 / 1,000 dailymed label rows
NLM DailyMed Drug Labels RESTful API Scraper
Get US drug label (SPL) rows by drug name from the DailyMed RESTful API as structured JSON. Not affiliated with National Library of Medicine DailyMed RESTful API.
Pricing
from $0.56 / 1,000 dailymed label rows
Rating
0.0
(0)
Developer
PlainKit bin
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
7 days ago
Last modified
Categories
Features
Share
National Library of Medicine DailyMed RESTful API Scraper
This DailyMed SPL scraper returns US drug label rows from the DailyMed RESTful API by drug name, as structured JSON, ready for drug catalogs, regulatory watch lists and pharmacy data pipelines. This Actor is not affiliated with National Library of Medicine DailyMed RESTful API.
Introduction
Teams that keep a list of drug labels per drug name need one row per label: the set ID, the title with the labeler, the version and the published date. Pharmacy data teams, regulatory watchers, drug information app builders and analysts who track labeler and version changes all start from that list. One run searches the DailyMed drug labels for one drug name and returns up to your row limit. Each row copies the DailyMed search fields literally and adds the labeler taken from the square brackets at the end of the title. The Actor pages through the search, stops at your limit and never follows redirects.
Input and output examples
Input for five rows of labels that match a drug name:
{"drug_name": "lisinopril","max_items": 5}
One output row, as DailyMed returned it (the labeler is taken from the title brackets):
{"labeler": "SAGENT PHARMACEUTICALS","published_date": "Nov 16, 2026","reason_code": "","setid": "146be56d-ba0f-448a-b3b1-61a16c59ae4b","spl_version": "1","title": "BRIMONIDINE TARTRATE SOLUTION/ DROPS [SAGENT PHARMACEUTICALS]"}
This sample row came from an unfiltered DailyMed search that was captured for this example. A run with a drug name returns rows for that drug name only.
Pricing
Pay per event: $0.0008 per label row on the FREE plan tier. Higher Apify plan tiers pay less per row: BRONZE $0.00072, SILVER $0.00064, GOLD and PLATINUM $0.000557, DIAMOND $0.000533.
The Actor charges event dailymed-spl-row once for each row it has pushed. The row is pushed first and then charged. A failed request produces no row and no charge. A refused request (HTTP 401, 403 or 429) produces one reason row with reason_code API_REFUSED, and that row is never charged.
Tutorial
- Open the Actor in Apify Console and enter a drug name, for example lisinopril.
- Set Maximum Items. The default is 10 and the hard upper bound is 100.
- Press Start and wait for the run to finish.
- Download the dataset as JSON, CSV or Excel from the run's output tab.
To run the Actor from code, send the same input to the Apify API with your own token. Keep the token in your environment, never in the input.
Actor recommendations
Use this Actor with other Actors that read regulatory data when you need recall events for the same drugs. Use the rows from this Actor to build the list of drug names to search, then run this Actor once per name.
FAQ and support
Does the Actor need an API key? No. The Actor calls the public DailyMed RESTful API and has no key input.
Does the Actor follow redirects? No. A redirect ends the run with an error, no row and no charge.
What happens when DailyMed refuses the request? The run ends with one uncharged row whose reason_code is API_REFUSED. The Actor does not retry a refusal.
Who owns the data? DailyMed publishes the labels. The NLM web policy states that works produced by the U.S. government may be freely used or reproduced without permission in the U.S. and asks users to acknowledge NLM as the source with the phrase "Source: National Library of Medicine." Labels submitted by labelers may carry their own rights, so check the label before reuse.
For questions or problems, use the Issues tab of this Actor in Apify Console.
Configuration
| Field | Type | Default | Meaning |
|---|---|---|---|
drug_name | string | none, required | Drug name to search in DailyMed drug labels, at most 100 characters. |
max_items | integer | 10 | Maximum number of label rows in one run, from 1 to 100. |