# NIH API: Get PubMed article

> 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.

Unofficial. Not affiliated with or endorsed by NIH.

- Page: https://fous.com/methods/pubmed.ncbi.nlm.nih.gov/get-article
- Method: `pubmed.ncbi.nlm.nih.gov/get_article`, version 1
- Website: pubmed.ncbi.nlm.nih.gov
- 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
- Effect: read (it gets data and changes nothing)
- Sign-in: none needed
- Cost: 1 credit per completed run (1¢ with pay as you go); failed runs are free
- Verified: Nov 2, 2026

## Inputs

| Field | Type | Required | In the run below | Description |
|---|---|---|---|---|
| `article` | string | yes | `"https://pubmed.ncbi.nlm.nih.gov/32986097/"` | Article title, PubMed link, or PubMed number. Example: Effects of intermittent fasting on health, aging, and disease |

## Output

From a run on Oct 31, 2026, shortened. Its input:

```json
{
  "article": "https://pubmed.ncbi.nlm.nih.gov/32986097/"
}
```

Its output:

```json
{
  "issue": "11",
  "pages": "1491-1499",
  "title": "Effects of Time-Restricted Eating on Weight Loss and Other Metabolic Parameters in Women and Men With Overweight and Obesity: The TREAT Randomized Clinical Trial.",
  "volume": "180",
  "authors": [
    {
      "name": "Dylan A Lowe",
      "affiliations": [
        "Cardiovascular Research Institute, University of California, San Francisco, San Francisco."
      ]
    },
    {
      "name": "Nancy Wu",
      "affiliations": [
        "Cardiology Division, University of California, San Francisco, San Francisco.",
        "Center for Vulnerable Populations, University of California, San Francisco, San Francisco."
      ]
    },
    {
      "name": "Linnea Rohdin-Bibby",
      "affiliations": [
        "Cardiology Division, University of California, San Francisco, San Francisco."
      ]
    }
  ],
  "journal": "JAMA internal medicine",
  "abstract": "IMPORTANCE: The efficacy and safety of time-restricted eating have not been explored in large randomized clinical trials.\n\nOBJECTIVE: To determine the effect of 16:8-hour time-restricted eating on weight loss and metabolic risk markers.\n\nINTERVENTIONS: Participants were randomized such that the cons…",
  "doi_link": "https://doi.org/10.1001/jamainternmed.2020.4153",
  "keywords": [],
  "pubmed_id": "32986097",
  "mesh_terms": [
    "Adult",
    "Blood Glucose / metabolism",
    "Body Mass Index"
  ],
  "pubmed_link": "https://pubmed.ncbi.nlm.nih.gov/32986097/",
  "publication_date": "2020-11-01",
  "publication_types": [
    "Journal Article",
    "Randomized Controlled Trial",
    "Research Support, N.I.H., Extramural"
  ],
  "free_full_text_link": "https://pmc.ncbi.nlm.nih.gov/articles/PMC7522780/",
  "conflict_of_interest": "Conflict of Interest Disclosures: Dr Lowe reported personal fees from Keyto outside the submitted work. Dr Vittinghoff reported personal fees from UCSF during the conduct of the study. Dr Heymsfield reported personal fees from Medifast Medical Advisory Board and personal fees from Tanita Medical Adv…"
}
```

## Run it

From code, with a Fous API key in `FOUS_API_KEY`; the answer's `data` holds the output:

```bash
curl https://api.fous.com/v1/runs \
  -H "Authorization: Bearer $FOUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"method":"pubmed.ncbi.nlm.nih.gov/get_article","input":{"article":"https://pubmed.ncbi.nlm.nih.gov/32986097/"}}'
```

From an AI agent connected to the Fous MCP server: its `run` with the same method and input. To connect one, give it `set up https://fous.com/SKILL.md`.

## Ask your agent

- Pull up the abstract and MeSH terms for PMID 31881139.
- I need the author affiliations and DOI for the paper titled "Global burden of 87 risk factors in 204 countries and territories, 1990–2019".
- Can you fetch the PubMed details for https://pubmed.ncbi.nlm.nih.gov/32109013/ — journal, volume, pages, and whether there's a free full text link?
- Look up the NIH PubMed record for "Safety and Efficacy of the BNT162b2 mRNA Covid-19 Vaccine" and tell me the conflict of interest statement and publication types.
- Get me the abstract and keywords from PubMed for the article "Gut microbiota in health and disease".

## Input schema

```json
{
  "type": "object",
  "required": [
    "article"
  ],
  "properties": {
    "article": {
      "type": "string",
      "description": "Article title, PubMed link, or PubMed number. Example: Effects of intermittent fasting on health, aging, and disease"
    }
  }
}
```

## Output schema

```json
{
  "type": "object",
  "required": [
    "title",
    "authors",
    "journal",
    "volume",
    "issue",
    "pages",
    "publication_date",
    "abstract",
    "keywords",
    "mesh_terms",
    "publication_types",
    "conflict_of_interest",
    "doi_link",
    "free_full_text_link",
    "pubmed_link",
    "pubmed_id"
  ],
  "properties": {
    "issue": {
      "type": [
        "string",
        "null"
      ]
    },
    "pages": {
      "type": [
        "string",
        "null"
      ]
    },
    "title": {
      "type": "string"
    },
    "volume": {
      "type": [
        "string",
        "null"
      ]
    },
    "authors": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "name",
          "affiliations"
        ],
        "properties": {
          "name": {
            "type": "string"
          },
          "affiliations": {
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        },
        "additionalProperties": false
      }
    },
    "journal": {
      "type": [
        "string",
        "null"
      ]
    },
    "abstract": {
      "type": [
        "string",
        "null"
      ]
    },
    "doi_link": {
      "type": [
        "string",
        "null"
      ]
    },
    "keywords": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "pubmed_id": {
      "type": "string",
      "x-fous-developer": true
    },
    "mesh_terms": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "pubmed_link": {
      "type": "string"
    },
    "publication_date": {
      "type": [
        "string",
        "null"
      ]
    },
    "publication_types": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "free_full_text_link": {
      "type": [
        "string",
        "null"
      ]
    },
    "conflict_of_interest": {
      "type": [
        "string",
        "null"
      ]
    }
  },
  "additionalProperties": false
}
```

## See more

- [NIH API: Search PubMed articles](https://fous.com/methods/pubmed.ncbi.nlm.nih.gov/search-articles.md): Finds PubMed medical and life-science articles by topic, with publication details and free full-text links when PubMed confirms them.
- [NIH API: Search grants](https://fous.com/methods/reporter.nih.gov/search-grants.md): Finds NIH research grants by topic, organisation, or researcher name. Searches the last five fiscal years by default.
- [NIH API: Get chemical facts by name or CAS number](https://fous.com/methods/pubchem.ncbi.nlm.nih.gov/get-chemical.md): 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.
- [NIH API: Search diagnosis codes](https://fous.com/methods/clinicaltables.nlm.nih.gov/search-diagnosis-codes.md): 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.
- [NIH API: Get chemical safety](https://fous.com/methods/pubchem.ncbi.nlm.nih.gov/get-chemical-safety.md): 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.
- [NIH API: Explain ICD-10-CM diagnosis code](https://fous.com/methods/clinicaltables.nlm.nih.gov/explain-diagnosis-code.md): 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.
- [Semantic Scholar API: Get paper details](https://fous.com/methods/semanticscholar.org/get-paper.md): Finds a paper on Semantic Scholar by title, DOI or Semantic Scholar link and returns its abstract, one-sentence summary, authors, publication details, citation counts and a free PDF link when there is one.
- [Espacenet API: Get patent family](https://fous.com/methods/espacenet.com/get-patent-family.md): Finds a patent family on Espacenet by publication number or invention title and returns its publications, applicants, priority date and reported legal events. Legal-event coverage varies by country; a grant alone does not establish that a patent is currently in force.
- [All NIH methods](https://fous.com/methods/nih.gov.md)
