# PubMed article: `POST /v1/pubmed/article`

Cost: 2 credits (2 (an unknown PMID and failed requests are free)). Docs: https://scrapercompany.com/docs/reference/pubmed-article

One PubMed record by `pmid` or article `url`.

Carries everything `POST /v1/pubmed/search`
returns per article: labelled abstract sections and the joined
abstract, authors (name parts, ORCID, affiliations), journal (title,
ISO abbreviation, ISSN, volume, issue, publication date), `doi`,
`pmcid` and `pii`, publication types, MeSH descriptors with major-
topic flags and qualifiers, keywords, languages, the received /
accepted / published `history`, `reference_count` and any conflict-
of-interest statement. An unknown PMID is a 404 and is not charged.

This is the record the article page shows.

Request body (JSON):

- `pmid` (string | null; optional; pattern ^\d{1,9}$): PubMed id, e.g. `39879231`: the number in a PubMed article URL or `pmid` from `POST /v1/pubmed/search`.
- `url` (string | null; optional; min length 12, max length 2000): A PubMed article link instead of `pmid`: `pubmed.ncbi.nlm.nih.gov/<pmid>/`.

Base URL: `https://api.scrapercompany.com`. Auth: send your key in the `x-api-key` header. A failed request (4xx or 5xx) or an empty result costs 0 credits.

- [Full API reference as one Markdown file](https://scrapercompany.com/llms-full.txt)
- [OpenAPI spec](https://scrapercompany.com/openapi.json)
