Catalog/clinical-drug-class-atc

Health

Drug -> ATC therapeutic class (RxClass) API

Maps a drug name to its WHO ATC (Anatomical Therapeutic Chemical) therapeutic classes via RxClass, with the ATC hierarchy level (1-5) derived from each class id. Answers 'What drug class is atorvastatin?', 'Get the ATC code for a medication'.

Price$0.01per request
MethodPOST
Route/v1/health/clinical-drug-class-atc
StatusLive
MIME typeapplication/json
Rate limit60/minute
Cache604800s public
healthclinicalatcdrug-classrxclasstherapeuticwhopharmacologynlm
API URLhttps://x402.hexl.dev/v1/health/clinical-drug-class-atc
Integration docs
Example request
{
  "drug": "atorvastatin",
  "max": 3
}
Example response
{
  "query": "atorvastatin",
  "returned": 3,
  "classes": [
    {
      "atcCode": "C10BA",
      "className": "Combinations of various lipid modifying agents",
      "atcLevel": 4,
      "forConcept": "atorvastatin / ezetimibe"
    },
    {
      "atcCode": "C10BX",
      "className": "Lipid modifying agents in combination with other drugs",
      "atcLevel": 4,
      "forConcept": "amlodipine / atorvastatin"
    },
    {
      "atcCode": "C10AA",
      "className": "HMG CoA reductase inhibitors",
      "atcLevel": 4,
      "forConcept": "atorvastatin"
    }
  ],
  "codingSystem": "ATC (WHO) via RxClass",
  "disclaimer": "Informational reference/terminology data only — NOT medical advice. Verify against authoritative sources and a qualified professional before any clinical, billing, or treatment decision."
}
Input schema
{
  "type": "object",
  "required": [
    "drug"
  ],
  "properties": {
    "drug": {
      "type": "string"
    },
    "max": {
      "type": "integer",
      "minimum": 1,
      "maximum": 50,
      "default": 15
    }
  }
}
Output schema
{
  "type": "object",
  "additionalProperties": true
}