# NIH API

> 7 public methods for NIH (nih.gov), each 1 credit per completed run.

Unofficial. Not affiliated with or endorsed by NIH.

- Page: https://fous.com/methods/nih.gov

## Methods

### [Search PubMed articles](https://fous.com/methods/pubmed.ncbi.nlm.nih.gov/search-articles.md)

`pubmed.ncbi.nlm.nih.gov/search_articles`, read. 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

### [Get chemical facts by name or CAS number](https://fous.com/methods/pubchem.ncbi.nlm.nih.gov/get-chemical.md)

`pubchem.ncbi.nlm.nih.gov/get_chemical`, read. 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

### [Search diagnosis codes](https://fous.com/methods/clinicaltables.nlm.nih.gov/search-diagnosis-codes.md)

`clinicaltables.nlm.nih.gov/search_diagnosis_codes`, read. 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

### [Get chemical safety](https://fous.com/methods/pubchem.ncbi.nlm.nih.gov/get-chemical-safety.md)

`pubchem.ncbi.nlm.nih.gov/get_chemical_safety`, read. 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

### [Explain ICD-10-CM diagnosis code](https://fous.com/methods/clinicaltables.nlm.nih.gov/explain-diagnosis-code.md)

`clinicaltables.nlm.nih.gov/explain_diagnosis_code`, read. 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

### [Search grants](https://fous.com/methods/reporter.nih.gov/search-grants.md)

`reporter.nih.gov/search_grants`, read. 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

### [Get PubMed article](https://fous.com/methods/pubmed.ncbi.nlm.nih.gov/get-article.md)

`pubmed.ncbi.nlm.nih.gov/get_article`, read. 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
