{"uid":"cap__Q0uMvheQHe0aaPRbRz75","slug":"loinc-lab-test-code-lookup-1ced93cc","name":"LOINC Lab Test Code Lookup","description":"LOINC lab test codes: look up a code or search by test name, with the long name and a deprecated-code warning.","url":"https://medical-codes.x402tookit.com/loinc-lookup?utm_source=zero.xyz","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"],"type":"string"},"queryParams":{"type":"object","required":["q"],"properties":{"q":{"type":"string","description":"A LOINC code like 4548-4, or words such as hemoglobin a1c"},"limit":{"type":"integer","description":"Results 1 to 25 (default 10)"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"asOf":{"type":["null","string"]},"loinc":{"type":["null","string"]},"credit":{"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"]},"longName":{"type":["null","string"]},"component":{"type":["null","string"]},"sourceUrl":{"type":["null","string"]},"deprecated":{"type":["boolean","null"]},"disclaimer":{"type":["null","string"]},"notChecked":{"type":["array","null"],"items":{"type":"string"}}}}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.02","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.02/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_MiZ2Bg1Z6BcJmfzTesOG6","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.02","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Look up a LOINC code by identifier or search by test name, returning the long name, component, and a deprecation warning if applicable.","exampleAgentPrompt":"Look up LOINC code 4548-4 for me — I need its full long name, component, and whether it's been deprecated.","exampleUseCases":[{"title":"EHR lab result code verification","prompt":"I have a lab result tagged with LOINC code 2160-0 — can you tell me what the full official name is and whether that code is still current or has been deprecated?"},{"title":"Clinical documentation code search","prompt":"I need to find the LOINC code for a hemoglobin A1c test — can you search by that test name and give me the top 5 matching codes with their long names?"},{"title":"Health data pipeline enrichment","prompt":"We're ingesting lab data with LOINC code 17861-6 and need the long name and component details, plus a flag if the code is deprecated — can you look that up?"}],"resultDescription":"Returns the LOINC code, its official long name, component, a summary description, a verdict on validity, a deprecated boolean flag, the data source URL, an 'asOf' timestamp, and a disclaimer. May include a list of reasons and a 'degraded' flag if the data source is partially unavailable.","failureModes":["Unknown LOINC code returns null or empty result with no match","Misspelled or ambiguous search term returns zero results","Deprecated code returns result with deprecated=true and a warning in reasons","Service degraded flag set to true when upstream LOINC data source is partially unavailable","Invalid query format (empty string) may return an error"],"whenToPreferThis":"Use this endpoint when you need to resolve or validate a specific LOINC code, look up its official long name and component, or search for LOINC codes by lab test name. Prefer this over ICD-10 or HCPCS endpoints when the data involves laboratory observations and measurements rather than diagnoses or billing supply codes.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-29T13:12:36.560Z","isFirstParty":false,"canonicalSlug":"loinc-lab-test-code-lookup-1ced93cc"}