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
https://api.scrapercompany.com/v1/pubmed/articleAuthenticate with your API key in the x-api-key header (see Authentication).
Run this request on your own API key from this page, with the values you type. Signed out? Sign in or get an API key.
Body
JSON object. Unknown fields are rejected with 422.
- pmidstring | nullpattern ^\d{1,9}$
PubMed id, e.g.
39879231: the number in a PubMed article URL orpmidfromPOST /v1/pubmed/search. - urlstring | nullmin length 12, max length 2000
A PubMed article link instead of
pmid:pubmed.ncbi.nlm.nih.gov/<pmid>/.
Example request
curl -X POST "https://api.scrapercompany.com/v1/pubmed/article" \
-H "x-api-key: $SCRAPERCOMPANY_API_KEY" \
-H "Content-Type: application/json" \
-d '{}'Response
200 — One PubMed record: labelled abstract, authors, journal, MeSH. Metered responses carry x-credits-charged and x-credits-remaining headers (see credit headers).
{
"search_parameters": {
"engine": "pubmed_article",
"pmid": "39879231"
},
"article": {
"pmid": "39879231",
"title": "Effects of cold-water immersion on health and wellbeing: A systematic review and meta-analysis.",
"abstract": "BACKGROUND: Cold-water immersion (CWI) has gained popularity as a health and wellbeing intervention among the general population.\n\nOBJECTIVE: This systematic review and meta-analysis aimed to evaluate the psychological, cognitive, and physiological effects of CWI in healthy adults.…",
"abstract_sections": [
{
"label": "BACKGROUND",
"text": "Cold-water immersion (CWI) has gained popularity as a health and wellbeing intervention among the general population."
}
],
"copyright": "Copyright: © 2025 Cain et al.…",
"authors": [
{
"name": "Tara Cain",
"last_name": "Cain",
"fore_name": "Tara",
"initials": "T",
"orcid": "0009-0005-3566-9972",
"affiliations": [
"Alliance for Research in Exercise Nutrition and Activity (ARENA), Allied Health and Human Performance, University of South Australia, Adelaide, Australia."
]
}
],
"journal": {
"title": "PloS one",
"iso_abbreviation": "PLoS One",
"issn": "1932-6203",
"issn_type": "Electronic",
"volume": "20",
"issue": "1",
"pub_date": "2025"
},
"publication_date": "2025-01-29",
"year": 2025,
"doi": "10.1371/journal.pone.0317615",
"pmcid": "PMC11778651",
"pii": "e0317615",
"publication_types": [
"Journal Article",
"Systematic Review"
],
"mesh_terms": [
{
"descriptor": "Humans",
"ui": "D006801",
"major_topic": false,
"qualifiers": []
}
],
"keywords": [],
"languages": [
"eng"
],
"publication_status": "epublish",
"history": {
"received": "2024-08-06",
"accepted": "2025-01-01",
"pubmed": "2025-01-29"
},
"reference_count": 50,
"conflict_of_interest": "The authors have declared that no competing interests exist.",
"link": "https://pubmed.ncbi.nlm.nih.gov/39879231/"
},
"meta": {
"source": "pubmed",
"elapsed_s": 0.31
}
}Errors
Errors return a JSON body with a detail field. Failed requests are not charged. See Errors for the full list and retry advice.
| Status | Meaning | Retry? |
|---|---|---|
401Unauthorized | Missing or invalid API key. {"detail":"missing or invalid API key"} | No, fix the request |
402Payment Required | Not enough credits for this request: the account's credits mode is {"detail":"insufficient credits: this request costs 5, 0 available. Credits renew 2026-11-01."} | No, fix the request |
404Not Found | The property, stay, job or record was not found. {"detail":"job not found"} | No, fix the request |
422Unprocessable Content | Request validation failed. {"detail":[{"loc":["body","name"],"msg":"Field required","type":"missing"}]} | No, fix the request |
429Too Many Requests | Too many requests: the key's requests-per-minute limit was exceeded, or (in {"detail":"rate limit 60/min exceeded"} | Yes, with backoff |
503Service Unavailable | Temporarily unavailable: a dependency of this endpoint is down, or the upstream source changed its contract. Retry later. {"detail":"database unavailable: OperationalError"} | Yes, with backoff |
Try it
Press Try it above to run this request on your own key, with the values you type (sign in first). For a no-code walkthrough, use the workspace’s guided Try it.
- Export your key:
export SCRAPERCOMPANY_API_KEY=sk_...(no key yet? start a free trial). - Copy the cURL example above and run it in a terminal.
Questions about this page?
Send the page link and your question, and the team will answer.