drugs.com APIdrugs.com ↗
Access FDA approvals, drug interactions, pill identification, drug details by condition, and more from Drugs.com via a structured JSON API.
No input parameters required.
curl -X GET 'https://api.parse.bot/scraper/da04495a-c550-40b2-91b6-6a686616952d/get_new_drug_approvals' \ -H 'X-API-Key: $PARSE_API_KEY'
Get latest FDA drug approvals with drug name, company, approval date, treatment indication, and description.
No input parameters required.
{
"type": "object",
"fields": {
"approvals": "array of approval objects containing name, url, company, approval_date, treatment, and description"
},
"sample": {
"data": {
"approvals": [
{
"url": "https://www.drugs.com/otarmeni.html",
"name": "Otarmeni",
"company": "",
"treatment": "Hearing Loss",
"description": "Otarmeni (lunsotogene parvec-cwha) is an adeno-associated virus vector-based gene therapy for genetic OTOF-related hearing loss.",
"approval_date": "April 23, 2026"
}
]
},
"status": "success"
}
}About the drugs.com API
The Drugs.com API exposes 8 endpoints covering FDA drug approvals, drug detail pages, interaction checks, and pill identification. You can call get_drug_interactions to check severity and descriptions for two-drug pairs using interaction IDs, search drugs by keyword, or look up pills by imprint code, color, and shape — all returning structured JSON with fields ready for clinical tools, formulary apps, or consumer health products.
Drug Search and Detail
The search_drugs endpoint accepts a keyword query and returns matching drug name, url, and description fields from the Drugs.com index. From there, get_drug_details takes a drug page path (e.g. /lisinopril.html) and returns the drug's generic_name, drug_class, a sections object mapping content headings to full text (covering areas like dosage, side effects, and warnings), and an interaction_id for use in downstream interaction lookups.
Drug Interactions and FDA Approvals
get_drug_interactions accepts a comma-separated pair of interaction IDs and returns an interactions array where each object carries severity, pair (the drug combination name), and a plain-text description. Interaction IDs come from the interaction_id field returned by get_drug_details. The get_new_drug_approvals endpoint requires no inputs and returns an approvals array with name, company, approval_date, treatment, and description for each recently approved drug.
Pill Identification
pill_identifier_search filters by any combination of imprint, color, and shape, returning a pills array with name, URL, and summary details. get_pill_detail drills into a specific pill page and returns physical metadata: size (in mm), color, shape, imprint, strength, drug_class, and availability (Rx, OTC, or both). No image URLs are currently returned by these endpoints.
Condition-Based and Alphabetical Listings
get_drugs_by_condition accepts a condition slug (e.g. depression, insomnia) and returns drugs sorted by popularity, each with rating, reviews, rx_otc, pregnancy, csa, and alcohol fields — enough to build a basic comparison view per condition. get_drug_by_letter returns all drug name and url pairs beginning with a given letter, useful for building browseable drug directories.
- Build a drug interaction checker using get_drug_interactions severity and description fields
- Display FDA approval feeds in a clinical news dashboard using get_new_drug_approvals
- Identify unknown pills by imprint and color using pill_identifier_search and get_pill_detail
- Populate a condition-specific medication comparison page using get_drugs_by_condition ratings and reviews
- Enrich a pharmacy product catalog with drug_class and generic_name from get_drug_details
- Generate a browseable drug A–Z index using get_drug_by_letter
- Alert users to potential drug-drug interactions in a medication tracking app by chaining get_drug_details and get_drug_interactions
| Tier | Price | Credits/month | Rate limit |
|---|---|---|---|
| Free | $0/mo | 100 | 5 req/min |
| Hobby | $30/mo | 1,000 | 20 req/min |
| Developer | $100/mo | 5,000 | 250 req/min |
One credit = one API call regardless of which marketplace API you call. Exceeding the rate limit returns a 429 response. Authenticate with the X-API-Key header.