# Academic Paper Search: OpenAlex, Crossref, arXiv & PubMed API (`niches/academic-paper-search`) Actor

Search scholarly papers across OpenAlex, Crossref, arXiv and PubMed in one run, merged by DOI: title, authors, year, journal, abstract, citations, open-access PDF link and IDs. Filter by year and open access; sort by relevance, citations or date. For literature reviews and AI agents. No API key.

- **URL**: https://apify.com/niches/academic-paper-search.md
- **Developed by:** [Niches](https://apify.com/niches) (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 $0.80 / 1,000 papers

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

## Academic Paper Search API: OpenAlex, Crossref, arXiv and PubMed in one search

Search **scholarly papers across four open sources at once**: **OpenAlex**, **Crossref**, **arXiv** and **PubMed**. Results are **merged by DOI** (or title), so a paper found by several sources is **one row**, filled from all of them: **title, authors, year, journal, abstract, citation count, open-access PDF link, DOI, PubMed, PubMed Central, arXiv and OpenAlex IDs**.

Filter by **year** and **open access**, sort by **relevance, citations or date**. Built for **literature reviews**, **research and grant teams**, **R\&D and patent searches**, **science journalists** and **AI agents** that need sources they can cite. **No API key needed**. From **$0.80 per 1,000 papers**.

### What you get

| Field | What it holds |
|---|---|
| Paper | `title`, `authors`, `year`, `publicationDate`, `venue`, `type`, `language`, `abstract` |
| Impact and access | `citationCount`, `isOpenAccess`, `pdfUrl`, `openAccessUrl`, `publisherPdfUrl` |
| Identifiers | `doi`, `url`, `openalexId`, `pmid`, `pmcid`, `arxivId` |
| Search | `query`, `rank`, `foundIn` (which sources returned it) |

### What people use it for

- **Literature reviews:** one search across the main open indexes, deduplicated, with abstracts
- **AI agents and RAG:** papers with abstracts and PDF links to read and cite
- **R\&D scouting:** what has been published on a material, method or target, newest or most cited first
- **Grant and policy research:** evidence lists by topic and year
- **Biomedical searches:** PubMed papers with PubMed Central full-text links
- **Preprint tracking:** new arXiv preprints on a topic, merged with their published versions

### How to use it

1. Type one or more **searches** (a topic, a method or a title).
2. Set **papers per search**, and optionally **years**, **open access only** and **sort**.
3. Click **Start**. Each paper is one row.

### Input

| Field | Example | Notes |
|---|---|---|
| Searches | `perovskite solar cell stability` | Up to 100 |
| Papers per search | `25` | Up to 1,000 |
| Sources | all four | OpenAlex, Crossref, arXiv, PubMed |
| From year / To year | `2018`, `2025` | Optional |
| Open access only | off | Only papers with a free full text |
| Sort by | Relevance | Or most cited, or newest |
| OpenAlex API key | your own | Optional, free from OpenAlex |

### Output

Each result is one row in the run's dataset (download it as JSON, CSV, Excel, XML or HTML, or read it through the API). An example row (values shortened):

```json
{
  "query": "perovskite solar cell stability",
  "rank": 7,
  "title": "Sample paper on perovskite solar cell stability",
  "authors": [
    "A. Sample",
    "B. Example"
  ],
  "year": 2022,
  "publicationDate": "2022-12-09",
  "venue": "Sample Journal of Energy",
  "abstract": "A short sample abstract of the paper.",
  "citationCount": 106,
  "isOpenAccess": true,
  "pdfUrl": "https://pmc.ncbi.nlm.nih.gov/articles/PMC0000000/",
  "openAccessUrl": "https://example.org/articles/sample-paper",
  "doi": "10.0000/sample.2022.001",
  "url": "https://doi.org/10.0000/sample.2022.001",
  "type": "article",
  "language": "en",
  "foundIn": [
    "openalex",
    "pubmed"
  ],
  "openalexId": "W0000000000",
  "pmid": "00000000",
  "pmcid": "PMC0000000",
  "arxivId": null,
  "scrapedAt": "2026-11-07T11:30:00Z"
}
```

A record named `SUMMARY` in the run's key-value store says what each input returned, with any notes (for example an account that does not exist), what was charged and how much traffic the run used.

### Pricing

- **$0.001 per paper** ($1 per 1,000), **$0.80 per 1,000 on Gold and above**
- A paper found by several sources is one row and one charge
- **$0.001 per run**
- Searches that find nothing are free; no AI or API costs on top

What typical jobs cost at the list price:

| Job | Cost |
|---|---|
| 10 papers on one topic | $0.011 |
| 25 papers on each of 4 topics | $0.10 |
| 200 papers for a literature review | $0.20 |
| 1,000 papers | $1.00 ($0.80 on Gold) |

On Apify's Scale and Business plans the per-event prices are lower (Store discounts). Set **Maximum cost per run** and the Actor stops cleanly when it is reached: you never pay more than that.

### Tips

- Sort by citations to see the most cited work first; the papers are still each source's best matches for your words.
- Pick sources to narrow the field: PubMed for biomedicine, arXiv for physics, maths and computer science.
- OpenAlex gives keyless callers a small free daily budget shared by everyone on the same address. If it runs out, the run says so and still searches the other three; add your own free OpenAlex key to always include it.
- Rows without a DOI (some preprints) are merged by title.

### Use it through the API

**Python**

```python
from apify_client import ApifyClient

client = ApifyClient("<YOUR_APIFY_TOKEN>")
run = client.actor("Niches/academic-paper-search").call(run_input={"queries": ["perovskite solar cell stability"], "maxResultsPerQuery": 25, "fromYear": 2018, "sortBy": "cited"})
for row in client.dataset(run.default_dataset_id).iterate_items():
    print(row)
```

**JavaScript**

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

const client = new ApifyClient({ token: '<YOUR_APIFY_TOKEN>' });
const run = await client.actor('Niches/academic-paper-search').call({"queries": ["perovskite solar cell stability"], "maxResultsPerQuery": 25, "fromYear": 2018, "sortBy": "cited"});
const { items } = await client.dataset(run.defaultDatasetId).listItems();
```

**HTTP (one call, results back)**

```bash
curl -X POST 'https://api.apify.com/v2/acts/Niches~academic-paper-search/run-sync-get-dataset-items?token=<YOUR_APIFY_TOKEN>' \
  -H 'Content-Type: application/json' \
  -d '{"queries": ["perovskite solar cell stability"], "maxResultsPerQuery": 25, "fromYear": 2018, "sortBy": "cited"}'
```

### Integrations and schedules

- **Schedules:** run it every hour, day or week from the Apify Console (Schedules) and keep a history of results.
- **Make, Zapier, n8n, Google Sheets, Slack, Airtable:** connect it through Apify's integrations, or send each finished run to a **webhook**.
- **Datasets:** results stay in the run's dataset; export them or read them by API whenever you need them.

### Use it with AI agents (MCP)

Add Apify's MCP server with this Actor already pinned (`https://mcp.apify.com?tools=Niches/academic-paper-search`) to Claude, ChatGPT, Cursor, VS Code or any MCP client. The agent can find this Actor and run it for you: ask it for "find the 20 most cited open-access papers on CRISPR off-target effects since 2018, with abstracts". AI agents can also pay for runs directly through Apify's agentic payments.

### Limits

- Abstracts are included when a source publishes them; some publishers do not share abstracts.
- Citation counts come from OpenAlex and Crossref; arXiv and PubMed rows found only there have none.
- `pdfUrl` is the open-access copy a source names (a publisher PDF, a repository record, PubMed Central or arXiv); paywalled papers have none.
- Crossref's search is loose, so its results are kept only when the title or abstract carries most of your search words.
- Apify's free plan: the first 10 papers.

### FAQ

**Do I need an API key?**

No. Crossref, arXiv and PubMed need none. OpenAlex works without a key on a shared free budget; your own free key makes it reliable.

**How are duplicates handled?**

Papers are merged by DOI, else by title. `foundIn` lists the sources that returned the paper, and fields are filled from all of them.

**Does it download PDFs?**

No. It returns the links; you choose what to download.

**What does a nonsense search return?**

Nothing, and it costs nothing.

**How is it ordered?**

Relevance takes each source's best matches in turn; most cited and newest sort the merged list.

**Can AI agents use it?**

Yes: one call returns structured papers with abstracts, ready for an agent to read and cite.

### Support

Questions, a site that changed, or a field you need? Open an issue on this Actor's **Issues** tab: we answer there, usually within a day.

***

Also found as: academic paper search, research papers api, openalex api, arxiv api, pubmed api, crossref api, scholarly search, literature review, citation data, google scholar alternative.

# Actor input Schema

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

What to search for, one per line: a topic, a method or a title. Up to 100.

## `maxResultsPerQuery` (type: `integer`):

Merged papers to return for each search, up to 1,000.

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

Which sources to search. All four by default.

## `fromYear` (type: `integer`):

Optional: published in or after this year.

## `toYear` (type: `integer`):

Optional: published in or before this year.

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

Only papers with a free full text (an open-access PDF link).

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

Relevance keeps each source's best matches first; citations and newest sort the merged list.

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

Your own free key from openalex.org/settings/api. Without it OpenAlex is searched on its shared free daily budget, which can run out; the other three sources need no key.

## Actor input object example

```json
{
  "queries": [
    "perovskite solar cell stability"
  ],
  "maxResultsPerQuery": 10,
  "sources": [
    "openalex",
    "crossref",
    "arxiv",
    "pubmed"
  ],
  "openAccessOnly": false,
  "sortBy": "relevance"
}
```

# Actor output Schema

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

Dataset: the results.

## `summary` (type: `string`):

What each input returned, and notes.

# 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": [
        "perovskite solar cell stability"
    ],
    "maxResultsPerQuery": 10
};

// Run the Actor and wait for it to finish
const run = await client.actor("niches/academic-paper-search").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": ["perovskite solar cell stability"],
    "maxResultsPerQuery": 10,
}

# Run the Actor and wait for it to finish
run = client.actor("niches/academic-paper-search").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": [
    "perovskite solar cell stability"
  ],
  "maxResultsPerQuery": 10
}' |
apify call niches/academic-paper-search --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,niches/academic-paper-search"
        }
    }
}
```

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/4SE6fwFZKeyZPnLjp/builds/3Zzyu6Jeh7T7Hlf00/openapi.json
