DocsCatalogPricing
Sign inStart research
Back to catalog
Research tool·genomics·rxclass

RxClass Get Class Hierarchy

Traverse the drug-class hierarchy (ancestor chain / class tree) for a class ID in NLM RxClass via classGraph. Returns the ordered parent chain from a leaf class up to the classification root, with all nodes (classId, className, classType) and edges (child isa parent), plus a precomputed 'ancestor_path' from the requested class to the root. Default source is ATC. No API key required. Example: classId 'N02BA' ('Salicylic acid and derivatives') -> N02BA <- N02B ('OTHER ANALGESICS AND ANTIPYRETICS'…

AvailableCortexa

Overview

Traverse the drug-class hierarchy (ancestor chain / class tree) for a class ID in NLM RxClass via classGraph. Returns the ordered parent chain from a leaf class up to the classification root, with all nodes (classId, className, classType) and edges (child isa parent), plus a precomputed 'ancestor_path' from the requested class to the root. Default source is ATC. No API key required. Example: classId 'N02BA' ('Salicylic acid and derivatives') -> N02BA <- N02B ('OTHER ANALGESICS AND ANTIPYRETICS') <- N02 ('ANALGESICS') <- N ('NERVOUS SYSTEM') <- 0 ('Anatomical Therapeutic Chemical' root), 5 nodes / 4 edges.

Schema

JSON Schema the agent (or your API call) must match.

JSON · 19 lines · 595 chars

Examples (1)

Default RxClass Get Class Hierarchy call

public-safeinput
JSON · 3 lines · 25 chars
Expected response keys: success

Anonymous-safe example. Rate-limited; no sign-in required.

Identifiers

Catalog ID
tu_RxClass_get_class_hierarchy
Tool name
RxClass_get_class_hierarchy
Added
2026-07-29 18:13Z
Tags
tooluniverse
Cortexa.

The agent for research teams. 1.4K+ verified tools across every research discipline, every claim cited.

Product

  • Documentation
  • Integrations
  • Tool catalog
  • Pricing

Get started

  • Start research
  • Sign in
  • Developer API
  • MCP server

Support

  • Help center
  • Contact us
  • Terms of Service
  • Privacy Policy

© 2026 Cortexa. All rights reserved.

TermsPrivacy·For research context only · Not medical, legal, or financial advice.