PubMed Scraper avatar

PubMed Scraper

Pricing

from $0.80 / 1,000 results

Go to Apify Store
PubMed Scraper

PubMed Scraper

Search 35M+ PubMed research papers and medical articles. Extract abstracts, authors, journals, MeSH terms, DOIs, and grants for literature reviews, systematic reviews, pharma research, and AI/RAG pipelines. No API key required.

Pricing

from $0.80 / 1,000 results

Rating

0.0

(0)

Developer

mick_

mick_

Maintained by Community

Actor stats

0

Bookmarked

20

Total users

9

Monthly active users

7 days ago

Last modified

Share

PubMed Scraper logo

PubMed Scraper

Search 35 million biomedical research papers and medical articles from PubMed/MEDLINE. Batch queries, MeSH filtering, full abstracts, author affiliations, and structured metadata, ready for literature reviews, systematic reviews, AI and RAG pipelines, and drug research.

Extract structured article data from PubMed via the NCBI E-utilities API. No API key required. Clean JSON output with consistent fields, ready for downstream analysis, RAG pipelines, or LLM tool use.


πŸš€ What's New (v1.1.0)

Run multiple search queries in a single job. Pass queriesList: ["cancer immunotherapy", "CAR-T therapy", "checkpoint inhibitors"] and get merged, deduplicated results across all queries. One paid run replaces 10+ separate searches, built for systematic reviews and broad topic mapping.

Emoji Input Labels

All input fields now have emoji labels for faster navigation in the Apify console.


🎯 Use Cases

πŸ€– AI Agents & LLM Pipelines

PubMed is the gold standard for biomedical knowledge. Wire this actor into your AI pipeline as a callable tool:

  • RAG knowledge bases: Index 10,000+ abstracts for semantic search over medical literature
  • MCP tool use: AI agents call this actor in real time to look up evidence, find citations, or answer clinical questions
  • Literature-grounded generation: Pull structured abstracts as context before generating summaries, reports, or clinical content
  • Evidence retrieval: Agent receives a medical question β†’ queries PubMed β†’ returns cited sources

One run can return thousands of structured, citable records ready for embedding. The consistent schema (pmid, abstract, mesh_terms, doi_url) means no cleaning required.

Example (AI agent topic scan):

{
"mode": "search_articles",
"queriesList": ["GLP-1 receptor agonist", "semaglutide weight loss", "tirzepatide clinical trial"],
"publicationType": "Clinical Trial",
"dateFrom": "2022",
"maxResults": 500
}

πŸ’Š Pharma & Biotech Research

Track the scientific landscape around drug targets, mechanisms, and therapeutic areas, without manual PubMed sessions:

  • Competitive intelligence: Monitor competitor publications by author, institution, or research area
  • Target validation: Pull all publications on a gene or protein target to assess research depth
  • Clinical trial landscape: Filter by Clinical Trial or RCT publication type to see what's been run
  • Drug repurposing: Cross-reference MeSH terms across therapeutic areas to find unexplored connections
  • Pipeline monitoring: Track publications on specific drugs or mechanisms as they emerge

Example (drug target landscape):

{
"mode": "search_articles",
"meshTerm": "PCSK9",
"publicationType": "Review",
"sort": "pub_date",
"maxResults": 200
}

πŸ“‘ Systematic Reviews & Meta-Analyses

Systematic reviews require comprehensive literature searches across multiple query formulations. This is where batch search pays off:

  • Multi-query search: Cover all synonyms and related terms in one job, no manual re-running
  • Deduplication: Results automatically deduplicated by PMID, no overlap in your dataset
  • Date-bounded searches: Filter to a specific review window with dateFrom/dateTo
  • Study design filtering: Filter to RCTs, meta-analyses, or systematic reviews only
  • Export ready: Download as CSV or Excel directly from the Apify dataset UI

Example (systematic review search):

{
"mode": "search_articles",
"queriesList": [
"cognitive behavioral therapy depression",
"CBT major depressive disorder",
"psychotherapy depressive symptoms randomized"
],
"publicationType": "Randomized Controlled Trial",
"dateFrom": "2015",
"dateTo": "2024",
"maxResults": 1000
}

πŸ“– Usage Examples

Example 1: Batch Query Search (Systematic Review)

{
"mode": "search_articles",
"queriesList": ["cancer immunotherapy", "CAR-T cell therapy", "PD-1 inhibitor"],
"publicationType": "Clinical Trial",
"maxResults": 500
}
{
"mode": "search_articles",
"query": "CRISPR gene editing",
"publicationType": "Review",
"maxResults": 100
}
{
"mode": "search_articles",
"meshTerm": "Alzheimer Disease",
"publicationType": "Meta-Analysis",
"dateFrom": "2020",
"maxResults": 200
}
{
"mode": "search_by_author",
"author": "Zhang F",
"query": "CRISPR",
"maxResults": 50
}
{
"mode": "search_by_journal",
"journal": "Nature Medicine",
"query": "immunotherapy",
"sort": "pub_date",
"maxResults": 100
}

Example 6: Single Article Lookup

{
"mode": "get_article",
"pmid": "33243215"
}
{
"mode": "search_articles",
"query": "COVID-19 long COVID",
"dateFrom": "2023/01/01",
"dateTo": "2024/12/31",
"sort": "pub_date",
"maxResults": 300
}

πŸ‘₯ Who Uses This

πŸ”¬ Systematic Reviewers & Meta-Analysts

Running a systematic review means covering all synonyms and related terms, one query isn't enough. Batch search handles this in a single run.

  • Cover all query variants (queriesList) and get a deduplicated PMID set across all of them
  • Bound by date range to match your review window
  • Filter to the exact study design you need (RCT, Meta-Analysis, Systematic Review)
  • Download as CSV/Excel directly from the Apify dataset UI, no cleaning needed
{
"mode": "search_articles",
"queriesList": [
"cognitive behavioral therapy depression",
"CBT major depressive disorder",
"psychotherapy depressive symptoms"
],
"publicationType": "Randomized Controlled Trial",
"dateFrom": "2015",
"dateTo": "2024",
"maxResults": 1000
}

πŸ’Š Pharma & Biotech Teams

Track the publication landscape around a drug target, mechanism, or therapeutic area without manual PubMed sessions.

  • Map all publications on a gene or protein target to assess research depth before investing in it
  • Monitor competitor publications by author, institution, or research area over time
  • Filter to Review or Clinical Trial types to see what stage the evidence is at
  • Track emerging publications with sort: pub_date + date range
{
"mode": "search_articles",
"meshTerm": "PCSK9",
"publicationType": "Clinical Trial",
"sort": "pub_date",
"dateFrom": "2022",
"maxResults": 500
}

πŸ§ͺ Clinical Researchers

Find evidence for a specific intervention, track a researcher's publication record, or monitor a journal's output.

  • Pull all papers by a specific author to build their publication profile
  • Search a journal combined with a keyword to scope relevant output
  • Use MeSH terms for precise clinical concept matching (avoids terminology variation)
  • Combine author + query to track a researcher's work on a specific topic
{
"mode": "search_by_author",
"author": "Bhatt DL",
"query": "cardiovascular outcomes trial",
"maxResults": 100
}

πŸ€– AI/LLM Engineers

PubMed is the gold-standard source for biomedical knowledge. Wire this into your pipeline as a callable data source.

  • Index thousands of abstracts into a vector store for semantic retrieval over medical literature
  • Use via MCP so AI agents can look up live evidence during a conversation
  • Pull literature as structured context before generating summaries, clinical notes, or reports
  • The consistent output schema (pmid, abstract, mesh_terms, doi_url) means no field normalization needed downstream
{
"mode": "search_articles",
"queriesList": ["GLP-1 receptor agonist", "semaglutide weight loss", "tirzepatide efficacy"],
"publicationType": "Clinical Trial",
"dateFrom": "2020",
"maxResults": 500
}

πŸ“ Medical Writers & Journalists

Find citations fast, scope coverage on a topic, or pull an author's full bibliography without spending hours on PubMed.

  • Single article lookup by PMID to get structured metadata for citation formatting
  • Author search to build a bibliography or verify publication history
  • Topic search with date range to understand how coverage of a story has evolved
  • pmc_url field points directly to free full text when available
{
"mode": "get_article",
"pmid": "36352213"
}

Other actors from the same portfolio that pair well with PubMed Scraper:

ActorWhat It Does
NPI Provider Contact FinderFinds doctor emails, practice websites, and LinkedIn profiles from the NPPES NPI Registry
FDA Drug Labels ScraperPulls structured drug label data from FDA DailyMed, pair with PubMed for full drug research coverage
Academic Paper ScraperResearch papers from ArXiv, Semantic Scholar, and CrossRef, broader coverage beyond biomedical

πŸ” Input Parameters

ParameterTypeDefaultDescription
modestringsearch_articlessearch_articles, get_article, search_by_author, search_by_journal
querystring""Single keyword search. Ignored when queriesList is provided
queriesListarray[]Batch search multiple queries, results merged and deduplicated. meshTerm, author, journal, publicationType and the date range apply to every query
pmidstring""PubMed ID for get_article mode
authorstring""Author name (e.g. "Smith J")
journalstring""Journal name (e.g. "Nature", "Cell")
meshTermstring""MeSH subject heading (e.g. "Neoplasms")
publicationTypestring""Filter by study design: Clinical Trial, Review, Meta-Analysis, Randomized Controlled Trial, Systematic Review
dateFromstring""Publication start date: YYYY, YYYY/MM, or YYYY/MM/DD
dateTostring""Publication end date: YYYY, YYYY/MM, or YYYY/MM/DD
sortstringrelevancerelevance, pub_date, Author, JournalName
maxResultsinteger100Max articles to return (1 to 10,000). Free Apify plan: 10 per run
requestIntervalSecsnumber0.34Seconds between requests to NCBI (0.2 to 5)
timeoutSecsinteger30Timeout for each HTTP request (5 to 120)
maxRetriesinteger5Retries on failed or rate-limited requests (0 to 10)

πŸ“Š Output Format

Each article is pushed as a structured JSON record. Download as JSON, CSV, or Excel from the Apify dataset UI.

{
"schema_version": "1.0",
"type": "article",
"pmid": "38786024",
"doi": "10.3390/cells13100800",
"pmc_id": "PMC11119143",
"title": "CRISPR-Based Gene Therapies: From Preclinical to Clinical Treatments.",
"abstract": "In recent years, clustered regularly interspaced short palindromic repeats (CRISPR)...",
"authors": [
{
"last_name": "Laurent",
"fore_name": "Marine",
"initials": "M",
"affiliation": "INTEGRARE, UMR_S951, Genethon, Inserm, Univ Evry, UniversitΓ© Paris-Saclay, 91190 Evry, France."
}
],
"journal": "Cells",
"journal_abbreviation": "Cells",
"issn": "2073-4409",
"volume": "13",
"issue": "10",
"pages": "",
"publication_date": "2024 May 08",
"pub_year": "2024",
"keywords": ["CRISPR/Cas9", "Duchenne muscular dystrophy", "gene editing"],
"mesh_terms": ["Humans", "Genetic Therapy", "CRISPR-Cas Systems", "Gene Editing"],
"publication_types": ["Journal Article", "Review"],
"language": "eng",
"country": "Switzerland",
"grant_list": [],
"reference_count": 207,
"pubmed_url": "https://pubmed.ncbi.nlm.nih.gov/38786024/",
"doi_url": "https://doi.org/10.3390/cells13100800",
"pmc_url": "https://www.ncbi.nlm.nih.gov/pmc/articles/PMC11119143/"
}

Output Fields

FieldDescription
pmidPubMed ID
doi / pmc_idDOI and PubMed Central ID
titleArticle title
abstractFull abstract text
authorsList with last name, first name, initials, affiliation
journal / journal_abbreviation / issnFull and abbreviated journal name, and journal ISSN
volume / issue / pagesPublication details
publication_date / pub_yearDate and year
keywordsAuthor-provided keywords
mesh_termsMeSH subject headings
publication_typesArticle types (Review, Clinical Trial, etc.)
language / countryArticle language (ISO 639-2 code) and the journal's country
grant_listFunding sources
reference_countNumber of references
pubmed_url / doi_url / pmc_urlDirect links to PubMed, DOI, and free full text

πŸ€– MCP Integration

Wire this actor as a tool in your AI agent pipeline via the Apify MCP server. No custom server needed.

  • Endpoint: https://mcp.apify.com?tools=labrat011/pubmed-scraper
  • Auth: Authorization: Bearer <APIFY_TOKEN>
  • Works with: Claude Desktop, Cursor, VS Code, Windsurf, Warp, Gemini CLI

MCP config:

{
"mcpServers": {
"pubmed-scraper": {
"url": "https://mcp.apify.com?tools=labrat011/pubmed-scraper",
"headers": {
"Authorization": "Bearer <APIFY_TOKEN>"
}
}
}
}

Ask your AI: "Find all clinical trials on semaglutide published in the last 2 years and summarize the findings"


πŸ’° Pricing

Pay-per-result pricing: $0.80 per 1,000 articles, plus a small one-time start fee of $0.005 per run. You only pay for the articles you scrape.

TierLimitUse case
Free Apify plan10 results/runTesting and integration verification
Paid Apify planUp to 10,000 results/runSystematic reviews, RAG pipelines, bulk research

❓ FAQ

Can I get full text?

This actor returns abstracts and metadata. Check the pmc_url field, if present, the full text is freely available on PubMed Central. Otherwise use doi_url to reach the publisher.

What are MeSH terms?

Medical Subject Headings (MeSH) are controlled vocabulary terms assigned by NLM indexers. They help find articles on specific topics even when authors use different terminology. Use the MeSH Browser to find the right term.

How current is the data?

PubMed is updated daily. This actor queries NCBI directly, so results reflect the current state of the database.

Is there a rate limit?

NCBI allows 3 requests/second without an API key. Rate limiting is built in, you don't need to configure anything.

What's the difference between query and queriesList?

query runs a single search. queriesList runs multiple searches in one job and merges the results, deduplicating by PMID. Use queriesList for systematic reviews where you need to cover multiple synonyms or related terms.


πŸ“š Resources


Built for researchers, AI engineers, and data scientists who need biomedical literature at scale.