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
26d 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 →
blinkhealth.com API
Find affordable medications by comparing prices across pharmacies, viewing available formulations, and locating nearby participating locations. Search drugs, discover generic alternatives, and check preferred drug lists to save money on prescriptions.
pharmdata.co.uk API
Search UK pharmacies, access NHS service statistics, and retrieve pharmacy dispensing data to compare performance across regions. Monitor MHRA drug safety alerts and view LPC rankings to make informed decisions about pharmacy services and medications.
1mg.com API
1mg.com API
examine.com API
Search and explore evidence-based information about supplements, health conditions, and outcomes with detailed supplement profiles, study summaries, and categorized health data. Get comprehensive overviews of how specific supplements affect various health conditions backed by scientific research.
altibbi.com API
Search and browse comprehensive medicine and disease information from Altibbi's medical encyclopedia using commercial or scientific names. Get detailed profiles including dosage, uses, side effects, and disease descriptions to support healthcare decisions and medical research.
medex.com.bd API
medex.com.bd API
apollo247.com API
Search and compare medicines, view detailed product information, discover lab tests, and locate nearby Apollo 24|7 pharmacy stores. Browse medical specialties and popular diagnostic services to plan your healthcare needs in one convenient platform.
clinicaltrials.gov API
Search and retrieve comprehensive information about clinical trials worldwide, including study details, eligibility criteria, locations, and outcomes data. Access structured metadata and statistics to find relevant research studies matching your specific medical conditions or research interests.