# Research Square Preprint Search & Subject Browser (`nimbryxo-studio/research-square-preprint-search-and-subject`) Actor

Search, browse by subject area or article type, and fetch Research Square preprints with authors, DOI, abstract and journal metadata for literature monitoring and meta-research.

- **URL**: https://apify.com/nimbryxo-studio/research-square-preprint-search-and-subject.md
- **Developed by:** [Nimbryxo-studio](https://apify.com/nimbryxo-studio) (community)
- **Categories:** Automation, Developer tools, Other
- **Features:** Limited permissions
- **Stats:** 1 total users, 0 monthly users, 0.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.49 / 1,000 results

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

## Research Square Preprint Search & Subject Browser

Research Square hosts hundreds of thousands of preprints posted ahead of journal peer review, spanning medicine, life sciences, engineering and the social sciences. This actor turns that catalog into structured records you can search by keyword, browse by subject area or article type, or fetch directly by preprint URL.

### What this actor does

- Runs a free-text keyword search across the full Research Square preprint catalog
- Browses the catalog filtered to one subject area (choose from 38 curated areas, e.g. Molecular Biology & Genetics, Neuroscience, Public Health)
- Browses the catalog filtered to one article type (Research Article, Review, Case Report, etc.)
- Fetches full metadata for specific preprints when given their URLs, including DOI, abstract and PDF link
- Applies optional post-fetch filters for posted year and article type across every mode
- Empty fields are omitted from records

### Output per preprint

- `articleId` — Research Square identifier, e.g. `rs-10118362`
- `title` — preprint title
- `articleType` — e.g. `Research Article`, `Review`
- `status` — preprint status, e.g. `under-review`
- `journalTitle` — target or affiliated journal name
- `journal` — journal identifier/short name
- `doiVersion` — version segment of the DOI (e.g. `v1`, `v2`)
- `postedAt` — date the preprint was posted
- `postedYear` — year extracted from `postedAt`
- `authors` — list of author names
- `primaryAuthor` — first listed author
- `subjectAreas` — list of subject areas assigned to the preprint
- `doi` — full DOI (available when fetched by URL)
- `publicationDate` — citation publication date (available when fetched by URL)
- `pdfUrl` — direct PDF download link (available when fetched by URL)
- `abstract` — preprint abstract (available when fetched by URL)
- `articleUrl` / `sourceUrl` — link to the preprint page
- `recordType` — always `preprint`
- `scrapedAt` — timestamp of extraction

### Input

| Field | Type | Default | Description |
|---|---|---|---|
| `mode` | string | `search` | `search`, `browseBySubject`, `browseByType` or `byUrl` |
| `searchQuery` | string | `cancer` | Free-text keyword query (mode=search) |
| `subjectArea` | string | – | Subject area to browse (mode=browseBySubject); also filters search mode |
| `articleType` | string | – | Article type to browse (mode=browseByType) |
| `urls` | array | `[]` | Preprint URLs to fetch directly, e.g. `https://www.researchsquare.com/article/rs-10118362/v1` (mode=byUrl) |
| `publishYearMin` | integer | – | Drop preprints posted before this year |
| `publishYearMax` | integer | – | Drop preprints posted after this year |
| `filterArticleType` | string | – | Post-fetch filter applied to every mode: only emit preprints of this article type |
| `maxItems` | integer | `50` | Hard cap on emitted records (1–1000) |

#### Example: keyword search

```json
{
  "mode": "search",
  "searchQuery": "cancer",
  "maxItems": 20
}
```

#### Example: browse a subject area

```json
{
  "mode": "browseBySubject",
  "subjectArea": "Public Health",
  "maxItems": 50
}
```

#### Example: fetch specific preprints

```json
{
  "mode": "byUrl",
  "urls": [
    "https://www.researchsquare.com/article/rs-10118362/v1",
    "https://www.researchsquare.com/article/rs-10559621/v1"
  ]
}
```

#### Example: recent reviews only

```json
{
  "mode": "search",
  "searchQuery": "machine learning",
  "filterArticleType": "Review",
  "publishYearMin": 2024,
  "maxItems": 30
}
```

### Use cases

- **Literature monitoring** — catch new preprints in a research field before they clear peer review
- **Competitive intelligence** — see which labs or companies are posting work in a given subject area
- **Meta-research and bibliometrics** — build datasets of preprint metadata for citation or trend analysis
- **Grant and partnership scouting** — find active research groups publishing in a specific domain
- **Journal and publisher monitoring** — track preprints heading toward a particular journal via `journalTitle`

### FAQ

**What is Research Square?** An independent preprint server where researchers post manuscripts before or during journal submission, across medicine, life sciences and other fields.

**Is this affiliated with Research Square?** No. This is an independent data extraction tool and has no affiliation with Research Square Company.

**How is a preprint different from a published paper?** A preprint is an early, not-yet-peer-reviewed version of a manuscript. The `status` field (e.g. `under-review`) tells you where it stands.

**What does `doiVersion` mean?** Preprints can be revised; `doiVersion` reflects which revision (`v1`, `v2`, …) the record describes.

**Why do some records lack an `abstract` or `doi`?** Those fields are only populated in `byUrl` mode, where the actor loads the full preprint page. Search and browse modes return listing-level metadata only.

**Can I combine a subject area with a keyword search?** Yes — `subjectArea` applies as an additional filter in `search` mode on top of `searchQuery`.

**How many preprints can one run return?** Up to `maxItems`, capped at 1000 per run.

**How fresh is the data?** Each run reads the live Research Square listings at request time, so results reflect preprints posted up to that moment.

**Does `byUrl` accept any Research Square link?** It accepts preprint article URLs in the form `/article/rs-XXXX/v1`. Journal pages, author profiles and other non-preprint URLs are not supported.

# Actor input Schema

## `mode` (type: `string`):

What to fetch.

## `searchQuery` (type: `string`):

Free-text keyword query (mode=search).

## `subjectArea` (type: `string`):

Filter browse results to one subject area (mode=browseBySubject). Also applies as a filter in search mode.

## `articleType` (type: `string`):

Filter browse results to one article type (mode=browseByType).

## `urls` (type: `array`):

Research Square preprint URLs, e.g. `https://www.researchsquare.com/article/rs-10118362/v1` (mode=byUrl).

## `publishYearMin` (type: `integer`):

Drop preprints posted before this year.

## `publishYearMax` (type: `integer`):

Drop preprints posted after this year.

## `filterArticleType` (type: `string`):

Post-fetch filter applied to all modes: only emit preprints of this article type.

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

Hard cap on emitted records.

## Actor input object example

```json
{
  "mode": "search",
  "searchQuery": "cancer",
  "urls": [],
  "maxItems": 20
}
```

# Actor output Schema

## `articles` (type: `string`):

Dataset containing all scraped articles.

# 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 = {
    "mode": "search",
    "searchQuery": "cancer",
    "urls": [],
    "maxItems": 20
};

// Run the Actor and wait for it to finish
const run = await client.actor("nimbryxo-studio/research-square-preprint-search-and-subject").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 = {
    "mode": "search",
    "searchQuery": "cancer",
    "urls": [],
    "maxItems": 20,
}

# Run the Actor and wait for it to finish
run = client.actor("nimbryxo-studio/research-square-preprint-search-and-subject").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 '{
  "mode": "search",
  "searchQuery": "cancer",
  "urls": [],
  "maxItems": 20
}' |
apify call nimbryxo-studio/research-square-preprint-search-and-subject --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,nimbryxo-studio/research-square-preprint-search-and-subject"
        }
    }
}
```

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/zo0xNufEs7BLfQfrC/builds/FWugpGlnWqkTRVbRA/openapi.json
