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.
Open in Apify Store$0.99 / 1K on Free
Short answer
PubMed MeSH & Citation Metadata Extractor is an Apify Store Actor that returns 8 published output fields, including pmid, title, authors, journal. It lists $0.99 per 1,000 results on the Free plan (pay per event), $0.49 on the Business plan. It takes 15 input settings, none required. Last updated Dec 1, 2026.
From the public Store listing and published build schema, synced 2026-12-01.What it returns
8 fields from the published dataset schema. Export as JSON, CSV or Excel, or read the dataset through the Apify API.
pmidtitleauthorsjournalpublicationDatedoiarticleUrltags
Input
| Setting | Type | Required | Default | What it does |
|---|---|---|---|---|
| searchTerms | array | No | – | One or more PubMed search queries. Each term is searched independently; results are merged. Supports PubMed query syntax (e.g. `cancer AND immunotherapy[MeSH]`). |
| searchUrls | array | No | [] | Paste full PubMed search URLs (e.g. `https://pubmed.ncbi.nlm.nih.gov/?term=cancer&filter=simsearch1.fha`). The actor extracts the query and merges with `searchTerms`. |
| pmidList | array | No | [] | Direct-lookup mode: list of PubMed IDs to fetch without searching (e.g. `["38123456", "36438426"]`). Bypasses esearch — calls esummary + efetch directly. Combine with or use instead of `searchTerms`. |
| maxItemsPerTerm | integer | No | 25 | Cap on articles returned per search term. Total dataset size = sum across all terms. |
| dateFrom | string | No | – | Earliest publication date. PubMed format: `YYYY/MM/DD` (e.g. `2024/01/01`). Optional. |
| dateTo | string | No | – | Latest publication date. PubMed format: `YYYY/MM/DD`. Optional. |
| articleType | string | No | any | Restrict to a specific article type. `any` keeps everything. |
| freeFullTextOnly | boolean | No | false | If true, restrict to articles with free full text available (PMC). |
| language | string | No | any | Restrict by article language. |
| journalFilter | string | No | – | Restrict to a specific journal (exact name, e.g. `Nature` or `New England Journal of Medicine`). Optional. |
Show the other 5 settings
| Setting | Type | Required | Default | What it does |
|---|---|---|---|---|
| authorFilter | string | No | – | Restrict to articles by a specific author (PubMed author format, e.g. `Smith J` or `Smith JR`). Optional. |
| meshFilter | array | No | [] | Restrict to articles tagged with these MeSH (Medical Subject Headings) terms. All terms are AND-ed (e.g. `["Lung Neoplasms", "Machine Learning"]` returns articles tagged with both). |
| affiliationFilter | string | No | – | Restrict to articles where any author's affiliation contains this substring (e.g. `Harvard`, `Mayo Clinic`, `Beijing`). Optional. |
| includeCitedByCount | boolean | No | false | Add a `citedByCount` field via NCBI elink (count of PubMed articles citing each result). Adds 1 elink call per page of PMIDs. Default off — turn on for citation-network analysis. |
| apiKey | string | No | – | Free key from https://www.ncbi.nlm.nih.gov/account/ — raises rate limit from 3 req/s to 10 req/s. Useful for large bulk runs. |
Example input
Built from the input form's published example values and defaults.
{
"searchTerms": [
"machine learning oncology"
],
"searchUrls": [],
"pmidList": [],
"maxItemsPerTerm": 25,
"articleType": "any",
"freeFullTextOnly": false,
"language": "any",
"meshFilter": [],
"includeCitedByCount": false
} Run it from code or an AI agent
The same run through the Apify API, with the example input. You need an Apify API token; the run is billed to your account at the Store price.
Python
from apify_client import ApifyClient
client = ApifyClient("<YOUR_APIFY_TOKEN>")
run_input = {
"searchTerms": [
"machine learning oncology"
],
"searchUrls": [],
"pmidList": [],
"maxItemsPerTerm": 25,
"articleType": "any",
"freeFullTextOnly": False,
"language": "any",
"meshFilter": [],
"includeCitedByCount": False
}
run = client.actor("dataspryva/pubmed-mesh-and-citation-metadata-extractor").call(run_input=run_input)
if run is None:
raise RuntimeError("The Actor run was not found.")
for item in client.dataset(run.default_dataset_id).iterate_items():
print(item) pip install apify-client
JavaScript
import { ApifyClient } from "apify-client";
const client = new ApifyClient({ token: "<YOUR_APIFY_TOKEN>" });
const input = {
"searchTerms": [
"machine learning oncology"
],
"searchUrls": [],
"pmidList": [],
"maxItemsPerTerm": 25,
"articleType": "any",
"freeFullTextOnly": false,
"language": "any",
"meshFilter": [],
"includeCitedByCount": false
};
const run = await client.actor("dataspryva/pubmed-mesh-and-citation-metadata-extractor").call(input);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(items); npm install apify-client
cURL
curl -X POST "https://api.apify.com/v2/actors/dataspryva~pubmed-mesh-and-citation-metadata-extractor/run-sync-get-dataset-items" -H "Authorization: Bearer $APIFY_TOKEN" -H "Content-Type: application/json" -d '{"searchTerms":["machine learning oncology"],"searchUrls":[],"pmidList":[],"maxItemsPerTerm":25,"articleType":"any","freeFullTextOnly":false,"language":"any","meshFilter":[],"includeCitedByCount":false}' Waits for the run and returns the dataset items (runs over 300 seconds return HTTP 408; start an async run instead).
MCP (AI agents)
{
"mcpServers": {
"apify": {
"url": "https://mcp.apify.com?tools=dataspryva/pubmed-mesh-and-citation-metadata-extractor",
"headers": {
"Authorization": "Bearer <YOUR_APIFY_TOKEN>"
}
}
}
} Adds this Actor as a tool in an MCP client that takes a remote server URL (Cursor, VS Code, Claude Code) through Apify's hosted MCP server. OAuth sign-in also works without the header. Clients that only start local servers can wrap the URL with npx mcp-remote.
What a run costs
The result rate falls on higher Apify plans. Each figure is the published per-result rate times the number of results.
| Apify plan | Per 1,000 | 10,000 results | 100,000 results |
|---|---|---|---|
| Free plan | $0.99 | $9.90 | $99 |
| Starter plan | $0.82 | $8.20 | $82 |
| Scale plan | $0.66 | $6.60 | $66 |
| Business plan | $0.49 | $4.90 | $49 |
- Every run also has a start event, charged per GB of memory (minimum one): $0.10 on Free, $0.03 on Business. At its default memory of 4 GB a run starts at $0.40 on Free. Fewer, larger runs keep this small.
- The Free plan includes $5 of monthly usage (Apify pricing, checked 2026-11-11); at the Free rate that covers at most about 5,050 results, less start events and platform usage.
- Worked example: 10,000 results in one run on the Free plan cost $10.30 ($9.90 for results + $0.40 start), plus Apify platform usage (compute), billed separately by Apify.
- Pay per event. Platform usage (compute) is billed by Apify on top of the event prices. Compare other tools in the cost estimator.
What people use it for
- Build research corpora
- Collect citation metadata
Similar Actors
Crossref DOI Metadata & Citation Count Search
Search Crossref for scholarly works by keyword, DOI, publisher, journal ISSN or funder, with authors, citation counts, references and full…
Medium Article Discovery & Metadata Extractor
Find Medium articles by tag, author, publication, keyword search or direct URL, returning title, author, tags, preview text, reading time, publish…
Any News Site Article Extractor
Point this actor at a news website's homepage and get back structured articles: title, authors, publish date, full body text, top image, keywords…
Decrypt Crypto News Finder by Category & Keyword
Search Decrypt's crypto, Web3, and AI news by keyword or category, or look up specific articles, for full article text, authors, tags, mentioned…
Google News Keyword & Full-Text Article Scraper
Search Google News by keyword with real resolved article links, headlines, sources, and dates, plus optional full article text and image…
Google Scholar Paper & Citation Search Scraper
Search Google Scholar by keyword and get structured records for papers and citations, with author, venue, year, citation counts, and links to PDFs…
Questions people ask
How much does PubMed MeSH & Citation Metadata Extractor cost?
The published result rate depends on your Apify plan: $0.99 per 1,000 on Free, $0.82 per 1,000 on Starter, $0.66 per 1,000 on Scale, $0.49 per 1,000 on Business. So 10,000 results cost about $9.90 on the Free plan and $4.90 on Business, plus a start fee of $0.10 per run per GB of memory on Free. Platform usage is billed separately.
What data does PubMed MeSH & Citation Metadata Extractor return?
Its published output schema lists 8 fields: pmid, title, authors, journal, publicationDate, doi, articleUrl, tags. A listed field is not guaranteed to be filled in every row.
What input does PubMed MeSH & Citation Metadata Extractor need?
No input is strictly required; the defaults run as is. Common settings: searchTerms, searchUrls, pmidList, maxItemsPerTerm, dateFrom, dateTo.
How do I run PubMed MeSH & Citation Metadata Extractor from Python or the API?
Use the Apify API client: in Python, ApifyClient(token).actor("dataspryva/pubmed-mesh-and-citation-metadata-extractor").call(run_input=...), then read the run's default dataset (run.default_dataset_id); in JavaScript the same call is client.actor("dataspryva/pubmed-mesh-and-citation-metadata-extractor").call(input). Without a client, POST the input JSON to https://api.apify.com/v2/actors/dataspryva~pubmed-mesh-and-citation-metadata-extractor/run-sync-get-dataset-items with your API token. Ready-to-paste code with the example input is on this page.
Sources
- PubMed MeSH & Citation Metadata Extractor on Apify Store
- Published build with input and output schema (JSON)
Cite this page
Scraper Finder. "PubMed MeSH & Citation Metadata Extractor." https://scraperfinder.com/catalogue/pubmed-mesh-and-citation-metadata-extractor/ (data checked 2026-12-01).
Run PubMed MeSH & Citation Metadata Extractor
$0.99 per 1,000 results. Paste the example input above, set your target query, then export the dataset.