# arXiv Scraper: Research Papers, Abstracts, Authors, Citations (`zhtech/arxiv-scraper`) Actor

Search arXiv research papers by keyword, title, author, abstract, category and date range, or look up arXiv IDs and links. Get titles, abstracts, authors, categories, dates, DOI, journal reference, PDF links, versions and optional OpenAlex citation counts.

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

## Pricing

from $0.25 / 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

## arXiv Scraper: research papers, abstracts, authors, categories and citations

Search **arXiv research papers** by keyword, title, author, abstract, category and submission date, or look up papers by **arXiv ID or link**. Every paper comes back as a clean row with its **title, full abstract, authors, primary and secondary categories, published and updated dates, version, DOI, journal reference, comments, PDF and abstract links**. Turn on **citation counts** and each paper also gets its citation count, citations per year, venue and field weighted citation impact from OpenAlex.

No login, no API key, no proxy. The actor uses the official arXiv API and follows its rules: one request at a time, at least 3 seconds apart. 1,000 papers take about 15 to 20 seconds.

### What can this arXiv scraper do?

| You give it | You get |
|---|---|
| Keywords or a phrase (`large language models`, `"protein folding"`) | Papers that match in any field, newest first or by relevance |
| Advanced arXiv syntax (`ti:transformer AND abs:"protein folding" ANDNOT cat:cs.CV`) | Exactly what the arXiv search engine returns for it, validated first |
| Categories (`cs.AI`, `cs.LG`, `math.CO`, `hep-th`, or a whole archive like `physics`) | A category feed, for example every new cs.CL paper this week |
| Authors | Papers by one or more authors or collaborations |
| A submission date range (`2026-01-01` to `2026-03-31`, or `7 days`) | Only papers first submitted in that window |
| arXiv IDs or links (`2301.00001`, `1706.03762v5`, `hep-th/9901001`, abs, pdf and html links, the arXiv DOI, Hugging Face Papers links) | The exact papers and versions you asked for, plus a free error row for each unknown ID |

Fields on every paper row: `arxivId`, `version`, `arxivIdVersioned`, `title`, `abstract`, `authors`, `authorsDetailed` (name and affiliations when arXiv has them), `firstAuthor`, `authorCount`, `primaryCategory`, `primaryCategoryName`, `categories`, `categoryNames`, `published`, `updated`, `publishedDate`, `updatedDate`, `isRevised`, `doi`, `doiUrl`, `arxivDoi`, `journalRef`, `isPublishedInJournal`, `comments`, `pageCount`, `figureCount`, `tableCount`, `absUrl`, `pdfUrl`, `absUrlLatest`, `pdfUrlLatest`, `source`, `searchRank` or `input`, `scrapedAt`. With citations on: `citationCount`, `citationsByYear`, `venue`, `fwci`, `openAlexId`, `openAlexMatchedBy`, `citationSource`.

### Why this actor

- **Official arXiv API, done right.** No scraping of arxiv.org pages, nothing that breaks when the website changes. Requests are spaced more than 3 seconds apart on a single connection, as the arXiv API Terms of Use ask.
- **Complete rows.** The full abstract (cleaned of line breaks), every author, every category with its readable name, the version number and both versioned and latest links, the journal DOI and the arXiv DataCite DOI, journal reference, author comments, and page, figure and table counts read from the comments.
- **Search that is easy and still powerful.** Plain words become an all fields search where every word must match, quoted phrases stay phrases, and categories, authors and dates are combined for you. Field prefixes, AND, OR, ANDNOT and parentheses pass straight through.
- **Clear errors instead of silent zeros.** arXiv quietly returns nothing for a typo such as `tl:transformer` or `cat:cs.AII`. This actor checks prefixes, categories, dates and IDs first and tells you exactly what to fix. Unknown or malformed IDs get their own error row, never charged.
- **Optional citation counts.** OpenAlex citation counts (open CC0 data), per year history, venue and FWCI, looked up 50 papers at a time. You only pay the citation price for papers that actually got a count.
- **Fair billing.** Pay per event, no platform usage fees on top. Error rows, duplicates and anything after your limit are free. Invalid input stops before the start fee.

### Use cases

- **Literature reviews and systematic reviews**: pull every paper on a topic in a date window into a spreadsheet, with abstracts and DOIs.
- **Daily or weekly paper alerts**: schedule a run on `cs.CL` or your keywords with `Submitted from: 1 day` and send new papers to Slack, email or Notion.
- **AI and RAG pipelines**: feed clean titles, abstracts and links into LLMs, vector databases, summarizers or research agents.
- **Research analytics**: count papers per category or month, track co-authorship, find the most cited work in a niche with citation counts.
- **Reference managers and reading lists**: turn a list of arXiv links into structured metadata with journal versions and DOIs.
- **Market and technology scouting**: follow what labs and collaborations publish in a field.

### How to use

1. Enter a **search query**, or pick **categories**, **authors**, or paste **arXiv IDs or links**.
2. Optionally set a **submission date range** and the **sort order**.
3. Set **Max results** (the arXiv API allows up to 30,000 per search).
4. Optionally turn on **Add citation counts (OpenAlex)**.
5. Click **Start**. Results appear in the **Papers**, **Papers with citations** and **Errors** tabs and export to JSON, CSV, Excel or XML.

### Input examples

The prefilled example: the 25 newest papers that mention large language models.

```json
{
    "searchQuery": "large language models",
    "maxResults": 25
}
```

Every new paper in two categories on two days, oldest first:

```json
{
    "categories": ["cs.CL", "cs.AI"],
    "dateFrom": "2026-11-01",
    "dateTo": "2026-11-02",
    "sortBy": "submittedDate",
    "sortOrder": "ascending",
    "maxResults": 1000
}
```

Advanced query, most relevant first:

```json
{
    "searchQuery": "ti:transformer AND abs:\"protein folding\" ANDNOT cat:cs.CV",
    "sortBy": "relevance",
    "maxResults": 100
}
```

The most relevant 2023 computer vision papers on diffusion models, with citation counts:

```json
{
    "searchQuery": "ti:\"diffusion models\"",
    "categories": ["cs.CV"],
    "dateFrom": "2023-01-01",
    "dateTo": "2023-12-31",
    "sortBy": "relevance",
    "maxResults": 200,
    "includeCitations": true
}
```

Look up papers from a reading list:

```json
{
    "arxivIds": [
        "1706.03762",
        "https://arxiv.org/abs/2106.09685v2",
        "https://arxiv.org/pdf/1810.04805.pdf",
        "hep-ex/0307015",
        "10.48550/arXiv.2005.14165"
    ],
    "includeCitations": true
}
```

A daily alert for a collaboration (schedule it once a day):

```json
{
    "authors": ["ATLAS Collaboration"],
    "dateFrom": "2 days",
    "maxResults": 500
}
```

### Output example

A paper row with citation counts (abstract shortened):

```json
{
    "type": "paper",
    "source": "id",
    "input": "hep-ex/0307015",
    "arxivId": "hep-ex/0307015",
    "version": 1,
    "arxivIdVersioned": "hep-ex/0307015v1",
    "title": "Multi-Electron Production at High Transverse Momenta in ep Collisions at HERA",
    "abstract": "Multi-electron production is studied at high electron transverse momentum in positron- and electron-proton collisions using the H1 detector at HERA. ...",
    "authors": ["H1 Collaboration"],
    "authorsDetailed": [{ "name": "H1 Collaboration", "affiliations": [] }],
    "firstAuthor": "H1 Collaboration",
    "authorCount": 1,
    "primaryCategory": "hep-ex",
    "primaryCategoryName": "High Energy Physics - Experiment",
    "categories": ["hep-ex"],
    "categoryNames": ["High Energy Physics - Experiment"],
    "published": "2003-07-07T17:46:39.000Z",
    "updated": "2003-07-07T17:46:39.000Z",
    "publishedDate": "2003-07-07",
    "updatedDate": "2003-07-07",
    "isRevised": false,
    "doi": "10.1140/epjc/s2003-01326-x",
    "doiUrl": "https://doi.org/10.1140/epjc/s2003-01326-x",
    "arxivDoi": "10.48550/arXiv.hep-ex/0307015",
    "journalRef": "Eur.Phys.J.C31:17-29,2003",
    "isPublishedInJournal": true,
    "comments": "23 pages, 8 figures and 4 tables",
    "pageCount": 23,
    "figureCount": 8,
    "tableCount": 4,
    "absUrl": "https://arxiv.org/abs/hep-ex/0307015v1",
    "pdfUrl": "https://arxiv.org/pdf/hep-ex/0307015v1",
    "absUrlLatest": "https://arxiv.org/abs/hep-ex/0307015",
    "pdfUrlLatest": "https://arxiv.org/pdf/hep-ex/0307015",
    "citationCount": 37,
    "citationSource": "OpenAlex",
    "openAlexId": "W1956653009",
    "openAlexMatchedBy": "arxivDoi",
    "venue": "The European Physical Journal C",
    "citationsByYear": [{ "year": 2026, "citations": 1 }, { "year": 2016, "citations": 1 }],
    "fwci": 1.7183,
    "scrapedAt": "2026-11-22T01:48:59.947Z"
}
```

Search rows have `"source": "search"` and `searchRank` (position in the arXiv result order) instead of `input`.

An error row (never charged):

```json
{
    "type": "error",
    "input": "2301.99999",
    "errorCode": "NOT_FOUND",
    "error": "arXiv has no paper with the ID 2301.99999.",
    "arxivId": "2301.99999",
    "absUrl": "https://arxiv.org/abs/2301.99999"
}
```

Error codes: `INVALID_ID` (not an arXiv ID or link), `NOT_FOUND` (valid format but no such paper or version), `API_ERROR` (arXiv rejected the request), `RATE_LIMITED`, `BLOCKED`, `FAILED`.

A `RUN_SUMMARY` record in the key-value store lists the final arXiv query, the total number of matches arXiv reported, pages read, citation match counts and why the run stopped.

### Search syntax cheat sheet

| Prefix | Field | Example |
|---|---|---|
| `ti:` | Title | `ti:"graph neural network"` |
| `au:` | Author | `au:"ATLAS Collaboration"` |
| `abs:` | Abstract | `abs:reinforcement` |
| `co:` | Comments | `co:NeurIPS` |
| `jr:` | Journal reference | `jr:"Phys. Rev. Lett."` |
| `cat:` | Category | `cat:cs.LG` |
| `rn:` | Report number | `rn:CERN` |
| `all:` | All of the above | `all:diffusion` |

Combine with `AND`, `OR`, `ANDNOT` (upper case) and parentheses: `(ti:llm OR ti:"language model") AND cat:cs.CL ANDNOT ti:survey`. Plain words without a prefix are searched in all fields and every word must match.

### Field notes

- **published** is when the first version was submitted, **updated** when the latest version (or the version you asked for) was submitted. Dates are UTC.
- **version**: an ID without a version returns the latest one. `isRevised` is true from version 2 on. `absUrl` and `pdfUrl` point to the exact version, `absUrlLatest` and `pdfUrlLatest` always to the newest.
- **doi** and **journalRef** are filled in by authors after publication, so many preprints have none. `arxivDoi` (10.48550/arXiv.ID) exists for every paper.
- **pageCount**, **figureCount** and **tableCount** are read from the author comments (for example "23 pages, 8 figures and 4 tables") and are null when the comments do not say.
- **affiliations** are only present when the submitter entered them, which is rare.
- **Citation counts** come from OpenAlex and are matched by the arXiv DOI, then the journal DOI, then the exact title (`openAlexMatchedBy`). Very new papers often have no citation data yet; those rows have `citationCount: null` and are charged as plain papers. OpenAlex merges a preprint with its journal version, so the count covers both.
- **Date range and sort**: the date range filters on the first submission date. With "Last updated date" sorting you see recently revised papers first, but the date range still applies to the first submission.
- **PDFs** are linked, not downloaded. arXiv's terms ask tools to send users to arXiv.org for the files.

### Pricing

Pay per event, you only pay for what is delivered:

- **Actor start**: a small flat fee once per run.
- **Paper**: per paper row.
- **Paper with citations**: per paper row that also got an OpenAlex citation count (only when citation counts are turned on).

The current prices are on the Pricing tab. Never charged: error rows (invalid or unknown IDs, API errors), duplicates, and anything after your max total charge or Max results is reached. Input that cannot work (bad query syntax, unknown category, impossible date) stops the run before the start fee.

Typical runs: the prefilled example is 1 start and 25 papers. A week of new cs.LG papers is about 1,500 to 2,500 papers.

### Use with the API, integrations and AI agents

- **API**: `POST https://api.apify.com/v2/acts/zhtech~arxiv-scraper/run-sync-get-dataset-items?token=YOUR_APIFY_TOKEN` with the JSON input as the body returns the rows in one call. Add `&view=papers` (or `citations`, `errors`) for one view.
- **Clients**: `apify-client` for JavaScript and Python. Example (JavaScript): `await client.actor('zhtech/arxiv-scraper').call({ categories: ['cs.CL'], dateFrom: '1 day', maxResults: 500 })`.
- **Schedules and integrations**: run it daily with `Submitted from: 1 day` and connect Google Sheets, Slack, a webhook, Zapier, Make or n8n.
- **LLMs and MCP**: the actor works as a tool through the Apify MCP server (mcp.apify.com), so Claude, ChatGPT, Cursor and other agents can search arXiv or fetch paper metadata on demand. Set a max total charge on the run to cap the cost.

### FAQ

**Do I need an arXiv account or API key?**
No. The arXiv API is public. Citation counts use OpenAlex, which also works without a key; an optional free OpenAlex key only matters for very large citation runs.

**How many papers can I get?**
Up to 30,000 per search, which is the arXiv API limit. For more, split the search into date ranges (for example one run per month) and combine the datasets.

**How fast is it?**
arXiv allows one request every 3 seconds. The actor asks for 200 papers per request, so 1,000 papers take about 15 to 20 seconds and 10,000 papers about 3 minutes.

**Why does my search return nothing?**
Check the spelling of field prefixes and categories (the actor stops with a message for unknown ones), whether quotes and parentheses are closed, and whether the date range is too narrow. The run ends with a clear status message when arXiv has no match.

**I gave only categories (or only IDs). Why was the example query not used?**
When you set categories, authors or IDs and leave the search query at the example value, the example query is ignored so it does not narrow your results. Write any other query to combine them.

**Does it download PDFs or full text?**
No. It returns PDF and abstract links. arXiv's Terms of Use ask tools to link to arXiv.org instead of re-serving the files, and most papers are not licensed for redistribution.

**Where do citation counts come from and how accurate are they?**
From OpenAlex, an open scholarly index (CC0 data). Counts are similar to other open indexes and usually lower than Google Scholar, which also counts non scholarly sources. Counts update as OpenAlex updates.

**Is it legal to use arXiv data?**
Yes, arXiv publishes its descriptive metadata (titles, abstracts, authors, identifiers, categories) under CC0 and offers the API for tools like this one. The paper texts belong to their authors or publishers; follow each paper's license if you reuse its content.

**Is this an official arXiv product?**
No. This actor is independent and is not affiliated with, endorsed or supported by arXiv or Cornell University. Thank you to arXiv for use of its open access interoperability.

### Limitations

- The arXiv API returns at most 30,000 papers per search and allows one request every 3 seconds, so very large exports take time and need date splitting.
- The date filter works on the first submission date only.
- arXiv's search engine has its own matching rules (stemming, punctuation). Relevance order can differ from the arxiv.org website.
- Affiliations, DOI and journal reference are often empty because authors do not provide them.
- Citation counts depend on OpenAlex coverage; new papers may show none. Without a key, OpenAlex shares a small daily budget per IP address; if it runs out, the run continues without citations and says so in the log.

### Support

Found a wrong field, a query that behaves oddly, or need another data point? Open an issue on the Issues tab with the input you used and it will be looked at quickly.

Thank you to arXiv for use of its open access interoperability.

# Actor input Schema

## `searchQuery` (type: `string`):

Words or a phrase to search for. Plain words are searched in all fields and all of them must match (large language models). Use "double quotes" for an exact phrase. Advanced: field prefixes ti: (title), au: (author), abs: (abstract), co: (comment), jr: (journal reference), cat: (category), rn: (report number), all:, with AND, OR, ANDNOT and parentheses, for example ti:transformer AND abs:"protein folding" ANDNOT cat:cs.CV. Leave empty to search only by category, author or ID.

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

Only papers listed in at least one of these arXiv categories, for example cs.AI, cs.LG, cs.CL, stat.ML, math.CO, hep-th, q-bio.NC. A whole archive such as physics or math also works. Combined with the search query using AND.

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

Only papers by at least one of these authors. A full name in quotes is matched as written, a single word matches last names. Collaborations work too (ATLAS Collaboration). Combined with the search query using AND.

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

Only papers first submitted on or after this date. YYYY-MM-DD (UTC), YYYY-MM, YYYY, or a relative value such as 7 days, 2 weeks, 3 months. Leave empty for no lower limit.

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

Only papers first submitted on or before this date. Same formats as above; a plain date includes the whole UTC day and a month the whole month. Leave empty for no upper limit.

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

Look up specific papers, one per line: 2301.00001, 1706.03762v5, arXiv:2106.09685, hep-th/9901001, https://arxiv.org/abs/2301.00001, a /pdf/ or /html/ link, or the arXiv DOI 10.48550/arXiv.2301.00001. Without a version you get the latest one. Unknown or malformed IDs return an error row that is not charged. Runs in addition to the search, if you also set one.

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

Submission date gives a feed of the newest papers. Relevance ranks by how well each paper matches the query. Last updated date catches new versions of older papers.

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

Descending puts the newest (or most relevant) papers first.

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

Maximum papers to save from the search (papers looked up by ID are not counted). The arXiv API returns at most 30,000 papers per search; for more, split the search by date range. The arXiv API allows one request every 3 seconds, and each request returns up to 200 papers, so 1,000 papers take about 15 to 30 seconds.

## `includeCitations` (type: `boolean`):

Adds citationCount, citationsByYear, venue, FWCI and the OpenAlex ID to each paper, looked up on OpenAlex (open CC0 data) in batches of 50 papers. Rows with a citation count are charged as paper-with-citations; papers OpenAlex does not know yet are charged as plain papers. New papers often have no citation data in their first weeks.

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

Not needed for normal use. Without a key, OpenAlex gives a small free daily budget per IP address, shared with other users. A free key from openalex.org/settings/api gives you your own budget for very large citation runs.

## `proxyConfiguration` (type: `object`):

Not needed: the arXiv API is public and the actor calls it at arXiv's own rate. Residential proxies are not supported and are replaced by Apify datacenter proxy.

## Actor input object example

```json
{
  "searchQuery": "large language models",
  "sortBy": "submittedDate",
  "sortOrder": "descending",
  "maxResults": 25,
  "includeCitations": false,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# Actor output Schema

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

No description

## `citations` (type: `string`):

No description

## `errors` (type: `string`):

No description

## `allResults` (type: `string`):

No description

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

No description

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

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

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

```

## MCP server setup

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