ToolAssay

Map a natural-language drug, diagnosis, or lab phrase to a current RxNorm, ICD-1

Map a natural-language drug, diagnosis, or lab phrase to a current RxNorm, ICD-10-CM, or LOINC code. Use when an agent must not hallucinate or invent a billing/pharmacy code.

Answeringour last check, 2026-09-28
1 of 1checks answered this week
606 msmedian answer time
$0.005listed price per call
$0.005price it asked us

Paid test badge: not yet. The checks above are free: we call the tool without paying and read the payment request it sends back. The Verified badge needs paid calls whose answers match the promised output, and nobody can buy a badge.

Endpoint

GET https://api.magentlab.com/api/codes/search

CategoryCode and developer
Provider hostapi.magentlab.com
Networkseip155:8453
Payment schemesbatch-settlement, exact
Self-reported calls, 30 days0 from 0 payers (the provider's figure, not ours)

Our checks, last 30 days

DayResultHTTPAskedTime
2026-09-28 valid payment request 402$0.005 606 ms

Example input (from the provider)

{
  "method": "GET",
  "queryParams": {
    "billable_only": true,
    "include_obsolete": false,
    "limit": 5,
    "min_score": 35,
    "query": "Tylenol 500mg",
    "system": "rxnorm",
    "tty": "SCD"
  },
  "type": "http"
}

Promised output schema (from the provider)

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "properties": {
    "input": {
      "additionalProperties": false,
      "properties": {
        "headers": {
          "additionalProperties": {
            "type": "string"
          },
          "type": "object"
        },
        "method": {
          "enum": [
            "GET",
            "HEAD",
            "DELETE"
          ],
          "type": "string"
        },
        "queryParams": {
          "properties": {
            "billable_only": {
              "description": "ICD-10-CM: return only HIPAA billable codes, not headers. Default true.",
              "type": "boolean"
            },
            "include_obsolete": {
              "description": "Include deprecated/obsolete codes. Default false.",
              "type": "boolean"
            },
            "limit": {
              "description": "Number of ranked matches to return (1-25). Default 5.",
              "type": "integer"
            },
            "min_score": {
              "description": "Minimum rank score 0-100. Default 35.",
              "type": "integer"
            },
            "query": {
              "description": "Natural-language drug, diagnosis, or lab description. Max 512 characters. Do not send patient names.",
              "type": "string"
            },
            "system": {
              "description": "Restrict to rxnorm, icd10 (ICD-10-CM), or loinc. Omit to search all.",
              "enum": [
                "rxnorm",
                "icd10",
                "loinc"
              ],
              "type": "string"
            },
            "tty": {
              "description": "Restrict term type. Pharmacy orders typically want SCD. ICD-10-CM is CM; LOINC is LN.",
              "enum": [
                "SCD",
                "SBD",
                "IN",
                "PIN",
                "MIN",
                "BN",
                "GPCK",
                "BPCK",
                "DF",
                "SCDC",
                "SBDC",
                "SCDF",
                "SBDF",
                "CM",
                "LN"
              ],
              "type": "string"
            }
          },
          "required": [
            "query"
          ],
          "type": "object"
        },
        "type": {
          "const": "http",
          "type": "string"
        }
      },
      "required": [
        "type",
        "method"
      ],
      "type": "object"
    },
    "output": {
      "properties": {
        "example": {
          "type": "object"
        },
        "type": {
          "type": "string"
        }
      },
      "required": [
        "type"
      ],
      "type": "object"
    }
  },
  "required": [
    "input"
  ],
  "type": "object"
}

This page as JSON