# arXiv Academic Paper Scraper (`b3264/arxiv-paper-scraper`) Actor

Extract academic papers from arXiv.org. Search by keywords, categories, or authors. No API key needed.

- **URL**: https://apify.com/b3264/arxiv-paper-scraper.md
- **Developed by:** [Brandon Hamm](https://apify.com/b3264) (community)
- **Categories:** AI
- **Stats:** 2 total users, 1 monthly users, 40.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.50 / 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.

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

## What's an Apify Actor?

Actors are web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
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.
Actors are written with capital "A".

## 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.
The best way to integrate Actors is as follows.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).

# README

## arXiv Academic Paper Scraper

Extract academic papers from arXiv.org using the public API. Search by keywords, categories, or authors. Get titles, abstracts, authors, PDF links, DOIs, and publication dates.

### Features

- **Keyword search**: Search arXiv by any query term
- **Category search**: Filter by arXiv categories (e.g., `cat:cs.AI`, `cat:physics`, `cat:math.ST`)
- **Author search**: Find papers by specific authors (e.g., `au:Hinton`)
- **Rich metadata**: Titles, abstracts, authors, DOIs, journal references, comments
- **PDF links**: Direct PDF download URLs for every paper
- **Category data**: Primary category and all category tags
- **No API key required**: Uses arXiv's free public API
- **Sorting**: By relevance, submission date, or last updated date

### Input Parameters

| Parameter | Type | Default | Description |
|-----------|------|---------|-------------|
| `searchQueries` | string\[] | `[]` | List of search queries (leave empty to use categories only) |
| `categories` | string\[] | `["cs.AI"]` | arXiv categories to scrape (e.g. cs.AI, cs.CL, cs.LG, stat.ML, quant-ph) |
| `maxResults` | integer | 100 | Max papers per query or category (100 per page) |
| `sortBy` | select | `submittedDate` | Sort by: relevance, submittedDate, lastUpdatedDate |
| `sortOrder` | select | `descending` | ascending or descending |

### Search Query Syntax

arXiv supports a powerful query syntax:

- **Category**: `cat:cs.AI` (AI papers), `cat:cs.CL` (NLP), `cat:cs.CV` (computer vision)
- **Author**: `au:Hinton` or `au:"Yann LeCun"`
- **Title**: `ti:transformer` or `ti:"neural network"`
- **Abstract**: `abs:attention` or `abs:"large language model"`
- **All fields**: `all:quantum` (searches title, abstract, and authors)
- **Combined**: `cat:cs.AI AND ti:transformer` or `cat:cs.CL AND au:Hinton`

### Popular arXiv Categories

#### Computer Science (cs.\*)

- `cs.AI` — Artificial Intelligence
- `cs.AR` — Hardware Architecture
- `cs.CL` — Computation and Language (NLP)
- `cs.CV` — Computer Vision and Pattern Recognition
- `cs.DB` — Databases
- `cs.DC` — Distributed Computing
- `cs.DS` — Data Structures and Algorithms
- `cs.IR` — Information Retrieval
- `cs.IT` — Information Theory
- `cs.LG` — Machine Learning
- `cs.LO` — Logic in Computer Science
- `cs.NE` — Neural and Evolutionary Computing
- `cs.OS` — Operating Systems
- `cs.PL` — Programming Languages
- `cs.RO` — Robotics
- `cs.SE` — Software Engineering
- `cs.SD` — Sound
- `cs.SY` — Systems and Control

#### Statistics (stat.\*)

- `stat.ML` — Machine Learning (Statistics)
- `stat.AP` — Applications
- `stat.CO` — Computation
- `stat.ME` — Methodology

#### Electrical Engineering (eess.\*)

- `eess.AS` — Audio and Speech Processing
- `eess.IV` — Image and Video Processing
- `eess.SP` — Signal Processing

#### Mathematics (math.\*)

- `math.AG` — Algebraic Geometry
- `math.AP` — Analysis of PDEs
- `math.CO` — Combinatorics
- `math.DG` — Differential Geometry
- `math.DS` — Dynamical Systems
- `math.FA` — Functional Analysis
- `math.NT` — Number Theory
- `math.PR` — Probability
- `math.QA` — Quantum Algebra
- `math.ST` — Statistics Theory

#### Physics (physics.\*)

- `physics.optics` — Optics
- `physics.flu-dyn` — Fluid Dynamics
- `physics.med-ph` — Medical Physics
- `physics.bio-ph` — Biological Physics
- `physics.chem-ph` — Chemical Physics

#### Other

- `quant-ph` — Quantum Physics
- `q-bio.*` — Quantitative Biology
- `q-fin.*` — Quantitative Finance
- `cond-mat` — Condensed Matter
- `astro-ph` — Astrophysics
- `hep-th` — High Energy Physics (Theory)
- `hep-ex` — High Energy Physics (Experimental)

### Output Fields

- `arxivId` — arXiv paper ID (e.g., 2608.09930v1)
- `title` — Paper title
- `authors` — List of author names
- `abstract` — Full abstract text
- `publishedDate` — Publication date (ISO format)
- `updatedDate` — Last updated date
- `arxivUrl` — arXiv abstract page URL
- `pdfUrl` — Direct PDF download URL
- `doi` — DOI (if available)
- `comment` — Author comments (e.g., "Accepted at ICML 2026")
- `primaryCategory` — Primary arXiv category
- `categories` — All category tags
- `journalRef` — Journal reference (if published)
- `searchQuery` — The query that found this paper

### Use Cases

- Academic research and literature reviews
- AI/ML paper monitoring (get latest papers daily)
- Author publication tracking
- Trend analysis in research fields
- AI training data from paper abstracts
- Competitive intelligence for research labs

### Related Actors

- [FinViz Stock Screener Scraper](https://apify.com/b3264/finviz-stock-screener) — Financial data extraction
- [Google Maps Lead Intelligence](https://apify.com/b3264/google-maps-lead-intelligence) — B2B lead generation

### Notes

- arXiv requests 3-second delays between API calls. This actor respects that.
- Maximum 2000 results per query (arXiv API limit).
- Results are sorted by submission date by default (newest first).

# Actor input Schema

## `searchQueries` (type: `array`):

List of search terms. Examples: 'machine learning', 'quantum computing', 'au:Hinton' (by author), 'cat:cs.AI' (by category). Leave empty if using category picker below.

## `categories` (type: `array`):

arXiv categories to scrape (e.g. cs.AI, cs.CL, cs.LG, stat.ML, physics.optics, quant-ph). Picks latest papers from each. Combined with searchQueries if both provided.

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

Maximum number of papers per query or category (100 per API page)

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

Sort order for results

## `sortOrder` (type: `string`):

Ascending or descending

## Actor input object example

```json
{
  "searchQueries": [],
  "categories": [
    "cs.AI"
  ],
  "maxResults": 5,
  "sortBy": "submittedDate",
  "sortOrder": "descending"
}
```

# Actor output Schema

## `papers` (type: `string`):

Dataset containing extracted arXiv papers with titles, abstracts, authors, PDF links, and metadata.

# 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 = {
    "searchQueries": [],
    "categories": [
        "cs.AI"
    ],
    "maxResults": 5,
    "sortBy": "submittedDate",
    "sortOrder": "descending"
};

// Run the Actor and wait for it to finish
const run = await client.actor("b3264/arxiv-paper-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 = {
    "searchQueries": [],
    "categories": ["cs.AI"],
    "maxResults": 5,
    "sortBy": "submittedDate",
    "sortOrder": "descending",
}

# Run the Actor and wait for it to finish
run = client.actor("b3264/arxiv-paper-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 '{
  "searchQueries": [],
  "categories": [
    "cs.AI"
  ],
  "maxResults": 5,
  "sortBy": "submittedDate",
  "sortOrder": "descending"
}' |
apify call b3264/arxiv-paper-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,b3264/arxiv-paper-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/UGqnNwhX6pwn1gjB8/builds/nw4uM5chotzbW33fO/openapi.json
