# Europe PMC Scraper (`anyxsolutions/europe-pmc-scraper`) Actor

Scrape Europe PMC articles, preprints and patents by search, link or ID (PMID, PMCID, DOI): authors with affiliations and ORCID iDs, journal, dates, MeSH, keywords, grants, open-access licence, citation counts, full-text links and optional reference and citation lists. No login, no proxy.

- **URL**: https://apify.com/anyxsolutions/europe-pmc-scraper.md
- **Developed by:** [Anyx Solutions](https://apify.com/anyxsolutions) (community)
- **Categories:** AI, Developer tools
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.00 / 1,000 results

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

![banner](https://anyx.solutions/banners/europe-pmc-scraper.png)

## Europe PMC Scraper

**Life-science articles, preprints and patents from Europe PMC — by search, link or ID — with open-access licences, citation counts, full-text links and optional reference and citing-article lists, as clean JSON.**

Europe PMC is the European archive of life-science literature: over 48 million records from
PubMed, PubMed Central, bioRxiv, medRxiv and two dozen other preprint servers, Agricola, patents,
NHS guidelines and theses, with millions of free full-text articles. This Actor scrapes Europe PMC
by search, search link, article link or ID. Paste a europepmc.org search or article link, type your
own searches in Europe PMC's query syntax, or list PMIDs, PMCIDs, preprint IDs and DOIs, and get
each record's source and identifiers (PMID, PMCID, DOI), title, authors with affiliations and
ORCID iDs, journal with ISSN, volume, issue and pages, publisher, publication, e-publication,
print and indexing dates, publication types, language, keywords, MeSH terms, chemicals, grants,
open-access flag and licence, citation count, links to the full text, PDF and (for open-access
articles) the full-text XML, the published version of a preprint, and comments, errata and
retractions. Turn on reference lists or citing articles to map the citation network around a
paper. Abstracts are opt-in. Filter by publication date or open access, and sort by relevance,
date or times cited. There is no login and no proxy to configure. Built for literature and
systematic reviews, preprint tracking, open-access and licence audits, citation analysis,
funder reporting, and feeding life-science metadata into search, RAG and summarisation pipelines.

### ⚡ Quick start

```json
{
  "startUrls": [
    { "url": "https://europepmc.org/search?query=crispr%20gene%20therapy" }
  ],
  "maxItems": 5
}
```

Or follow new preprints on a topic, with their reference lists:

```json
{
  "searchTerms": ["SRC:PPR AND (long covid)"],
  "sortBy": "date",
  "dateFrom": "2026-01-01",
  "includeReferences": true,
  "maxItems": 50
}
```

### 🧩 Input

| Field                | Type    | Required | Default                      | Description                                                                                                                                                                                  |
| -------------------- | ------- | -------- | ---------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `startUrls`          | array   | no       | —                            | Europe PMC URLs: searches (`europepmc.org/search?query=…`) or records (`europepmc.org/article/MED/<PMID>`, `/article/PMC/<PMCID>`, `/article/PPR/<ID>`, `/abstract/…`, `/articles/<PMCID>`). |
| `maxItems`           | integer | no       | —                            | Maximum number of records per start URL or search term. The input form starts at 5; leave it empty to get every match.                                                                       |
| `searchTerms`        | array   | no       | —                            | Searches, one per line, written as on Europe PMC. Field searches work, e.g. `TITLE:crispr AND AUTH:"Doudna JA"`, `SRC:PPR AND covid` (preprints only) or `GRANT_AGENCY:wellcome`.            |
| `articleIds`         | array   | no       | —                            | Records to look up: PMIDs (`33301246`), PMCIDs (`PMC7745181`), preprint IDs (`PPR1343961`), DOIs or Europe PMC article links. Every listed record is returned, whatever `maxItems` says.     |
| `sortBy`             | string  | no       | `"relevance"`                | Sort search results by `relevance` (best match), `date` (newest first) or `cited` (most cited first).                                                                                        |
| `dateFrom`           | string  | no       | —                            | Only search results first published on or after this date (`YYYY-MM-DD`).                                                                                                                    |
| `dateTo`             | string  | no       | —                            | Only search results first published on or before this date (`YYYY-MM-DD`).                                                                                                                   |
| `openAccessOnly`     | boolean | no       | `false`                      | Only search results in Europe PMC's open-access subset.                                                                                                                                      |
| `includeAbstracts`   | boolean | no       | `false`                      | Add each record's abstract. Abstracts may be copyrighted by their publishers; turn on only if your use is permitted.                                                                         |
| `includeReferences`  | boolean | no       | `false`                      | Add the works each record cites.                                                                                                                                                             |
| `includeCitations`   | boolean | no       | `false`                      | Add the works that cite each record.                                                                                                                                                         |
| `maxLinksPerArticle` | integer | no       | `100`                        | Cap on each record's reference list and on its citing-articles list.                                                                                                                         |
| `proxyConfiguration` | object  | no       | `{ "useApifyProxy": false }` | Proxy settings. Europe PMC needs no proxy.                                                                                                                                                   |

Add at least one start URL, search term or article ID. `sortBy`, `dateFrom`, `dateTo` and
`openAccessOnly` apply to search URLs and search terms alike.

**Search URLs.** Run a search on europepmc.org, refine it with the filters on the left (they
become part of the query, such as `(SRC:"PPR")` or `(OPEN_ACCESS:y)`), and paste the address.
The whole query is kept.

### 📤 Output

Each record is one dataset row. Journal articles, preprints, patents, books and other record types
share the same fields; a field a record type does not have is `null` or an empty list.

#### Fields

| Field                       | Type    | Description                                                                                                                                                                                        |
| --------------------------- | ------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `id`                        | string  | Europe PMC ID: the PMID for PubMed records, `PPR…` for preprints, the patent number for patents.                                                                                                   |
| `source`                    | string  | Record source: `MED` (PubMed), `PMC` (PubMed Central only), `PPR` (preprints), `PAT` (patents), `AGR` (Agricola), `CBA`, `CTX`, `ETH`, `HIR` or `NBK`.                                             |
| `url`                       | string  | The record's Europe PMC page.                                                                                                                                                                      |
| `pmid`                      | string  | PubMed ID, when the record has one.                                                                                                                                                                |
| `pmcid`                     | string  | PubMed Central ID, such as `PMC7745181`, when the full text is archived.                                                                                                                           |
| `doi`                       | string  | DOI, lower-cased.                                                                                                                                                                                  |
| `title`                     | string  | Title, without markup.                                                                                                                                                                             |
| `authors`                   | array   | Authors in order, each with `name`, `firstName`, `lastName`, `initials`, `orcid` and `affiliations`.                                                                                               |
| `journal`                   | object  | `title`, `isoAbbreviation`, `issn`, `essn`, `nlmId`, `volume`, `issue` and `pages`; `null` for preprints, patents and other non-journal records.                                                   |
| `publisher`                 | string  | Publisher or preprint server, such as `bioRxiv` or `medRxiv`, when Europe PMC gives one.                                                                                                           |
| `publicationYear`           | number  | Year of publication.                                                                                                                                                                               |
| `publicationDate`           | string  | First publication date, electronic or print, as `YYYY-MM-DD`.                                                                                                                                      |
| `electronicPublicationDate` | string  | Online publication date.                                                                                                                                                                           |
| `printPublicationDate`      | string  | Print issue date.                                                                                                                                                                                  |
| `firstIndexDate`            | string  | Date the record was first indexed in Europe PMC.                                                                                                                                                   |
| `publicationTypes`          | array   | Publication types, such as `Review`, `Journal Article`, `Preprint` or `Patent`.                                                                                                                    |
| `isPreprint`                | boolean | Whether the record is a preprint.                                                                                                                                                                  |
| `language`                  | string  | Language as a three-letter code, such as `eng`.                                                                                                                                                    |
| `abstractText`              | string  | The abstract, only with `includeAbstracts` on (`null` otherwise). Structured abstracts keep their headings (`Background: …`), one paragraph per section.                                           |
| `keywords`                  | array   | Author and publisher keywords.                                                                                                                                                                     |
| `meshTerms`                 | array   | MeSH headings, each with `descriptor`, `major` (a main topic) and `qualifiers`.                                                                                                                    |
| `chemicals`                 | array   | Chemical and substance names indexed for the article.                                                                                                                                              |
| `grants`                    | array   | Funding, each with `grantId`, `agency` and `acronym`.                                                                                                                                              |
| `isOpenAccess`              | boolean | Whether the record is in Europe PMC's open-access subset.                                                                                                                                          |
| `license`                   | string  | Reuse licence, such as `cc by` or `cc by-nc-nd`, when known.                                                                                                                                       |
| `inEuropePmc`               | boolean | Whether the full text can be read on Europe PMC.                                                                                                                                                   |
| `inPmc`                     | boolean | Whether the full text is archived in PubMed Central.                                                                                                                                               |
| `hasPdf`                    | boolean | Whether Europe PMC has a PDF.                                                                                                                                                                      |
| `citedByCount`              | number  | Times cited by other records in Europe PMC.                                                                                                                                                        |
| `hasReferences`             | boolean | Whether Europe PMC has the record's reference list.                                                                                                                                                |
| `hasTextMinedTerms`         | boolean | Whether genes, diseases, chemicals and other terms were text-mined from the record.                                                                                                                |
| `hasDatabaseLinks`          | boolean | Whether the record links to entries in life-science databases such as UniProt or ENA.                                                                                                              |
| `textMinedAccessionTypes`   | array   | Kinds of database accession numbers mentioned in the text, such as `nct` (clinical trials), `pdb` or `gen`.                                                                                        |
| `fullTextUrl`               | string  | Best link to read the full text: Europe PMC's copy, or another open or free copy.                                                                                                                  |
| `pdfUrl`                    | string  | Best link to a PDF.                                                                                                                                                                                |
| `fullTextXmlUrl`            | string  | Download link for the full text as JATS XML, on open-access articles.                                                                                                                              |
| `fullTextLinks`             | array   | Every full-text location, each with `url`, `site`, `availability` and `format`.                                                                                                                    |
| `publishedVersion`          | object  | For a preprint, its published journal version: `type`, `source`, `id`, `url` and `reference`.                                                                                                      |
| `relatedArticles`           | array   | Linked records such as comments, errata, retractions and published versions, each with `type`, `source`, `id`, `url` and `reference`.                                                              |
| `patent`                    | object  | On patents: `country`, `kindCode`, `kindDescription`, `applicationNumber`, `applicationDate` and `classifications`.                                                                                |
| `references`                | array   | With `includeReferences` on: the works the record cites, each with `source`, `id`, `url`, `title`, `authors`, `journal`, `publicationYear`, `volume`, `issue`, `pages`, `type` and `citedByCount`. |
| `citations`                 | array   | With `includeCitations` on: the works that cite the record, with the same fields.                                                                                                                  |
| `searchQuery`               | string  | The query that found the record, filters included; `null` for records looked up by ID or link.                                                                                                     |

<details><summary>Example output</summary>

```json
{
  "id": "42237969",
  "source": "MED",
  "url": "https://europepmc.org/article/MED/42237969",
  "pmid": "42237969",
  "pmcid": "PMC13227348",
  "doi": "10.15537/1658-3175.1061",
  "title": "Translational Barriers to AAV and CRISPR Gene Therapy in Diabetes.",
  "authors": [
    {
      "name": "Abdulrahman G Alharbi",
      "firstName": "Abdulrahman G",
      "lastName": "Alharbi",
      "initials": "AG",
      "orcid": "0009-0004-9446-2034",
      "affiliations": [
        "Department of Pharmacology and Toxicology, College of Pharmacy, Taibah University, Al Medina Al Munawara, Kingdom of Saudi Arabia."
      ]
    }
  ],
  "journal": {
    "title": "Saudi medical journal",
    "isoAbbreviation": "Saudi Med J",
    "issn": "0379-5284",
    "essn": "1658-3175",
    "nlmId": "7909441",
    "volume": "47",
    "issue": "4",
    "pages": "626-652"
  },
  "publisher": null,
  "publicationYear": 2026,
  "publicationDate": "2026-03-20",
  "electronicPublicationDate": "2026-03-20",
  "printPublicationDate": "2026-04-01",
  "firstIndexDate": "2026-06-05",
  "publicationTypes": ["review-article", "Review", "Journal Article"],
  "isPreprint": false,
  "language": "eng",
  "abstractText": null,
  "keywords": ["Gene therapy", "Diabetes mellitus", "Clinical Trials"],
  "meshTerms": [
    {
      "descriptor": "Diabetes Mellitus",
      "major": true,
      "qualifiers": ["genetics", "therapy"]
    },
    { "descriptor": "CRISPR-Cas Systems", "major": true, "qualifiers": [] }
  ],
  "chemicals": [],
  "grants": [],
  "isOpenAccess": true,
  "license": "cc by-nc",
  "inEuropePmc": true,
  "inPmc": true,
  "hasPdf": true,
  "citedByCount": 0,
  "hasReferences": true,
  "hasTextMinedTerms": false,
  "hasDatabaseLinks": false,
  "textMinedAccessionTypes": [],
  "fullTextUrl": "https://europepmc.org/articles/PMC13227348",
  "pdfUrl": "https://europepmc.org/articles/PMC13227348?pdf=render",
  "fullTextLinks": [
    {
      "url": "https://doi.org/10.15537/1658-3175.1061",
      "site": "DOI",
      "availability": "Subscription required",
      "format": "doi"
    },
    {
      "url": "https://europepmc.org/articles/PMC13227348",
      "site": "Europe_PMC",
      "availability": "Open access",
      "format": "html"
    }
  ],
  "publishedVersion": null,
  "relatedArticles": [],
  "patent": null,
  "references": null,
  "citations": null,
  "searchQuery": "crispr gene therapy"
}
```

</details>

### 💡 Use cases

- **Literature and systematic reviews** — pull every record matching a search strategy, with MeSH terms, publication types and licences, into a screening tool.
- **Preprint tracking** — follow new bioRxiv and medRxiv preprints on a topic and see which ones have since been published in a journal.
- **Open-access and licence audits** — find which papers from a lab, funder or journal can be read and reused, and under which licence.
- **Citation analysis** — rank papers by times cited, and map the references and citing articles around a key paper.
- **Funder and grant reporting** — list the publications that acknowledge a grant or agency.
- **RAG and text mining** — collect open-access full-text XML links and metadata for search, embedding or LLM pipelines.

### ❓ FAQ

- **How is this different from PubMed?** Europe PMC holds every PubMed record and adds preprints, patents, Agricola, theses and guidelines, plus open-access licences, citation counts, full-text availability and citation lists. Use it when you need those.
- **Do I need an account, API key or proxy?** No.
- **How do I search only preprints, or only one author?** Use Europe PMC's field searches in `searchTerms`: `SRC:PPR AND covid` for preprints, `AUTH:"Doudna JA"` for an author, `ORCID:0000-0001-9161-999X` for an ORCID iD, `GRANT_AGENCY:wellcome` for a funder.
- **Why is the abstract empty?** Abstracts are off by default; turn on `includeAbstracts` if your use is permitted. Some records have no abstract at all.
- **Does it download the full text?** No. It gives links to the full text and PDF, and for open-access articles a link to the full text as XML, so you fetch only what you need. Check each article's licence before reuse.
- **Why does a highly cited paper show only 100 citations?** `maxLinksPerArticle` caps both lists; raise it for more. `citedByCount` always gives the full count.
- **How fast is it?** Searches return a few thousand records a minute. Reference and citation lists add one or two requests per record, so enriched runs manage about one record a second.

### 🔗 More scrapers by Anyx

- [arXiv Scraper](https://apify.com/anyxsolutions/arxiv-scraper)
- [Crossref Scraper](https://apify.com/anyxsolutions/crossref-scraper)
- [Hugging Face Scraper](https://apify.com/anyxsolutions/hugging-face-scraper)
- [Google Search Scraper](https://apify.com/anyxsolutions/google-search-scraper)

### 🤝 Anyx Solutions

We build custom scrapers and data-extraction pipelines.

- Email: tantosthor@gmail.com

# Actor input Schema

## `startUrls` (type: `array`):

Europe PMC URLs, for example a search such as https://europepmc.org/search?query=crispr%20gene%20therapy (its query, field searches and filters included) or an article such as https://europepmc.org/article/MED/33301246, https://europepmc.org/article/PPR/PPR1343961 or https://europepmc.org/articles/PMC7745181.

## `maxItems` (type: `integer`):

Maximum number of records to return per start URL or search term, for example 100. Leave empty to get every match.

## `searchTerms` (type: `array`):

Searches to run on Europe PMC, one per line, written as on the site, for example malaria vaccine. Field searches work too, e.g. TITLE:crispr AND AUTH:"Doudna JA", SRC:PPR AND covid (preprints only) or GRANT_AGENCY:wellcome.

## `articleIds` (type: `array`):

Records to look up, one per line, for example a PMID such as 33301246, a PMCID such as PMC7745181, a preprint ID such as PPR1343961, a DOI such as 10.1056/NEJMoa2034577, or a Europe PMC article link. Every listed record is returned, whatever the maximum.

## `sortBy` (type: `string`):

Order of search results: best match, publication date (newest first) or times cited (most cited first).

## `dateFrom` (type: `string`):

Only return search results first published on or after this date, for example 2024-01-01.

## `dateTo` (type: `string`):

Only return search results first published on or before this date, for example 2025-12-31.

## `openAccessOnly` (type: `boolean`):

Only return search results in Europe PMC's open-access subset, whose full text can be read and reused under the licence given.

## `includeAbstracts` (type: `boolean`):

Add each record's abstract to the output. Abstracts may be copyrighted by their publishers; turn on only if your use is permitted.

## `includeReferences` (type: `boolean`):

Add the works each record cites, with their IDs, titles, authors, journals and years. Adds one or more requests per record.

## `includeCitations` (type: `boolean`):

Add the works that cite each record, with their IDs, titles, authors, journals and years. Adds one or more requests per record.

## `maxLinksPerArticle` (type: `integer`):

Cap on the reference list and on the citing-articles list of each record, for example 100. Highly cited papers have tens of thousands of citing articles.

## `proxyConfiguration` (type: `object`):

Proxy settings. Europe PMC needs no proxy; the Actor paces its requests politely.

## Actor input object example

```json
{
  "startUrls": [
    {
      "url": "https://europepmc.org/search?query=crispr%20gene%20therapy"
    }
  ],
  "maxItems": 5,
  "sortBy": "relevance",
  "openAccessOnly": false,
  "includeAbstracts": false,
  "includeReferences": false,
  "includeCitations": false,
  "maxLinksPerArticle": 100,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# Actor output Schema

## `overview` (type: `string`):

No description

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "startUrls": [
        {
            "url": "https://europepmc.org/search?query=crispr%20gene%20therapy"
        }
    ],
    "maxItems": 5
};

// Run the Actor and wait for it to finish
const run = await client.actor("anyxsolutions/europe-pmc-scraper").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "startUrls": [{ "url": "https://europepmc.org/search?query=crispr%20gene%20therapy" }],
    "maxItems": 5,
}

# Run the Actor and wait for it to finish
run = client.actor("anyxsolutions/europe-pmc-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "startUrls": [
    {
      "url": "https://europepmc.org/search?query=crispr%20gene%20therapy"
    }
  ],
  "maxItems": 5
}' |
apify call anyxsolutions/europe-pmc-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,anyxsolutions/europe-pmc-scraper"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/dIcY4FtHMqGAKK3b0/builds/as6LMOx1WOyMdrUhy/openapi.json
