PubMed MeSH & Citation Metadata Extractor avatar

PubMed MeSH & Citation Metadata Extractor

Pricing

from $0.49 / 1,000 results

Go to Apify Store
PubMed MeSH & Citation Metadata Extractor

PubMed MeSH & Citation Metadata Extractor

Pull structured PubMed article records by keyword, PMID, author, journal, or MeSH term, with abstracts, grant funding, conflict-of-interest statements, and a ready-made citation string. No login or proxy needed.

Pricing

from $0.49 / 1,000 results

Rating

0.0

(0)

Developer

Dataspryva

Dataspryva

Maintained by Community

Actor stats

0

Bookmarked

1

Total users

0

Monthly active users

an hour ago

Last modified

Features

Limited permissions

Share

Read PubMed without fighting the website. This actor calls NCBI's public E-utilities API and turns a search, a list of PMIDs, or a set of filters into structured article records with abstracts, MeSH indexing, chemicals, funding, citation links and a ready-to-use reference string.

No login, cookie, proxy or API key is required. The optional NCBI key only raises the request ceiling for very large runs.

What it can do

  • Search one or many PubMed queries, including full PubMed syntax: cancer AND immunotherapy[MeSH], Smith J[Author], 2024[dp].
  • Paste PubMed search URLs or article URLs. Search URLs contribute their term= query; article URLs become direct PMID lookups.
  • Fetch specific PMIDs without searching. Accepts 38123456, PMID: 38123456 or a PubMed article URL.
  • Run a filter-only search, for example a journal, author, MeSH term, affiliation or publication-date window with no keyword.
  • Narrow by publication type, language, species (human or animal), free full text, abstract availability and retraction status.
  • Sort by best match, most recent, publication date, first author or journal.
  • Enrich every record with structured abstract sections, MeSH headings and major topics, chemicals, grants, author ORCIDs and affiliations, clinical-trial IDs, publication history, linked notices and optional reference lists.
  • Add a cited-by count and a compact AMA-style citation string.

Input

FieldTypeDefaultWhat it does
searchTermsarray–PubMed queries. Each term is searched separately and merged by PMID.
searchUrlsarray[]PubMed search or article URLs.
pmidListarray[]Direct PMID lookups, with or without a search.
maxItemsPerTerminteger25Cap per query, 1–9,999. The dataset is the sum across terms.
sortByselectrelevanceBest match, most recent, publication date, first author or journal.
dateFrom / dateTotext–Publication dates as YYYY, YYYY/MM or YYYY/MM/DD.
articleTypeselectany46 PubMed publication types, from Review and RCT to Preprint and Retracted Publication.
freeFullTextOnlybooleanfalseKeep only records with a free full-text version.
hasAbstractOnlybooleanfalseDrop records without an abstract.
languageselectany33 common PubMed publication languages.
speciesselectanyHuman studies, animal studies or any.
excludeRetractedbooleanfalseDrop retracted publications, retraction notices and expressions of concern.
journalFiltertext–Journal name or NLM abbreviation.
authorFiltertext–Author in PubMed format, e.g. Smith J.
meshFilterarray[]MeSH descriptors; all listed terms must match.
affiliationFiltertext–Affiliation substring, e.g. Harvard.
includeReferencesbooleanfalseAdd each article's cited references. Records get much larger, so this is off by default.
includeCitedByCountbooleanfalseAdd the number of PubMed articles citing each record.
apiKeysecret–Optional free NCBI key; raises the request rate from 3/s to 10/s.

Every filter is optional. Fill searchTerms/searchUrls/pmidList, one or more filters, or both. An input with no criteria stops with a clear status message.

Examples

Keyword search with a MeSH filter:

{
"searchTerms": ["lung cancer screening"],
"meshFilter": ["Early Detection of Cancer"],
"articleType": "systematic_review",
"dateFrom": "2023",
"dateTo": "2025/12/31",
"maxItemsPerTerm": 200
}

Journal-only sweep with reference lists:

{
"journalFilter": "Nature",
"dateFrom": "2024/01",
"dateTo": "2024/12",
"maxItemsPerTerm": 100,
"sortBy": "publication_date",
"includeReferences": true
}

Direct PMID lookup with citation counts:

{
"pmidList": ["38123456", "33301246"],
"includeCitedByCount": true
}

Filter-only search for human RCTs:

{
"articleType": "randomized_controlled_trial",
"species": "humans",
"dateFrom": "2024",
"maxItemsPerTerm": 250
}

Output

One row per article. Empty fields are omitted at every depth — no nulls, empty strings, empty lists or placeholder values.

Identity and links

  • pmid, doi, doiUrl, pmcId, pmcUrl, articleUrl, shareLinks

Bibliographic metadata

  • title, authors, authorsAbbreviated, authorsDetails (first name, last name, initials, ORCID, affiliations), authorCount, firstAuthor, lastAuthor
  • journal, journalAbbrev, issn, eissn, journalCountry, nlmUniqueId
  • publicationDate, epubDate, articleDate, volume, issue, pages, elocationId
  • language, articleTypes, recordStatus, publicationStatus, vernacularTitle, bookTitle, publisher, publisherLocation
  • publicationHistory with received, accepted, revised, pubmedEntry, medline, entrez, pmcRelease, created, completed, lastRevised dates when PubMed has them
  • copyright

Content and indexing

  • abstract, abstractSections (label + text per section), otherAbstracts (non-English abstracts)
  • meshTerms, meshMajor, meshHeadings (term, major-topic flag, qualifiers), keywords
  • chemicals (name and registry number), clinicalTrialIds, dataBanks
  • authorAffiliations, conflictOfInterest, grants (grant ID, agency, acronym, country)
  • referenceCount, references (optional; citation text, PMID and DOI)
  • citedByCount (optional)
  • publicationNotices (comments, errata, retractions and updates linked by PubMed)

Assessment helpers

  • tags — compact labels such as Review, Meta-Analysis, Clinical Trial, Preprint, Retracted or Free article
  • integrityStatus — retracted, retraction-notice, expression-of-concern or erratum when applicable
  • isRetracted — present only for retracted publications
  • humanStudy — true/false from MeSH when the record has a human or animal signal
  • citation — AMA-style reference string built from the record

Search context

  • inputQuery, resultRank, queryTotalMatches, scrapedAt

How it works

The actor uses four public NCBI endpoints: esearch for PMIDs and the total match count, esummary for bibliographic metadata, efetch for abstracts and indexing details, and elink for optional cited-by counts. Requests are paced at NCBI's published limits (3/s without a key, 10/s with one), retried on transient 429/5xx responses, and processed in batches so even 9,999-record runs stream instead of loading everything into memory.

The default test input asks for one article, so the daily check stays cheap.

Reliability and limits

  • 9,999 records per query. PubMed's search API returns at most 9,999 records for one query. Split a larger topic into date windows or narrower filters and concatenate the datasets. The actor reports the true queryTotalMatches even when it returns the 9,999-record window.
  • MeSH lags publication. New articles can spend months without MeSH terms; meshTerms and humanStudy appear only after indexing. Filtering by MeSH can therefore miss very recent papers.
  • Abstracts, DOIs, grants and reference lists are not universal. Letters, editorials, older records and ahead-of-print papers often lack them. The field is omitted rather than invented.
  • Reference lists are optional. Turn on includeReferences when you need the citation graph; it materially increases record size and run time.
  • The public website is not scraped. PubMed serves a cookie wall to plain HTTP clients, while E-utilities is the API behind the same index. This actor uses the API, so it works without cookies or a browser.
  • No full text. PubMed Central full-text articles are not downloaded. pmcId/pmcUrl point to the free full-text version when one exists.

FAQ

Do I need an NCBI API key? No. The keyless rate is enough for normal runs. A free key helps when you routinely request thousands of records.

Why is a field missing from one record but present in another? PubMed itself does not publish every field for every article. The actor omits what the source does not have and never fills a placeholder.

Can I use PubMed search tags? Yes. searchTerms is passed through to PubMed, so [tiab], [au], [mh], [pt], [dp], Boolean operators and nested parentheses all work.

What happens when nothing matches? The run finishes with an empty dataset and a status message saying zero articles matched. Invalid input, such as no criteria at all, fails with an explanatory message.

Is this an official PubMed or NLM product? No. It is an independent third-party actor that reads NCBI's public E-utilities API.