# arXiv Papers Scraper: Abstracts, Authors, Categories, PDFs (`joesimo/arxiv-papers`) Actor

Search arXiv papers through the official arXiv API by keyword, category, author, date or id. Get titles, abstracts, authors, categories, DOIs, journal refs and PDF links. No login. Failed or empty inputs are free.

- **URL**: https://apify.com/joesimo/arxiv-papers.md
- **Developed by:** [Joe Simo](https://apify.com/joesimo) (community)
- **Categories:** AI, Developer tools, Automation
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

$1.00 / 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.

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

## arXiv Papers Scraper: Abstracts, Authors, Categories, PDFs

Search arXiv papers through the official arXiv API and get clean rows you can load into a spreadsheet, a database or an AI pipeline. Search by keyword or phrase, category (cs.AI, math.NT, hep-th and 150+ more), author, submission date or arXiv id. Each paper comes with its title, abstract, authors, affiliations, categories, dates, comment, journal reference, DOI, arXiv DOI, abstract page and PDF link. No login and no API key.

Empty input runs a short demo of the 20 newest cs.AI papers, so you can try the Actor from the Store without filling in a form.

**$0.001 per paper** ($1.00 per 1,000). Invalid inputs, unknown ids and searches with no matches are saved as free status rows. You are not charged for errors.

This Actor is an independent tool. It is not affiliated with or endorsed by arXiv. Thank you to arXiv for use of its open access interoperability.

### What you get

Each paid row has `status: ok` and `kind: paper`, with:

- `arxivId`, `version`, `versionedId`
- `title`, `abstract`
- `authors`, `authorCount`, `firstAuthor`, `affiliations`
- `primaryCategory`, `categories`
- `published`, `updated`, `publishedDate`
- `comment` (pages, figures, venue), `journalRef`, `doi`, `arxivDoi`
- `absUrl`, `pdfUrl`
- `query`, `source`, `rank` (position in the search results), `scrapedAt`

A paper that matches two of your searches is saved and charged once.

### How to run it

| Goal | Input |
| --- | --- |
| Keyword or phrase | `"searchTerms": ["retrieval augmented generation"]` |
| Several topics in one run | `"searchTerms": ["diffusion model", "mixture of experts"]` |
| Title only | `"searchTerms": ["transformer"], "searchField": "ti"` |
| Newest papers in a category | `"categories": ["cs.CL"]` |
| Topic inside categories | `"searchTerms": ["agents"], "categories": ["cs.AI", "cs.MA"]` |
| Papers by an author | `"authors": ["Yann LeCun"]` |
| Date window | `"categories": ["cs.LG"], "dateFrom": "2026-11-01", "dateTo": "2026-11-07"` |
| Specific papers | `"arxivIds": ["1706.03762", "https://arxiv.org/abs/2611.09891"]` |
| Raw arXiv query | `"advancedQuery": "ti:quantum ANDNOT cat:quant-ph"` |

Categories and authors are combined with OR inside each list, and with AND against your search terms. **Max papers per search** (default 100, up to 10,000) and **Max papers in total** cap the run. Sort by submission date (default, newest first), last updated date or relevance.

### Good uses

- Daily or weekly feed of new papers in your field, sent to Slack, email or Google Sheets with an Apify schedule and integration.
- Literature review lists with abstracts for screening.
- Datasets of titles and abstracts for embeddings, topic modeling or RAG.
- Tracking a lab's or an author's output.

### How it works

- Every request goes to the official arXiv API at `https://export.arxiv.org/api/query`. No HTML pages, no browser, no proxy.
- arXiv asks API users to make no more than one request every three seconds over one connection. The Actor waits 3.1 seconds between requests and never opens a second connection.
- Results are paged up to 500 papers per request, so 1,000 papers take about 2 requests and a few seconds of waiting.
- Tested on Apify on Nov 9, 2026: two topic searches in cs.CL and cs.LG returned 998 papers in 24 seconds at 256 MB.
- Each request sends a declared User-Agent with a contact address.
- Email addresses that sometimes appear in author comments are replaced with `[email removed]`.
- If arXiv rejects a batch of ids, the Actor retries those ids one at a time and reports the ones that still fail as free rows.

### Pricing

| Event | Price | When it is charged |
| --- | --- | --- |
| `paper` | $0.001 | One paper row with `status: ok` |
| (free) | $0 | `failed`, `not_found`, `invalid_input`, `empty` |

Examples: the 20-paper demo costs $0.02. A weekly feed of 300 new papers costs $0.30. Apify keeps 20% of pay-per-event revenue as its commission.

### Input example

```json
{
  "searchTerms": ["retrieval augmented generation"],
  "categories": ["cs.CL", "cs.AI"],
  "dateFrom": "2026-10-01",
  "sortBy": "submittedDate",
  "maxResultsPerQuery": 200
}
```

### Output example

```json
{
  "status": "ok",
  "kind": "paper",
  "arxivId": "1706.03762",
  "version": 7,
  "versionedId": "1706.03762v7",
  "title": "Attention Is All You Need",
  "abstract": "The dominant sequence transduction models are based on complex recurrent or convolutional neural networks ...",
  "authors": ["Ashish Vaswani", "Noam Shazeer", "Niki Parmar", "..."],
  "authorCount": 8,
  "firstAuthor": "Ashish Vaswani",
  "primaryCategory": "cs.CL",
  "categories": ["cs.CL", "cs.LG"],
  "published": "2017-06-12T17:57:34Z",
  "publishedDate": "2017-06-12",
  "comment": "15 pages, 5 figures",
  "arxivDoi": "10.48550/arXiv.1706.03762",
  "absUrl": "https://arxiv.org/abs/1706.03762v7",
  "pdfUrl": "https://arxiv.org/pdf/1706.03762v7",
  "query": "1706.03762",
  "source": "id"
}
```

The OUTPUT record in the key-value store has a run summary: papers saved, total arXiv matches per search, API requests, retries and the stop reason.

### Limits and notes

- arXiv returns at most 10,000 results per search through this Actor. Split bigger pulls by date window or category.
- The rate limit makes very large pulls slow by design: about 500 papers every 3 seconds at best.
- Metadata (titles, abstracts, authors, categories) is CC0 under the arXiv API terms. Paper PDFs stay on arxiv.org and keep their own licenses; the Actor returns links, not PDF files.
- Old versioned ids such as `hep-th/9901001v1` sometimes fail on arXiv's side; the Actor then falls back to the latest version.

### Integrations and API

Run it from the Apify API, a schedule, Make, Zapier, n8n, Google Sheets, webhooks or the Apify MCP server. Results are a standard Apify dataset (JSON, CSV, Excel, XML).

### FAQ

**Do I need an arXiv account or API key?** No.

**Why did my run take a while?** arXiv allows one API request every three seconds. The Actor respects that limit on every run.

**Are failed lookups charged?** No. Only `status: ok` paper rows are charged.

**Can I get full text?** The Actor returns the PDF link for each paper. Downloading and redistributing PDFs depends on each paper's license.

# Actor input Schema

## `searchTerms` (type: `array`):

Keywords or phrases. Each one is a separate search; multi-word terms are matched as a phrase. Combined with Categories, Authors and dates below. Leave everything empty for a demo of the 20 newest cs.AI papers.

## `searchField` (type: `string`):

Which field the search terms match.

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

arXiv category codes, matched with OR (examples: cs.AI, cs.CL, cs.LG, math.NT, hep-th, q-bio.GN, stat.ML). With no search terms, lists papers in these categories.

## `authors` (type: `array`):

Author names, matched with OR (example: Yann LeCun). With no search terms, lists papers by these authors.

## `arxivIds` (type: `array`):

Look up specific papers: ids (1706.03762, 2611.09891v1, hep-th/9901001), abs or pdf URLs, or 10.48550/arXiv DOIs.

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

Lower bound on the submission date, YYYY-MM-DD (UTC). Applies to searches, not to id lookups.

## `dateTo` (type: `string`):

Upper bound on the submission date, YYYY-MM-DD (UTC).

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

Newest first is best for monitoring; relevance is best for topic research.

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

Descending gives newest (or most relevant) first.

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

Stop each search after this many papers. arXiv allows paging up to 10,000 per search here.

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

Hard cap on paid papers for the whole run. 0 means no cap (the run still stops at your maximum cost per run).

## `advancedQuery` (type: `string`):

Optional raw arXiv search_query, run as its own search (example: ti:transformer ANDNOT cat:cs.CV). Field prefixes: ti, au, abs, co, jr, cat, rn, all. Operators: AND, OR, ANDNOT.

## `timeoutSecs` (type: `integer`):

Timeout for one arXiv API request. Large pages can take 20 s or more.

## Actor input object example

```json
{
  "searchTerms": [
    "retrieval augmented generation"
  ],
  "searchField": "all",
  "categories": [
    "cs.CL",
    "cs.AI"
  ],
  "authors": [],
  "arxivIds": [],
  "sortBy": "submittedDate",
  "sortOrder": "descending",
  "maxResultsPerQuery": 100,
  "maxItems": 0,
  "timeoutSecs": 60
}
```

# Actor output Schema

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

One item per paper, plus free status rows for failed, empty or invalid inputs.

## `runSummary` (type: `string`):

JSON summary: papers saved, total matches per search, API requests, stop reason and attribution.

# 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 = {
    "searchTerms": [
        "retrieval augmented generation"
    ],
    "categories": [
        "cs.CL",
        "cs.AI"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("joesimo/arxiv-papers").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 = {
    "searchTerms": ["retrieval augmented generation"],
    "categories": [
        "cs.CL",
        "cs.AI",
    ],
}

# Run the Actor and wait for it to finish
run = client.actor("joesimo/arxiv-papers").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 '{
  "searchTerms": [
    "retrieval augmented generation"
  ],
  "categories": [
    "cs.CL",
    "cs.AI"
  ]
}' |
apify call joesimo/arxiv-papers --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,joesimo/arxiv-papers"
        }
    }
}
```

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/wNJWEnDdRB5ITr0dn/builds/5KE36sO3AuGh9NMpF/openapi.json
