# Academic Papers Scraper – arXiv, PubMed, Crossref, OpenAlex (`datarelay/academic-papers-scraper`) Actor

Search research papers in arXiv, PubMed, Crossref and OpenAlex in one schema: title, authors, date, journal, DOI, abstract, citations, PDF and open-access links. Duplicates across sources removed by DOI; monitor new papers on any topic. Pay per paper.

- **URL**: https://apify.com/datarelay/academic-papers-scraper.md
- **Developed by:** [DataRelay](https://apify.com/datarelay) (community)
- **Categories:** AI, Automation, Other
- **Features:** Limited permissions, Single-tenant, Server interface
- **Stats:** 1 total users, 0 monthly users, 0.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.44 / 1,000 papers

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.
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

## Academic Papers Scraper – arXiv, PubMed, Crossref, OpenAlex

Search research papers in **four open scholarly sources at once** and get them in one schema: title, authors,
publication date, journal or repository, DOI, abstract, citation count, open-access status and links to the paper and
its PDF.

- **arXiv** – preprints in physics, math, CS, biology…, newest first, with abstracts and PDF links.
- **PubMed** – biomedical literature, newest first.
- **Crossref** – every work with a DOI, best matches first, with abstracts when publishers deposit them.
- **OpenAlex** – all scholarly works with abstracts and citations (metered: add your free key).

The same paper found in several sources (same DOI, arXiv id or PubMed id) is delivered once. Schedule the Actor with a
**sync key** to receive only new papers on your topics.

### Input

```json
{
    "queries": ["CRISPR base editing"],
    "sources": ["arxiv", "pubmed", "crossref", "openalex"],
    "publishedAfter": "2026-01-01",
    "maxResultsPerSource": 100
}
```

| Field                 | Default                           | Meaning                                                                            |
| --------------------- | --------------------------------- | ---------------------------------------------------------------------------------- |
| `queries`             | –                                 | Topics or `"exact phrases"`, up to 50. Searched in every selected source.          |
| `sources`             | `["arxiv", "pubmed", "crossref"]` | Any of `arxiv`, `pubmed`, `crossref`, `openalex`.                                  |
| `publishedAfter`      | –                                 | Only papers published on or after this date (`YYYY-MM-DD`).                        |
| `maxResultsPerSource` | `100`                             | Max papers per search and source (1–10,000).                                       |
| `openAlexApiKey`      | –                                 | Optional free OpenAlex key (`openalex.org/settings/api`) for your own rate budget. |
| `maxResults`          | `10000`                           | Max papers in the whole run (0 = no limit). Your spending limit is respected too.  |
| `syncKey`             | –                                 | Memory of delivered papers (`papers-sync-<key>`); turns on monitoring (`onlyNew`). |
| `onlyNew`             | `false`                           | Deliver only papers not delivered before under the sync key.                       |
| `syncReset`           | `false`                           | Forget the memory of the sync key before the run.                                  |
| `maxRunSecs`          | `0`                               | Soft time budget in seconds (0 = until the platform timeout).                      |
| `proxyConfiguration`  | none                              | No proxy by default (these open APIs ask for paced requests, not rotated IPs).     |

### Output

```json
{
    "schemaVersion": 1,
    "status": "ok",
    "error": null,
    "scrapedAt": "2026-11-14T08:00:00.000Z",
    "query": "CRISPR base editing",
    "key": "doi:10.1038/s41586-026-01234-5",
    "change": null,
    "source": "openalex",
    "id": "W4401234567",
    "doi": "10.1038/s41586-026-01234-5",
    "arxivId": null,
    "pmid": null,
    "title": "In vivo CRISPR base editing for treatment of Huntington’s disease",
    "authors": ["…"],
    "publishedAt": "2026-07-29",
    "year": 2026,
    "venue": "Nature",
    "type": "article",
    "abstract": "…",
    "url": "https://doi.org/10.1038/s41586-026-01234-5",
    "pdfUrl": null,
    "citations": 12,
    "openAccess": true,
    "keywords": ["CRISPR"],
    "language": "en"
}
```

Free rows explain searches without results (`no_data`, `blocked`, `error`).

### Pricing (pay per event)

| Event       | FREE    | BRONZE   | SILVER   | GOLD     |
| ----------- | ------- | -------- | -------- | -------- |
| `run-start` | $0.003  | $0.003   | $0.0025  | $0.002   |
| `paper`     | $0.0008 | $0.00068 | $0.00056 | $0.00044 |

- 1,000 papers: **$0.803** on FREE – **$0.80 per 1,000 papers** ($0.68 Bronze, $0.56 Silver, $0.44 Gold).
- `run-start` is charged once per run, only when the run delivers its first paid paper: a monitoring run with nothing
  new is free.
- Duplicates, papers delivered before under your `syncKey` and searches without results are free. Apify's standard
  `apify-actor-start` event ($0.00005) applies to every run.

### Notes

- The Actor paces each API as its operator asks (arXiv: one request every 3 seconds), so arXiv searches of thousands of
  papers take a while.
- OpenAlex meters its API: without a key every user of an IP address shares a small daily budget; a free key at
  openalex.org/settings/api gives you your own.
- Author names are part of the public record of each paper; nothing else about authors is collected.

### HTTP and MCP access

This Actor also declares a single-tenant server interface, using the same input, source engine and result prices as batch runs. For large jobs, use batch.

- **Apify MCP:** configure `https://mcp.apify.com/?tools=datarelay/academic-papers-scraper` with your Apify bearer token. This starts ordinary Actor runs.
- **DataRelay MCP:** copy this Actor's server URL from Apify Console and append `/mcp`; authenticate with the same bearer token.
- **HTTP:** POST JSON input to `<SERVER_URL>/v1/run`. `<SERVER_URL>/openapi.json` lists the request schema.

Each server run belongs to your account. Default idle timeout: 60 seconds. You pay platform usage, including startup/idle time, plus existing event fees. Discovery and health checks produce no data events, but can start a billed run. A warm run charges its start event at most once on its first paid result.

Responses include a preview (first 100 rows / 1 MB), `resultCount`, `previewLimited`, `interrupted`, and links to this request's complete Dataset slice and summary. Use batch for work exceeding the 120-second soft deadline. Check `outcome`, summaries and result statuses; source limitations remain unchanged. Use the stable Actor-level server URL for clients. The server becomes available when this build is deployed and its server settings are enabled.

# Actor input Schema

## `queries` (type: `array`):

Topics or phrases ("quotes" for an exact phrase). Each is searched in every selected source.

## `sources` (type: `array`):

arXiv (preprints), PubMed (biomedical), Crossref (all DOIs), OpenAlex (all scholarly works, with abstracts and citations; metered – see the key below).

## `publishedAfter` (type: `string`):

Only papers published on or after this date.

## `maxResultsPerSource` (type: `integer`):

arXiv, PubMed newest first; Crossref and OpenAlex best matches first.

## `openAlexApiKey` (type: `string`):

Optional, free at openalex.org/settings/api. Without it OpenAlex shares a small daily budget per IP address and may refuse requests.

## `maxResults` (type: `integer`):

Stop the run after this many papers (0 = no limit). Your spending limit is respected too.

## `onlyNew` (type: `boolean`):

Deliver (and charge) only papers not delivered under the sync key before. Schedule the run.

## `syncKey` (type: `string`):

Name of the memory of delivered papers (letters, digits, dashes; at most 40). Setting it turns on monitoring.

## `syncReset` (type: `boolean`):

Forget the papers delivered under the sync key before this run.

## `maxRunSecs` (type: `integer`):

Stop starting new requests after this many seconds (0 = until the platform timeout).

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

No proxy by default: these are open APIs that ask for paced requests, not rotated IPs.

## Actor input object example

```json
{
  "queries": [
    "CRISPR base editing"
  ],
  "sources": [
    "arxiv",
    "pubmed",
    "crossref"
  ],
  "maxResultsPerSource": 100,
  "maxResults": 10000,
  "onlyNew": false,
  "syncReset": false,
  "maxRunSecs": 0,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# Actor output Schema

## `results` (type: `string`):

No description

## `summary` (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 = {
    "queries": [
        "CRISPR base editing"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("datarelay/academic-papers-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 = { "queries": ["CRISPR base editing"] }

# Run the Actor and wait for it to finish
run = client.actor("datarelay/academic-papers-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 '{
  "queries": [
    "CRISPR base editing"
  ]
}' |
apify call datarelay/academic-papers-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,datarelay/academic-papers-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/zDRnP5McB0O2EaDFj/builds/2PGKcMU8s1ApqLj5F/openapi.json
