{"uid":"cap_MBLu6XnkUBPijsP55JzZm","slug":"nlm-icd-10-cm-diagnosis-code-search-3e2a2aa9","name":"NLM ICD-10-CM Diagnosis Code Search","description":"Returns matching ICD-10-CM diagnosis codes and descriptions from NLM Clinical Tables clinicaltables.nlm.nih.gov/api/icd10cm for a search term. Autonomous agents and agent-to-agent (A2A) medical-coding, claims and clinical-documentation pipelines use it to convert free-text conditions into billable ICD-10 codes. Ranking surface: condition text to ranked code candidates. First 3 calls FREE per wallet — send header X-WALLET: 0x<addr>. No charge on upstream failure.","url":"https://nlm-icd10cm-code-search.hergertsynthora.com/service","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"sf":{"type":"string","description":"sf"},"terms":{"type":"string","description":"terms"},"maxList":{"type":"integer","description":"maxList"}}},"responseSchema":{"type":"json","example":{"ok":true,"niche":"nlm-icd10cm-code-search","result":{"results":[{"code":"E","name":"2"},{"code":"N","name":"2"}],"total_results":481},"provenance":{"url":"https://clinicaltables.nlm.nih.gov/api/icd10cm/v3/search","source":"NLM ICD-10-CM Diagnosis Code Search"}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","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.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_XTR9sKgD5G3Hy2A3RkG7q","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Converts free-text medical condition descriptions into ranked ICD-10-CM diagnosis code candidates using the NLM Clinical Tables API.","exampleAgentPrompt":"Search the NLM ICD-10-CM database for diagnosis codes matching 'type 2 diabetes with diabetic chronic kidney disease' and return the top 5 results.","exampleUseCases":[{"title":"Medical claims coding automation","prompt":"I need ICD-10-CM codes for 'acute lower respiratory infection' — search the NLM clinical tables and give me the top 10 ranked matches so I can pick the right one for this insurance claim."},{"title":"Clinical documentation code lookup","prompt":"What are the ICD-10-CM diagnosis codes for 'essential hypertension'? Give me up to 5 results so the clinician can select the most accurate code for the patient chart."},{"title":"Agent-driven coding pipeline enrichment","prompt":"For each condition in this intake note — 'major depressive disorder, recurrent, moderate' — search NLM ICD-10-CM and return the top 3 matching diagnosis codes with their descriptions."}],"resultDescription":"Returns a JSON object with an 'ok' status flag, a list of ranked ICD-10-CM code-description pairs (each with a 'code' and 'name' field), and a total_results count indicating how many matching codes exist in the NLM database. Provenance metadata identifies the upstream NLM Clinical Tables source URL.","failureModes":["Empty or ambiguous search term returns zero results or irrelevant codes","Misspelled condition names may yield no matches or poor ranking","Very broad terms (e.g. 'pain') return hundreds of results requiring refinement via maxList","NLM upstream API unavailability causes downstream failure","Requesting maxList beyond supported limits may be silently capped or error"],"whenToPreferThis":"Prefer this endpoint when an agent needs to map free-text clinical conditions to ICD-10-CM codes in real time within a medical coding, claims processing, or clinical documentation workflow. It is ideal for agent-to-agent pipelines that require ranked code candidates rather than a single deterministic lookup, and when the underlying NLM Clinical Tables authoritative source is preferred. Choose this over general-purpose LLM code guessing when auditability and NLM provenance are required.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T18:37:56.696Z","isFirstParty":false}