# arXiv Paper Scraper - Search Research Preprints, No API Key (`themineworks/arxiv-preprint-search`) Actor

Scrape arXiv research papers by keyword, category (cs.AI, cs.LG, quant-ph) or author. Returns titles, abstracts, authors, dates, DOIs & PDF links as clean JSON. No API key. Use it as an MCP server in Claude, ChatGPT & AI agents for research monitoring.

- **URL**: https://apify.com/themineworks/arxiv-preprint-search.md
- **Developed by:** [The Mine Works](https://apify.com/themineworks) (community)
- **Categories:** Developer tools, MCP servers, AI
- **Stats:** 1 total users, 1 monthly users, 0.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

$1.00 / 1,000 paper scrapeds

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 a software tools running on the Apify platform, for all kinds of web data extraction and automation use cases.
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.

In JavaScript/TypeScript projects, use official [JavaScript/TypeScript client](https://docs.apify.com/api/client/js.md):

```bash
npm install apify-client
```

In Python projects, use official [Python client library](https://docs.apify.com/api/client/python.md):

```bash
pip install apify-client
```

In shell scripts, use [Apify CLI](https://docs.apify.com/cli/docs.md):

````bash
# MacOS / Linux
curl -fsSL https://apify.com/install-cli.sh | bash
# Windows
irm https://apify.com/install-cli.ps1 | iex
```bash

In AI frameworks, you might use the [Apify MCP server](https://docs.apify.com/platform/integrations/mcp.md).

If your project is in a different language, use 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 Preprint Search — AI, Physics, Math, Biology & More

Search 2.3 million+ preprints from arXiv — the world's leading open-access repository for scientific preprints — directly from Apify. Retrieve titles, abstracts, authors, categories, submission dates, and direct PDF links across computer science, physics, mathematics, quantitative biology, economics, and more. No API key required.

### Why This Actor?

arXiv is where cutting-edge research in AI, machine learning, and physics appears **months before peer-reviewed publication**. Virtually every significant deep learning paper — from the original Transformer to GPT, BERT, Stable Diffusion, and beyond — was posted to arXiv first. For anyone tracking the frontier of science and technology in real time, arXiv is an indispensable source.

This actor wraps the official **arXiv Atom API** (`export.arxiv.org/api/query`) and delivers clean structured JSON — one paper per dataset row — with built-in rate limiting that stays within arXiv's published 3 requests per second guideline.

Target buyers and use cases:

- **AI/ML researchers and engineers** monitoring cs.AI, cs.LG, and cs.CL daily for new techniques, architectures, and benchmarks
- **Tech companies building literature pipelines** that surface relevant research to internal teams, surface competitive intelligence, or trigger alerts on new papers in a domain
- **NLP training data teams** collecting abstracts and titles as structured corpora for language model pretraining, fine-tuning, or evaluation
- **Investors and analysts** tracking research output as a leading indicator of commercial activity in AI, biotech, quantum computing, and other technology sectors
- **University research groups** conducting systematic mapping reviews of a field's preprint landscape

### arXiv Categories

arXiv organizes preprints into a taxonomy of subject areas. Common categories include:

| Code | Subject |
|---|---|
| `cs.AI` | Artificial Intelligence |
| `cs.LG` | Machine Learning |
| `cs.CL` | Computation and Language (NLP) |
| `cs.CV` | Computer Vision and Pattern Recognition |
| `cs.RO` | Robotics |
| `quant-ph` | Quantum Physics |
| `q-bio.GN` | Genomics |
| `math.AG` | Algebraic Geometry |
| `econ.GN` | General Economics |
| `stat.ML` | Statistics — Machine Learning |

Leave the `category` field blank to search across all subject areas simultaneously.

### Query Syntax

The actor supports arXiv's native query prefix syntax:

| Prefix | Field | Example |
|---|---|---|
| `ti:` | Title | `ti:attention mechanism` |
| `au:` | Author | `au:Vaswani` |
| `abs:` | Abstract | `abs:diffusion model` |
| `cat:` | Category | `cat:cs.AI` |

Combine prefixes with `AND`, `OR`, `ANDNOT`: `ti:transformer AND cat:cs.CL ANDNOT abs:image`

### Inputs

| Field | Type | Description | Default |
|---|---|---|---|
| `query` | string | Search query with optional prefix syntax | `large language models` |
| `category` | string | arXiv category code (e.g. `cs.AI`, `quant-ph`). Leave blank for all | — |
| `sortBy` | select | `submittedDate`, `relevance`, or `lastUpdatedDate` | `submittedDate` |
| `dateFrom` | string | Filter papers submitted from this date (YYYYMMDD) | — |
| `maxResults` | integer | Maximum papers to return (1–2,000) | `100` |

### Output Format

Each paper is stored as one item in the Apify dataset:

```json
{
  "arxiv_id": "2310.06825v2",
  "title": "Mistral 7B",
  "abstract": "We introduce Mistral 7B, a 7-billion-parameter language model engineered for superior performance and efficiency...",
  "authors": ["Albert Q. Jiang", "Alexandre Sablayrolles", "Arthur Mensch"],
  "categories": ["cs.CL", "cs.AI", "cs.LG"],
  "primary_category": "cs.CL",
  "published_date": "2023-10-10T17:27:55Z",
  "updated_date": "2023-10-16T17:27:55Z",
  "doi": null,
  "pdf_url": "https://arxiv.org/pdf/2310.06825v2",
  "url": "https://arxiv.org/abs/2310.06825v2",
  "scraped_at": "2024-11-15T09:22:11.000Z"
}
````

A summary record is appended at the end with total paper count and run timestamp.

### Rate Limiting

arXiv explicitly requests that automated access stay under 3 requests per second and avoid peak hours. This actor enforces a 3.1-second delay between paginated API calls and uses automatic retry with exponential backoff on 429 and 5xx responses. Do not run multiple concurrent instances against arXiv — the actor is designed for sequential, respectful access.

### Pricing

**First 25 results are free** on every Apify account — no charge until you exceed the free tier.

After the free tier: **$3 per 1,000 papers** (Pay-Per-Event billing). A 1,000-paper run costs $3.00. A 2,000-paper run costs $6.00. You are charged only for papers actually delivered.

### Frequently Asked Questions

**Q: Does arXiv require an API key?**
No. The arXiv Atom feed API is completely open and requires no authentication. This actor works immediately with no setup beyond providing your search query.

**Q: How recent are the papers?**
arXiv papers are available via the API on the day of submission, which is typically the same day or the next business day after authors submit. The actor sorts by `submittedDate` descending by default, so the newest papers appear first.

**Q: Can I get papers from a specific author?**
Yes. Use the `au:` prefix in your query, e.g. `au:LeCun` or `au:Hinton Geoffrey`. Note that arXiv author names are not normalized — the same author may appear under different name formats across papers. For robust author tracking, consider combining `au:` with `ti:` or `abs:` filters.

**Q: What does `primary_category` mean?**
Each paper is assigned one primary subject category by the authors at submission time, plus optional cross-listed categories. The `primary_category` field is the authors' declared main subject area. The `categories` array contains all subject tags including cross-listings.

**Q: Can I retrieve the full PDF content?**
The actor returns the direct `pdf_url` for every paper. Downloading PDFs requires a separate HTTP request. For PDF text extraction at scale, pair this actor with a PDF parsing step in your Apify pipeline.

**Q: Why is `maxResults` capped at 2,000?**
The arXiv API's practical reliability degrades for very large offsets. For retrievals beyond 2,000 papers, partition your search by date range (`dateFrom`) or category and run the actor multiple times, then deduplicate by `arxiv_id`.

**Q: Are the papers peer-reviewed?**
arXiv is a preprint server. Papers are not peer-reviewed before posting — they are screened for basic relevance and academic quality by arXiv moderators but are not refereed by journals. Many papers are later published in peer-reviewed venues; the `doi` field, when present, links to the published version.

### Use in Claude, ChatGPT & any MCP agent

This actor is also a **Model Context Protocol (MCP) server tool** — call it directly from Claude, ChatGPT, Cursor, Windsurf, or any MCP-compatible AI agent. The agent only pays for results delivered (same pay-per-result model).

- Per-actor MCP endpoint: `https://mcp.apify.com/?tools=themineworks/arxiv-preprint-search`
- Full Mine Works MCP server (all tools): `https://the-mine-works-mcp.hatchable.site/api/mcp`

```js
// Call this actor as a tool via apify-client (Node)
import { ApifyClient } from 'apify-client';
const client = new ApifyClient({ token: 'YOUR_APIFY_TOKEN' });
const run = await client.actor('themineworks/arxiv-preprint-search').call({ /* input from the table above */ });
const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(items);
```

# Actor input Schema

## `query` (type: `string`):

Keywords to search. Use prefixes: ti: title, au: author, abs: abstract. E.g. ti:transformer AND cat:cs.AI

## `category` (type: `string`):

arXiv category: cs.AI, cs.LG, cs.CL, quant-ph, q-bio.GN, math.AG, etc. Leave blank for all.

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

submittedDate (newest first) or relevance.

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

Filter papers submitted from this date.

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

Maximum papers to return.

## Actor input object example

```json
{
  "query": "large language models",
  "sortBy": "submittedDate",
  "maxResults": 25
}
```

# 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 = {
    "query": "large language models",
    "maxResults": 25
};

// Run the Actor and wait for it to finish
const run = await client.actor("themineworks/arxiv-preprint-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 = {
    "query": "large language models",
    "maxResults": 25,
}

# Run the Actor and wait for it to finish
run = client.actor("themineworks/arxiv-preprint-search").call(run_input=run_input)

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

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

```

## CLI example

```bash
echo '{
  "query": "large language models",
  "maxResults": 25
}' |
apify call themineworks/arxiv-preprint-search --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=themineworks/arxiv-preprint-search",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "arXiv Paper Scraper - Search Research Preprints, No API Key",
        "description": "Scrape arXiv research papers by keyword, category (cs.AI, cs.LG, quant-ph) or author. Returns titles, abstracts, authors, dates, DOIs & PDF links as clean JSON. No API key. Use it as an MCP server in Claude, ChatGPT & AI agents for research monitoring.",
        "version": "0.1",
        "x-build-id": "qmwmo68VyxkMwbMid"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/themineworks~arxiv-preprint-search/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-themineworks-arxiv-preprint-search",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        },
        "/acts/themineworks~arxiv-preprint-search/runs": {
            "post": {
                "operationId": "runs-sync-themineworks-arxiv-preprint-search",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor and returns information about the initiated run in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/runsResponseSchema"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/acts/themineworks~arxiv-preprint-search/run-sync": {
            "post": {
                "operationId": "run-sync-themineworks-arxiv-preprint-search",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        }
    },
    "components": {
        "schemas": {
            "inputSchema": {
                "type": "object",
                "properties": {
                    "query": {
                        "title": "Search query",
                        "type": "string",
                        "description": "Keywords to search. Use prefixes: ti: title, au: author, abs: abstract. E.g. ti:transformer AND cat:cs.AI"
                    },
                    "category": {
                        "title": "Category",
                        "type": "string",
                        "description": "arXiv category: cs.AI, cs.LG, cs.CL, quant-ph, q-bio.GN, math.AG, etc. Leave blank for all."
                    },
                    "sortBy": {
                        "title": "Sort by",
                        "enum": [
                            "submittedDate",
                            "relevance",
                            "lastUpdatedDate"
                        ],
                        "type": "string",
                        "description": "submittedDate (newest first) or relevance.",
                        "default": "submittedDate"
                    },
                    "dateFrom": {
                        "title": "Submitted from (YYYYMMDD)",
                        "type": "string",
                        "description": "Filter papers submitted from this date."
                    },
                    "maxResults": {
                        "title": "Max papers",
                        "minimum": 1,
                        "maximum": 2000,
                        "type": "integer",
                        "description": "Maximum papers to return.",
                        "default": 100
                    }
                }
            },
            "runsResponseSchema": {
                "type": "object",
                "properties": {
                    "data": {
                        "type": "object",
                        "properties": {
                            "id": {
                                "type": "string"
                            },
                            "actId": {
                                "type": "string"
                            },
                            "userId": {
                                "type": "string"
                            },
                            "startedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "finishedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "status": {
                                "type": "string",
                                "example": "READY"
                            },
                            "meta": {
                                "type": "object",
                                "properties": {
                                    "origin": {
                                        "type": "string",
                                        "example": "API"
                                    },
                                    "userAgent": {
                                        "type": "string"
                                    }
                                }
                            },
                            "stats": {
                                "type": "object",
                                "properties": {
                                    "inputBodyLen": {
                                        "type": "integer",
                                        "example": 2000
                                    },
                                    "rebootCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "restartCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "resurrectCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "computeUnits": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "options": {
                                "type": "object",
                                "properties": {
                                    "build": {
                                        "type": "string",
                                        "example": "latest"
                                    },
                                    "timeoutSecs": {
                                        "type": "integer",
                                        "example": 300
                                    },
                                    "memoryMbytes": {
                                        "type": "integer",
                                        "example": 1024
                                    },
                                    "diskMbytes": {
                                        "type": "integer",
                                        "example": 2048
                                    }
                                }
                            },
                            "buildId": {
                                "type": "string"
                            },
                            "defaultKeyValueStoreId": {
                                "type": "string"
                            },
                            "defaultDatasetId": {
                                "type": "string"
                            },
                            "defaultRequestQueueId": {
                                "type": "string"
                            },
                            "buildNumber": {
                                "type": "string",
                                "example": "1.0.0"
                            },
                            "containerUrl": {
                                "type": "string"
                            },
                            "usage": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "integer",
                                        "example": 1
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "usageTotalUsd": {
                                "type": "number",
                                "example": 0.00005
                            },
                            "usageUsd": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "number",
                                        "example": 0.00005
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
