# Medical Codes Drug Name Matcher (RxNorm)

> Medical Codes Drug Name Matcher (RxNorm) is a paid API for AI agents from medical-codes.x402tookit.com, paid per call via x402, $0.03/call, status unknown (last checked 2026-10-29).

Matches a misspelled or branded drug name to RxNorm identifiers, returning the best candidates with RxCUI codes, normalized names, and match scores.

## Facts

- Endpoint: GET https://medical-codes.x402tookit.com/drug-name-match?utm_source=zero.xyz
- Price: $0.03/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-29
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/medical-codes-drug-name-matcher-rxnorm-d81dc065
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_ZygOQJYHrrxr7NtIorPxY

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability medical-codes-drug-name-matcher-rxnorm-d81dc065
```

Example prompt: Can you find the RxNorm RxCUI code for 'ibuprofin' — I think I'm spelling it wrong — and show me the best matching drug names and their scores?

## When to prefer this

Use this endpoint when you need to resolve a possibly misspelled, branded, or informal drug name to a standard RxNorm RxCUI identifier and normalized name — especially useful for medication reconciliation, EHR data standardization, or any workflow requiring canonical drug identifiers. Prefer this over a full RxNorm profile lookup when the primary need is fuzzy matching and candidate ranking rather than detailed drug attributes.

## Known failure modes

- Drug name not found in RxNorm — returns empty candidates list
- Very short or ambiguous input may return low-confidence scores with many candidates
- Network or upstream RxNorm API errors may return a degraded flag
- Missing required 'name' query parameter returns a validation error

## How this service works

Match a misspelled or branded drug name to RxNorm: best candidates with RxCUI identifiers, names and match scores.

## Output

Returns a best match object with the normalized drug name, RxCUI identifier, match score, and term type, plus an ordered list of additional candidate matches. Also includes the original query, data source URL, a summary verdict, and a disclaimer.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "name"
     ],
     "properties": {
      "name": {
       "type": "string",
       "description": "Drug name, e.g. ibuprofin or Advil"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "asOf": {
       "type": [
        "null",
        "string"
       ]
      },
      "query": {
       "type": [
        "null",
        "string"
       ]
      },
      "source": {
       "type": [
        "null",
        "string"
       ]
      },
      "reasons": {
       "type": [
        "array",
        "null"
       ],
       "items": {
        "type": "string"
       }
      },
      "summary": {
       "type": [
        "null",
        "string"
       ]
      },
      "verdict": {
       "type": [
        "null",
        "string"
       ]
      },
      "degraded": {
       "type": [
        "boolean",
        "null"
       ]
      },
      "bestMatch": {
       "type": [
        "null",
        "object"
       ],
       "properties": {
        "name": {
         "type": [
          "null",
          "string"
         ]
        },
        "rxcui": {
         "type": [
          "null",
          "string"
         ]
        },
        "score": {
         "type": [
          "null",
          "number"
         ]
        },
        "termType": {
         "type": [
          "null",
          "string"
         ]
        }
       }
      },
      "sourceUrl": {
       "type": [
        "null",
        "string"
       ]
      },
      "candidates": {
       "type": [
        "array",
        "null"
       ],
       "items": {
        "type": "object",
        "properties": {
         "name": {
          "type": [
           "null",
           "string"
          ]
         },
         "rxcui": {
          "type": [
           "null",
           "string"
          ]
         },
         "score": {
          "type": [
           "nu
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/medical-codes-drug-name-matcher-rxnorm-d81dc065/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from medical-codes.x402tookit.com](https://www.zero.xyz/host/medical-codes.x402tookit.com/llms.txt)
