Skip to content

NIH API: Search diagnosis codes

Finds ICD-10-CM diagnosis codes and official names from a plain-language condition description, retrying with simplified wording when the first search finds nothing.

clinicaltables.nlm.nih.gov (opens in a new tab)Version 1ReadNo sign-inVerified Nov 2, 2026

Unofficial. Not affiliated with or endorsed by NIH.

Inputs

Values from the run on Oct 23, 2026, shown under Output.

Description, requireddescription

Condition in plain words, such as "type 2 diabetes with kidney problems".

asthma

Max Results optionalmax_results

Maximum number of matching codes to return, such as 10 (up to 50).

3

Whole number from 1 to 50. Default 10.

Output

From a run on Oct 23, 2026.
{  "diagnosis_codes": [    {      "code": "J45.998",      "page_url": "https://clinicaltables.nlm.nih.gov/api/icd10cm/v3/search?terms=J45.998&sf=code&df=code%2Cname&count=1",      "official_name": "Other asthma"    },    {      "code": "J82.83",      "page_url": "https://clinicaltables.nlm.nih.gov/api/icd10cm/v3/search?terms=J82.83&sf=code&df=code%2Cname&count=1",      "official_name": "Eosinophilic asthma"    },    {      "code": "J45.909",      "page_url": "https://clinicaltables.nlm.nih.gov/api/icd10cm/v3/search?terms=J45.909&sf=code&df=code%2Cname&count=1",      "official_name": "Unspecified asthma, uncomplicated"    }  ]}
Price
1 credit per completed run (1¢ with pay as you go); failed runs are free.
Method
clinicaltables.nlm.nih.gov/search_diagnosis_codes
Returns
code, official name, NLM record link

Use it from your agent

Give your agent this line. It reads SKILL.md, gets a Fous API key and connects the Fous MCP server. Its run then takes the method clinicaltables.nlm.nih.gov/search_diagnosis_codes with the inputs above.

Ask your agent

  • Find the ICD-10-CM code for type 2 diabetes with kidney complications
  • What's the diagnosis code for chronic migraine without aura?
  • Look up official ICD-10 names for asthma with acute exacerbation, return up to 5 matches
  • I need the billing code for iron deficiency anemia secondary to blood loss on nih.gov
  • Which ICD-10-CM codes match 'pneumonia due to influenza', and can I get the NLM record links?
  • Explains an ICD-10-CM diagnosis code with its official name, category, chapter, and whether it is billable, using the NLM Clinical Tables diagnosis table.

    clinicaltables.nlm.nih.gov/explain_diagnosis_code
  • Finds NIH research grants by topic, organisation, or researcher name. Searches the last five fiscal years by default.

    reporter.nih.gov/search_grants
  • Finds PubMed medical and life-science articles by topic, with publication details and free full-text links when PubMed confirms them.

    pubmed.ncbi.nlm.nih.gov/search_articles
  • Gets the full PubMed abstract and publication details for one article by title, PubMed link, or PubMed number (PMID). A title is searched in PubMed titles first and must closely match a found article. Some articles have no abstract or free full text.

    pubmed.ncbi.nlm.nih.gov/get_article
  • Looks up a chemical on PubChem by common name or CAS number and returns its formula, molecular weight, names, description, SMILES, InChIKey and 2D structure image link.

    pubchem.ncbi.nlm.nih.gov/get_chemical
  • Looks up a chemical on PubChem by name or CAS number and returns its GHS hazard labels, route-specific first aid, flash point and workplace exposure limits.

    pubchem.ncbi.nlm.nih.gov/get_chemical_safety
  • Looks up a MedlinePlus health topic for a condition or symptom and returns its overview, related topics, and encyclopedia sections when a matching article is linked.

    medlineplus.gov/get_health_topic
  • Finds WebMD's main guide for a condition through a Bing search. Returns its overview and its symptoms, causes, diagnosis, treatment and when-to-call-a-doctor sections.

    webmd.com/get_condition