# arXiv Scraper – Papers, Authors & Abstracts (`biddata/arxiv-scraper`) Actor

Scrape arXiv papers by keyword or category. Export arXiv ID, title, authors, abstract, categories, submission date and PDF links as clean rows. Official arXiv API - no key, no browser. For researchers, R\&D teams and literature reviews.

- **URL**: https://apify.com/biddata/arxiv-scraper.md
- **Developed by:** [QIQI](https://apify.com/biddata) (community)
- **Categories:** Education, AI
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.00 / 1,000 result rows

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 Scraper – Papers, Authors & Abstracts by Keyword

**New arXiv papers for any topic or category — parsed straight from the official arXiv Atom API, with authors, abstract and PDF links in one flat row.**

arXiv is where physics, mathematics, computer science, quantitative biology, statistics and economics preprints appear first — months before journal publication. Around 20,000 new papers are posted every month.

The official export API returns Atom XML, which is awkward to consume in a spreadsheet or a pipeline. This Actor parses it, flattens the nested author and category lists, and returns one clean row per paper.

### Why this Actor

| | Typical scrapers | This Actor |
|---|---|---|
| Data source | HTML listing pages, sometimes JS-rendered | Official `export.arxiv.org/api/query` Atom feed |
| Breaks on redesign | Often | No — the Atom schema is stable |
| Proxies / CAPTCHA | Occasionally | Never |
| API key | Not available anyway | None needed |
| Output shape | Nested XML with namespaces | One flat row per paper, fixed schema |

### What you get

One dataset item per arXiv paper.

| Field | Type | Description |
|---|---|---|
| `arxiv_id` | string | arXiv identifier without the version suffix, e.g. 2611.14496. Stable key for de-duplication. |
| `title` | string | Paper title with line breaks and repeated whitespace collapsed. |
| `authors` | string | Author names in order, pipe separated, capped at 15 for readability. |
| `summary` | string | The paper abstract, whitespace-normalised. |
| `published` | string | First submission timestamp in ISO 8601 UTC, e.g. 2026-11-10T18:51:05Z. |
| `updated` | string | Last revision timestamp in ISO 8601 UTC. |
| `categories` | string | Primary category first, then cross-listed categories, pipe separated. |
| `pdf_url` | string | Direct PDF link on arxiv.org. |
| `abs_url` | string | Abstract page on arxiv.org. |

- **`arxiv_id`** -- The version suffix (`v1`, `v2`, …) is stripped so revisions of the same paper collapse onto one key.
- **`authors`** -- Capped at 15 names to keep rows readable; the full list is on `abs_url`.
- **`categories`** -- The primary category is always first, so `categories.split(' | ')[0]` gives you the paper's main field.

### Input

| Parameter | Type | Default | Description |
|---|---|---|---|
| `keyword` | string | `large language model` | **Required.** Phrase searched across titles, abstracts, authors and comments as `all:"<keyword>"`. Multi-word phrases are quoted automatically (large language model, graph neural network). |
| `maxResults` | integer | `25` | Maximum number of papers to save. The Actor requests up to 100 per call and pauses between calls, per arXiv's usage policy. |
| `category` | string | *(empty)* | arXiv category to restrict results to, e.g. cs.LG, cs.CL, stat.ML, quant-ph, econ.EM. Leave empty to search all categories. |
| `sortBy` | string (enum) | `submittedDate` | Ordering of the returned papers. submittedDate = newest submissions first (best for monitoring), lastUpdatedDate = recently revised first, relevance = arXiv relevance ranking. |

#### A note on `keyword`

arXiv's query language needs quoting for multi-word phrases — the Actor adds the quotes for you. Boolean operators are supported if you pass them explicitly, e.g. `transformer AND attention`.

#### A note on `sortBy`

`submittedDate` is what you want for daily monitoring; `relevance` is what the arXiv website uses by default.

### Usage examples

**1. Newest machine learning papers mentioning a phrase**

```json
{
  "keyword": "large language model",
  "category": "cs.LG",
  "maxResults": 50
}
```

**2. Everything recently revised on a topic, any category**

```json
{
  "keyword": "graph neural network",
  "sortBy": "lastUpdatedDate",
  "maxResults": 100
}
```

Schedule a daily run and push new papers to Slack, Notion or a reading list. De-duplicate on `arxiv_id` together with `updated` to catch revisions of papers you already have.

### Data notes

- arXiv rate-limits API clients and asks for at most one request every 3 seconds; this Actor pauses 3 seconds between pages and uses a single request for runs under 100 papers.
- Preprints are not peer reviewed. Treat the abstract as the author's claim, not a validated result.
- Withdrawn papers can still appear in search results for a while; arXiv marks them on the abstract page.

### Pricing

This Actor uses pay-per-event pricing. You only pay for what you actually get.

| Event | Price | When it is charged |
|---|---|---|
| Actor start | $0.002 | Once per run |
| Result row | $0.002 per row | For every row saved to the dataset |

That works out to **$2 per 1,000 rows**. A typical run returning 50 rows costs about **$0.10** in total.

No subscription is required. You can cap your spend with the max cost per run setting in Apify Console, and an empty or invalid input charges only the start event.

### FAQ

**Do I need an API key?**

No. The arXiv export API is public and anonymous. arXiv asks for polite usage rather than credentials, and this Actor honours that with delays between requests.

**Is this legal?**

Yes. arXiv publishes this API for programmatic access and its terms allow reuse of metadata. Note that paper full texts carry the authors' own licences — check the licence on each abstract page before redistributing PDFs.

**Why are there fewer results than `maxResults`?**

Because fewer papers matched your phrase inside that category, or because arXiv's relevance query returned a short page. Broadening the keyword or clearing `category` increases the count.

**Can I search by author?**

Yes, indirectly: put the author name in `keyword` — it is searched as `all:"..."`, which covers the author field. For precise author queries, use the arXiv `au:` syntax directly in the keyword field.

### Related Actors

More data tools from the same publisher:

- [App Store Reviews Scraper](https://apify.com/biddata/app-reviews-scraper) - App Store and Steam user reviews with ratings, versions and dates.
- [EU Tenders Scraper](https://apify.com/biddata/ted-tenders-scraper) - EU public procurement notices from the official TED API.
- [ClinicalTrials.gov Scraper](https://apify.com/biddata/clinicaltrials-scraper) - Clinical trial records with phase, status and sponsor.
- [Federal Register Scraper](https://apify.com/biddata/federal-register-scraper) - US Federal Register documents, rules and notices.
- [Hacker News Scraper](https://apify.com/biddata/hackernews-scraper) - Hacker News stories by keyword, top ranking or newest.
- [Weather Scraper](https://apify.com/biddata/weather-scraper) - Weather forecast and history for any city worldwide.

### Disclaimer

All data is retrieved in real time from **arXiv.org**, operated by Cornell University, via its public export API. This Actor is an independent tool and is not affiliated with, endorsed by, or sponsored by arXiv or Cornell University.

arXiv content is posted by authors and is generally not peer reviewed; metadata can be corrected, replaced or withdrawn. Verify any paper against its `abs_url` before citing it. This dataset is a discovery aid, not scholarly advice.

# Actor input Schema

## `keyword` (type: `string`):

Phrase searched across titles, abstracts, authors and comments as `all:"<keyword>"`. Multi-word phrases are quoted automatically (large language model, graph neural network).

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

Maximum number of papers to save. The Actor requests up to 100 per call and pauses between calls, per arXiv's usage policy.

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

arXiv category to restrict results to, e.g. cs.LG, cs.CL, stat.ML, quant-ph, econ.EM. Leave empty to search all categories.

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

Ordering of the returned papers. submittedDate = newest submissions first (best for monitoring), lastUpdatedDate = recently revised first, relevance = arXiv relevance ranking.

## Actor input object example

```json
{
  "keyword": "large language model",
  "maxResults": 25,
  "category": "",
  "sortBy": "submittedDate"
}
```

# Actor output Schema

## `dataset` (type: `string`):

All collected records in the default dataset, one row per record.

# 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 = {
    "keyword": "large language model",
    "maxResults": 25,
    "category": "",
    "sortBy": "submittedDate"
};

// Run the Actor and wait for it to finish
const run = await client.actor("biddata/arxiv-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 = {
    "keyword": "large language model",
    "maxResults": 25,
    "category": "",
    "sortBy": "submittedDate",
}

# Run the Actor and wait for it to finish
run = client.actor("biddata/arxiv-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 '{
  "keyword": "large language model",
  "maxResults": 25,
  "category": "",
  "sortBy": "submittedDate"
}' |
apify call biddata/arxiv-scraper --silent --output-dataset

```

## MCP server setup

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