{"uid":"cap_O9MHBWrF1cHmyv0dENnFP","slug":"magentlab-ontology-code-lookup-ae9c9e87","name":"Magentlab Ontology Code 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/ontology/lookup","method":"GET","headers":{},"bodySchema":null,"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"registry","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_p2Sb0AC02gaZd4Mc8huO_","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Looks up the official display name for a given RxNorm, ICD-10-CM, or LOINC code without inventing or hallucinating the preferred term.","exampleAgentPrompt":"What is the official preferred display name for ICD-10-CM code E11.65? I need the exact canonical term — don't guess or paraphrase.","exampleUseCases":[{"title":"Decode a diagnosis code for a patient summary","prompt":"I have the ICD-10-CM code J45.51 — can you look up its official display name so I can include the correct term in this patient discharge summary?"},{"title":"Resolve a lab test LOINC code","prompt":"Our lab report contains LOINC code 2093-3. What is the official preferred term for that code so we can label the result correctly?"},{"title":"Identify a medication by RxNorm code","prompt":"The prescription system returned RxNorm code 860975 — what is the canonical display name for that drug so I can show it to the pharmacist?"}],"resultDescription":"Returns the official preferred display name (canonical label) corresponding to the submitted ontology code and code system (RxNorm, ICD-10-CM, or LOINC), sourced from authoritative terminology databases rather than generated or inferred.","failureModes":["Code not found in the specified ontology — returns 404 or empty result","Ambiguous code submitted without specifying the code system — may return wrong ontology match","Malformed or invalid code format — returns 400 bad request","Ontology data lag — very recently added codes may not yet be indexed","Network or service timeout at $0.005 per call — charge may occur even on failure"],"whenToPreferThis":"Use this endpoint when an agent already holds an exact ontology code (RxNorm, ICD-10-CM, or LOINC) and must retrieve the authoritative preferred display term without inventing, paraphrasing, or hallucinating it. Prefer this over general LLM recall for any production clinical, billing, or regulatory context where accuracy of terminology is mandatory. Choose this over a full text-search endpoint when the code is known and only the canonical label is needed.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T06:58:03.878Z","isFirstParty":false}