Health
Drug -> NDC codes (RxNorm) API
Resolves a drug name or RxCUI to its National Drug Codes (NDCs), descending ingredient/brand concepts to their clinical products when needed, and parses each NDC into 5-4-2 segments. Answers 'What NDCs map to atorvastatin?', 'Get NDC codes for an RxCUI'.
Price$0.01per request
MethodPOST
Route/v1/health/clinical-rxnorm-ndc
StatusLive
MIME typeapplication/json
Rate limit60/minute
Cache604800s public
healthclinicalrxnormndcdrugnational-drug-codepharmacynlm
API URL
Integration docshttps://x402.hexl.dev/v1/health/clinical-rxnorm-ndcExample request
{
"drug": "atorvastatin",
"max": 3
}Example response
{
"query": "atorvastatin",
"rxcui": "83367",
"resolvedFrom": "83367 (via 20 products)",
"name": "atorvastatin",
"totalNdcs": 1548,
"returned": 3,
"ndcs": [
{
"ndc11": "00093505705",
"formatted": "00093-5057-05"
},
{
"ndc11": "00093505798",
"formatted": "00093-5057-98"
},
{
"ndc11": "00378395305",
"formatted": "00378-3953-05"
}
],
"codingSystem": "RxNorm/NDC",
"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",
"description": "Drug name or RxCUI"
},
"max": {
"type": "integer",
"minimum": 1,
"maximum": 100,
"default": 25
}
}
}Output schema
{
"type": "object",
"additionalProperties": true
}