Skip to content

NIH API

NIH (nih.gov) has 7 public methods: search PubMed articles, get chemical facts by name or CAS number, search diagnosis codes, get chemical safety, explain ICD-10-CM diagnosis code and 2 more. Each costs 1 credit per completed run (1¢ with pay as you go); failed runs are free.

Unofficial. Not affiliated with or endorsed by NIH.

Methods

7
  • Finds PubMed medical and life-science articles by topic, with publication details and free full-text links when PubMed confirms them.

    Returns title, authors, journal, publication date, article type, abstract excerpt, free full-text link, PubMed link, PubMed ID, DOI

    Readpubmed.ncbi.nlm.nih.gov/search_articles
  • 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.

    Returns name, molecular formula and weight, IUPAC name, CAS number, synonyms, description, structure image URL, PubChem URL, CID, SMILES, InChIKey

    Readpubchem.ncbi.nlm.nih.gov/get_chemical
  • 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.

    Returns code, official name, NLM record link

    Readclinicaltables.nlm.nih.gov/search_diagnosis_codes
  • 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.

    Returns name, signal word, hazard statements and codes, pictograms, first aid, flash point, exposure limits, PubChem link

    Readpubchem.ncbi.nlm.nih.gov/get_chemical_safety
  • 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.

    Returns code, official name, category code and name, chapter, billable flag, NLM page link

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

    Returns title, investigators, organisation, institute, fiscal year, award amount, dates, abstract, link

    Readreporter.nih.gov/search_grants
  • 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.

    Returns title, authors with affiliations, journal, volume, issue, pages, publication date, abstract, keywords, MeSH terms, publication types, conflict of interest, DOI link, free full text link, PubMed link and ID

    Readpubmed.ncbi.nlm.nih.gov/get_article