Drugs API
drugs.com
Drugs.com - drug info, side effects, interactions, reviews, prices, and condition-based lists.
- Actions
- 8
- Category
- Health
- Login
- Not required
- Output
- JSON
Call the Drugs API
Submit a task, then poll the job until it settles. This example runs dc_condition_drugs.
curl -X POST https://api.anakin.io/v1/wire/task \
-H "X-API-Key: $ANAKIN_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"action_id": "dc_condition_drugs",
"params": {
"condition": "pain"
}
}'8 actions on drugs.com
Read
Condition Drugs
dc_condition_drugsread2 credits / callReturns drugs used to treat a medical condition, using medical terminology for condition names.
- condition
- string · required
Drug Details
dc_drug_detailsread1 credit / callReturns full drug information including uses, warnings, dosage, side effects, interactions, and related drugs.
- drug
- string · required
Drug Interactions
dc_drug_interactionsread1 credit / callReturns the most frequently checked drug interactions with severity level of major, moderate, or minor.
- drug
- string · required
Drug Prices
dc_drug_pricesread1 credit / callReturns pharmacy prices for a drug grouped by dosage form with quantity, per-unit cost, and total price.
- drug
- string · required
Drug Reviews
dc_drug_reviewsread1 credit / callReturns patient reviews for a drug with overall rating, condition treated, individual rating, and text.
- drug
- string · required
- page
- integer
Drug Side Effects
dc_drug_side_effectsread1 credit / callReturns detailed side effects grouped by severity including serious and other side effects.
- drug
- string · required
List Conditions
dc_list_conditionsread2 credits / callReturns all medical conditions with their slugs, filterable by letter or across A-Z.
- letter
- string
Search Drugs
dc_search_drugsread1 credit / callReturns matching drugs with name, description, rating, review count, and featured status for a keyword.
- query
- string · required
- page
- integer
Drugs API questions
- Is there an API for Drugs?
- Drugs does not offer a public data API for this, but Anakin Wire provides 8 maintained endpoints for drugs.com. You call Anakin's REST API with an action ID and parameters and get structured JSON back; Anakin handles the browser, proxies, anti-bot, and parsing.
- How do I scrape Drugs data?
- POST to https://api.anakin.io/v1/wire/task with your API key, the action ID, and its parameters, then poll GET /v1/wire/jobs/{id} until the job settles. There is nothing to install and no scraper to maintain — when drugs.com changes its markup, Anakin updates the action.
- Do I need a Drugs account?
- No. Every Drugs action listed here runs anonymously — no account and no credentials required.
- What does the Drugs API cost?
- Usage-based credits, charged per call and refunded automatically when a job fails. New accounts start with 300 free credits and no card. See anakin.io/pricing for the current rates.
More Health APIs
ACE Fitness
ACE Fitness - exercise library, articles, health calculators, and trainer search.
Amazon Pharmacy
Amazon Pharmacy - medication search, RxPass catalog, and detail pages with pricing.
America's Pharmacy
US pharmacy savings-card marketplace for searching drug prices, comparing local pharmacy discount costs, and retrieving printable coupons.
American Academy of Dermatology
American Academy of Dermatology - skin, hair, and nail conditions, treatments, and care guidance.
Aplaceformom.Com
Search senior living and care communities by location, compare care types, view pricing and amenities, and read community reviews on A Place for Mom.
Apollo 247
Apollo 247 India - medicine and wellness browsing, pricing, promotions, and pincode availability.