Drug Interaction Database API

Comprehensive drug interaction checking, side effect profiles, and safety data covering 12,000+ drugs. Built for healthcare applications, pharmacy systems, and clinical decision support using data from FDA Drug Labels, DrugBank, and the WHO Essential Medicines List.

Live

Base URL

https://api.crimate.net/v1/drugs

Authentication

Include your Drug Interaction API key in the Authorization header.

curl -H "Authorization: Bearer db_drug_interaction_live_YOUR_KEY" \
     https://api.crimate.net/v1/drugs/interactions/check?drugs=warfarin,aspirin

Endpoints

GET/v1/drugs/drugs

List all drugs with optional filters for category, form, and active ingredient

Parameters: category, form (tablet|capsule|liquid|injection), ingredient, page, per_page

Example

GET /v1/drugs/drugs?category=cardiovascular&form=tablet
GET/v1/drugs/drugs/{drugCode}

Detailed drug profile including active ingredients, forms, dosages, and classifications

Parameters: drugCode (required, path)

Example

GET /v1/drugs/drugs/warfarin
GET/v1/drugs/drugs/search

Search drugs by name, brand name, or active ingredient

Parameters: q (required), type (generic|brand, optional)

Example

GET /v1/drugs/drugs/search?q=aspirin
GET/v1/drugs/interactions

List known drug-drug interactions with severity ratings and clinical effects

Parameters: drug (drug code), severity (major|moderate|minor), page, per_page

Example

GET /v1/drugs/interactions?drug=warfarin&severity=major
GET/v1/drugs/interactions/check

Check interactions between two or more drugs. Returns all pairwise interactions found.

Parameters: drugs (required, comma-separated drug codes)

Example

GET /v1/drugs/interactions/check?drugs=warfarin,aspirin,ibuprofen
GET/v1/drugs/side-effects

Known side effects for a drug with frequency and severity classification

Parameters: drug (required), frequency (common|uncommon|rare, optional)

Example

GET /v1/drugs/side-effects?drug=metformin&frequency=common
GET/v1/drugs/stats

Dataset statistics (total drugs, interactions, side effects, latest update)

Parameters: None

Example

GET /v1/drugs/stats

Response Examples

Drug interaction check response:

{
  "interactions": [
    {
      "drug_a": "warfarin",
      "drug_a_name": "Warfarin Sodium",
      "drug_b": "aspirin",
      "drug_b_name": "Aspirin (Acetylsalicylic Acid)",
      "severity": "major",
      "mechanism": "Aspirin inhibits platelet aggregation and may displace warfarin from protein binding sites, increasing free warfarin concentration.",
      "clinical_effect": "Significantly increased risk of bleeding, including gastrointestinal and intracranial hemorrhage.",
      "recommendation": "Avoid combination unless specifically indicated. If co-prescribed, monitor INR closely and watch for signs of bleeding.",
      "evidence_level": "well-established",
      "references": ["FDA Drug Label", "DrugBank DB00682"]
    },
    {
      "drug_a": "warfarin",
      "drug_a_name": "Warfarin Sodium",
      "drug_b": "ibuprofen",
      "drug_b_name": "Ibuprofen",
      "severity": "major",
      "mechanism": "NSAIDs inhibit platelet function and may cause GI erosion, compounding warfarin's anticoagulant effect.",
      "clinical_effect": "Increased risk of GI bleeding and elevated INR values.",
      "recommendation": "Use alternative analgesic (e.g., paracetamol). If unavoidable, use lowest effective dose for shortest duration with INR monitoring.",
      "evidence_level": "well-established",
      "references": ["FDA Drug Label", "DrugBank DB01050"]
    }
  ],
  "checked_drugs": ["warfarin", "aspirin", "ibuprofen"],
  "total_interactions": 2
}

Try It

Enter your Drug Interaction API key to make a live request. Generate a key in the dashboard.

Try It

Make a live API call from your browser

GET
curl -H "Authorization: Bearer db_drug_interaction_live_YOUR_KEY" \
     "https://crimate.net/v1/drugs/stats"

Data Sources

FDA Drug Labels

Structured product labeling (SPL) data from the U.S. Food and Drug Administration covering drug interactions, contraindications, warnings, and adverse reactions for FDA-approved medications. Updated weekly from the DailyMed database.

DrugBank (Public)

Comprehensive drug data from the DrugBank open-access dataset including drug targets, pharmacology, interactions, and pharmacokinetic properties. Covers 12,000+ drug entries with detailed molecular and clinical data.

WHO Essential Medicines

The WHO Model List of Essential Medicines provides a core set of medicines addressing priority health needs. Used to flag essential medicine status and ensure broad coverage of globally critical drugs in our database.

Rate Limits

TierPriceRate LimitDaily QuotaMonthly Quota
FreeR0/mo10 req/min1001,000
StarterR499/mo60 req/min5,00050,000
ProR1,999/mo300 req/minUnlimited500,000

Error Codes

All error responses follow a consistent JSON format:

{
  "error": "error_code",
  "message": "Human-readable description."
}
StatusError CodeDescription
400invalid_requestThe request body or query parameters are malformed.
401unauthorizedMissing or invalid API key.
403no_subscriptionNo active subscription for this API product.
403quota_exceededDaily or monthly quota exceeded.
404not_foundThe requested resource does not exist.
429rate_limit_exceededToo many requests. Check X-RateLimit-Remaining header.
500internal_errorAn unexpected server error occurred.