Discover/drugs.com API
live

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.

Endpoints
8
Updated
10d ago
Try it

No input parameters required.

api.parse.bot/scraper/da04495a-c550-40b2-91b6-6a686616952d/<endpoint>
Ready to send
Fill in the parameters and hit sign in to send to see live response data here.
Use it in your codegrab a free API key at signup
curl -X GET 'https://api.parse.bot/scraper/da04495a-c550-40b2-91b6-6a686616952d/get_new_drug_approvals' \
  -H 'X-API-Key: $PARSE_API_KEY'
All endpoints · 8 totalclick to expand

Get latest FDA drug approvals with drug name, company, approval date, treatment indication, and description.

Input

No input parameters required.

Response
{
  "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.

Common use cases
  • 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
Pricing & limitsSee full pricing →
TierPriceCredits/monthRate limit
Free$0/mo1005 req/min
Hobby$30/mo1,00020 req/min
Developer$100/mo5,000250 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.

Frequently asked questions
Does Drugs.com have an official developer API?+
Drugs.com does not offer a public developer API. There is no documented REST or GraphQL interface available for third-party use on their site.
How do I get an interaction_id to use with get_drug_interactions?+
Call get_drug_details with a drug's page path. The response includes an interaction_id field. Collect one ID for each drug in the pair, then pass both as a comma-separated string to get_drug_interactions (e.g. '233-109,11-0'). If a drug has no interaction data on Drugs.com, interaction_id returns null.
What does get_drugs_by_condition return, and what happens if the condition slug is wrong?+
It returns a drugs array sorted by popularity, with each entry including name, url, rating, reviews, rx_otc status, pregnancy category, csa schedule, and alcohol interaction flag. If the condition slug does not match a valid Drugs.com condition page, the endpoint returns a 404 response. Use exact slugs like 'pain', 'anxiety', or 'acne' as they appear in Drugs.com URLs.
Does the API return pill images from the pill identifier?+
Not currently. pill_identifier_search and get_pill_detail return text fields — name, imprint, color, shape, size, strength, drug_class, and availability — but no image URLs. You can fork this API on Parse and revise it to add an image URL field if the source page exposes one.
Does the API cover drug pricing or pharmacy availability?+
Not currently. The endpoints cover drug details, interactions, FDA approvals, pill identification, and condition-based listings, but no pricing, coupon, or pharmacy stock data is returned. You can fork this API on Parse and revise it to add a pricing or pharmacy-lookup endpoint.
Page content last updated . Spec covers 8 endpoints from drugs.com.
Related APIs in HealthcareSee all →
ulta.com API
Search and browse Ulta Beauty's complete product catalog with real-time pricing and inventory information, then dive into detailed product specs including ingredients, usage instructions, and customer reviews. Find exactly what you're looking for across all beauty categories with comprehensive product data at your fingertips.
pubmed.ncbi.nlm.nih.gov API
Search and retrieve biomedical literature from PubMed and NCBI databases. Supports keyword search, advanced field-tag queries, clinical filters, citation matching, date filtering, publication type filtering, and direct E-utilities access.
cvs.com API
Find nearby CVS Pharmacy locations and check their hours, then search for products and verify real-time availability at specific stores. Quickly locate what you need and confirm it's in stock before making a trip.
accessdata.fda.gov API
Search and retrieve comprehensive FDA premarket approval information for medical devices, including approval status, supplements, applicant details, and advisory committee data. Get instant access to specific PMA records with all relevant approval information in one place.
zocdoc.com API
Search for doctors and medical practices on Zocdoc by specialty and location. Retrieve provider profiles, accepted insurance, office locations, patient reviews, and appointment availability.
pmc.ncbi.nlm.nih.gov API
Search millions of full-text biomedical research articles and access their metadata, citations, and related papers from PubMed Central. Find articles by topic, discover similar research, explore journal collections, and retrieve detailed citation information to support your literature review and research.
open.fda.gov API
Search FDA food recall and enforcement actions to find safety information about specific products or manufacturers, and look up adverse events reported to the CFSAN Adverse Event Reporting System (CAERS). Filter, sort, and aggregate data by various fields to analyze food safety trends and monitor enforcement activity.
azbar.org API
Search for Arizona lawyers by name, location, specialty, or company to find the right legal professional for your needs. View detailed lawyer profiles including their specializations, licensed jurisdictions, law school, admission history, and any disciplinary records.