{"uid":"cap_U0Pi-R7jZr-PxKJbfn46f","slug":"magent-medical-code-display-lookup-7dcd07cd","name":"magent Medical Code Display Lookup","description":"Look up a current RxNorm, ICD-10-CM, or LOINC display from an exact code. Use when an agent already has a code and must not invent the preferred term.","url":"https://api.magentlab.com/api/codes/lookup","method":"GET","headers":{},"bodySchema":{"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","HEAD","DELETE"],"type":"string"},"headers":{"type":"object","additionalProperties":{"type":"string"}},"queryParams":{"type":"object","required":["system","code"],"properties":{"code":{"type":"string","description":"Exact published identifier. ICD-10-CM accepts dotted or compact form (E11.9 or E119). Max 32 characters."},"system":{"enum":["rxnorm","icd10","loinc"],"type":"string","description":"rxnorm, icd10 (ICD-10-CM), or loinc."}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"path":"/api/codes/lookup","count":2,"items":[{"tty":"SCD","code":"198440","found":true,"status":"current","system":"rxnorm","catalog":{"notes":"ICD-10 entries are ICD-10-CM (US claims), not WHO ICD-10. RxNorm codes are RxCUI. LOINC codes are official LOINC numerics. coverage=full never means complete UMLS.","source":"magent curated seed","systems":["rxnorm","icd10","loinc"],"version":"2026.08-wedge","coverage":"seed","coverage_meaning":"Compiled seed catalog. Production coverage=full is gold-gated Current Prescribable RxNorm + ICD-10-CM + LOINC, not complete monthly RxNorm or UMLS."},"display":"acetaminophen 500 MG Oral Tablet","billable":null,"obsolete":false,"synonyms":["tylenol 500mg","tylenol 500 mg","acetaminophen 500mg","acetaminophen 500 mg tablet","paracetamol 500 mg"],"disclaimer":"Not a medical device. Deterministic published-formula or published-code output for autonomous agents. A licensed clinician remains responsible for patient care and billing submissions."},{"tty":"SCD","code":"198440","found":true,"status":"current","system":"rxnorm","catalog":{"notes":"ICD-10 entries are ICD-10-CM (US claims), not WHO ICD-10. RxNorm codes are RxCUI. LOINC codes are official LOINC numerics. coverage=full never means complete UMLS.","source":"magent curated seed","systems":["rxnorm","icd10","loinc"],"version":"2026.08-wedge","coverage":"seed","coverage_meaning":"Compiled seed catalog. Production coverage=full is gold-gated Current Prescribable RxNorm + ICD-10-CM + LOINC, not complete monthly RxNorm or UMLS."},"display":"acetaminophen 500 MG Oral Tablet","billable":null,"obsolete":false,"synonyms":["tylenol 500mg","tylenol 500 mg","acetaminophen 500mg","acetaminophen 500 mg tablet","paracetamol 500 mg"],"disclaimer":"Not a medical device. Deterministic published-formula or published-code output for autonomous agents. A licensed clinician remains responsible for patient care and billing submissions."}]}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_4JrihIrdXCXMK_VaxNvVG","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns the official preferred display name for a given RxNorm, ICD-10-CM, or LOINC code without requiring the agent to guess or hallucinate the term.","exampleAgentPrompt":"What is the official preferred display name for ICD-10-CM code E11.9 — look it up from the authoritative source, don't guess.","exampleUseCases":[{"title":"Resolve drug code for medication summary","prompt":"I have RxNorm code 860975 and need its official drug display name to include in the patient's medication list — can you look that up?"},{"title":"Label ICD-10 diagnosis in a clinical report","prompt":"The claim has diagnosis code E11.65 — what is the official ICD-10-CM preferred term for that code so I can label it correctly in the report?"},{"title":"Display LOINC test name in lab results","prompt":"We have LOINC code 2160-0 in our lab result data — fetch the official display name for it so we can show it clearly to the clinician."}],"resultDescription":"Returns the authoritative preferred display string associated with the submitted code, drawn from the relevant terminology system (RxNorm, ICD-10-CM, or LOINC), so the agent can use the exact published term rather than inventing or approximating it.","failureModes":["Code not found in the specified system — returns error indicating unrecognized code","Invalid system value — only 'rxnorm', 'icd10', or 'loinc' are accepted","Code exceeds 32-character limit — request rejected","Malformed code format that doesn't match the target system — may return not found","Payment failure via x402 protocol — call not completed"],"whenToPreferThis":"Use this endpoint when an agent already holds an exact medical code (RxNorm, ICD-10-CM, or LOINC) and needs to retrieve the authoritative preferred display term without risk of hallucination. Prefer this over general LLM knowledge when accuracy and traceability to official terminology sources are required, such as in clinical documentation, billing, lab reporting, or any context where inventing a term would be harmful.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T01:09:59.451Z","isFirstParty":false}