Health
Drugs logo

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 / call

    Returns drugs used to treat a medical condition, using medical terminology for condition names.

    condition
    string · required
  • Drug Details

    dc_drug_detailsread1 credit / call

    Returns full drug information including uses, warnings, dosage, side effects, interactions, and related drugs.

    drug
    string · required
  • Drug Interactions

    dc_drug_interactionsread1 credit / call

    Returns the most frequently checked drug interactions with severity level of major, moderate, or minor.

    drug
    string · required
  • Drug Prices

    dc_drug_pricesread1 credit / call

    Returns 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 / call

    Returns 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 / call

    Returns detailed side effects grouped by severity including serious and other side effects.

    drug
    string · required
  • List Conditions

    dc_list_conditionsread2 credits / call

    Returns all medical conditions with their slugs, filterable by letter or across A-Z.

    letter
    string
  • Search Drugs

    dc_search_drugsread1 credit / call

    Returns 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

All Health sites