# arXiv Scraper – Paper Search & Metadata API (`unnoted/arxiv-papers-api`) Actor

Search arXiv papers by keyword, full query, category and submission date, or look up paper ids. Get title, abstract, authors, categories, dates, DOI, journal reference and PDF link for each paper. Sort by relevance or newest. Export JSON, CSV or Excel. Unofficial.

- **URL**: https://apify.com/unnoted/arxiv-papers-api.md
- **Developed by:** [Unnoted](https://apify.com/unnoted) (community)
- **Categories:** AI, Other
- **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 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

### What does arXiv Scraper – Paper Search & Metadata API do?

arXiv Scraper searches arXiv, the open archive of research preprints, and returns each paper's metadata: title, abstract, authors, categories, submission and update dates, DOI, journal reference and links to the abstract page and PDF, as clean rows ready to export or call by API.

Unofficial, not affiliated with arXiv.

**Main features:** search by keyword, up to 100,000 papers per run, no login needed, export to JSON, CSV or Excel, and full API and scheduling support on Apify.

### What data can you get from arXiv?

Each paper is one row with these fields:

| Field | Description |
|---|---|
| `arxivId` | arXiv id without version (e.g. 1706.03762 or hep-th/9711200) (always filled) |
| `title` | Paper title (always filled) |
| `absUrl` | Abstract page on arxiv.org (this version) (always filled) |
| `version` | Version number (e.g. 7 for v7): the latest, unless an id named one |
| `abstract` | Abstract, on one line |
| `authors` | Author names, as listed on the paper |
| `primaryCategory` | Primary arXiv category (e.g. cs.CL) |
| `categories` | All arXiv categories of the paper (e.g. cs.CL, cs.LG) |
| `publishedAt` | When version 1 was submitted (ISO 8601) |
| `updatedAt` | When the latest version was submitted (ISO 8601) |
| `doi` | DOI of the published version, when the authors gave one |
| `journalRef` | Journal reference, when the authors gave one (e.g. Adv.Theor.Math.Phys.2:231-252,1998) |
| `comment` | Authors' note on the paper (e.g. 15 pages, 5 figures; accepted at NeurIPS) |
| `pdfUrl` | PDF on arxiv.org (this version) |
| `searchQuery` | The arXiv query that found the paper, filters included (empty for id lookups) |
| `scrapedAt` | When the paper was collected (ISO 8601) |

### How to scrape arXiv with arXiv Scraper – Paper Search & Metadata API

1. Open arXiv Scraper – Paper Search & Metadata API on Apify and go to the **Input** tab.
2. In **Search query (arXiv syntax)**, enter `all:transformer`.
3. In **Max papers**, enter `50`.
4. Click **Start** and wait for the run to finish. A small run like this one takes under a minute.
5. Open the **Output** tab to see the results, or download them as JSON, CSV, Excel or HTML.

### Input

See the **Input** tab for every option. The fields:

| Field | Name | What it does | Default |
|---|---|---|---|
| `searchQuery` | Search query (arXiv syntax) | A search in arXiv's query syntax, e.g. `all:transformer` or `ti:"diffusion model" AND cat:cs.CV`. |  |
| `keywords` | Keywords | Plain keywords or phrases, one search each, matched in any field (e.g. graph neural network, dark matter). Use this instead of a query if you don't need arXiv's syntax. |  |
| `categories` | Categories | arXiv category codes, e.g. cs.CL, cs.LG, math.AG, hep-th, q-bio.NC. With a query or keywords, only papers in any of these categories; on their own, every paper in them (newest first if you sort by date). |  |
| `dateFrom` | Submitted from (YYYY-MM-DD) | Only papers first submitted on or after this day (YYYY-MM-DD, e.g. 2024-01-01). Applies to the query, keywords and categories. |  |
| `dateTo` | Submitted until (YYYY-MM-DD) | Only papers first submitted on or before this day (YYYY-MM-DD). |  |
| `sortBy` | Sort by | Order of the results. With a sort by date, a run with Max papers set to 100 gets the 100 newest. Options: `relevance` (Relevance), `submittedDate` (Newest submitted first), `lastUpdatedDate` (Newest updated first). | `"relevance"` |
| `arxivIds` | arXiv paper ids | Paper ids or arxiv.org links, e.g. `1706.03762` or `https://arxiv.org/abs/hep-th/9711200`. |  |
| `maxItems` | Max papers | Maximum number of papers in total, across all searches. You pay only for papers saved. | `100` |

Example input:

```json
{
  "searchQuery": "all:transformer",
  "maxItems": 50
}
```

### Output

You can download the dataset in various formats such as JSON, HTML, CSV, or Excel. One real result:

```json
{
  "arxivId": "2201.00978",
  "version": 1,
  "title": "PyramidTNT: Improved Transformer-in-Transformer Baselines with Pyramid Architecture",
  "abstract": "Transformer networks have achieved great progress for computer vision tasks. Transformer-in-Transformer (TNT) architecture utilizes inner transformer and outer transformer to extract both local and global representations. In this work, we present new TNT baselines by introducing two advanced designs: 1) pyramid architecture, and 2) convolutional stem. The new \"PyramidTNT\" significantly improves the original TNT by establishing hierarchical representations. PyramidTNT achieves better performances than the previous state-of-the-art vision transformers such as Swin Transformer. We hope this new baseline will be helpful to the further research and application of vision transformer. Code will be available at https://github.com/huawei-noah/CV-Backbones/tree/master/tnt_pytorch.",
  "authors": [
    "Kai Han",
    "Jianyuan Guo",
    "Yehui Tang",
    "Yunhe Wang"
  ],
  "primaryCategory": "cs.CV",
  "categories": [
    "cs.CV"
  ],
  "publishedAt": "2022-01-04T04:56:57Z",
  "updatedAt": "2022-01-04T04:56:57Z",
  "doi": null,
  "journalRef": null,
  "comment": "Tech Report. An extension of \"Transformer in Transformer\" (arXiv:2103.00112)",
  "absUrl": "https://arxiv.org/abs/2201.00978v1",
  "pdfUrl": "https://arxiv.org/pdf/2201.00978v1",
  "searchQuery": "all:transformer",
  "scrapedAt": "2026-10-08T21:59:50.000Z"
}
```

### How much does it cost to scrape arXiv?

arXiv Scraper – Paper Search & Metadata API uses pay-per-event pricing: **$2.00 per 1,000 papers** (Paper). You pay only for papers saved to the dataset; platform usage is included in the price. Each run also has Apify's standard start fee of a fraction of a cent.

| Papers | Price |
|---|---|
| 100 | $0.20 |
| 1,000 | $2.00 |
| 10,000 | $20.00 |

Set **Max items** (and the run's maximum cost in the run options) to cap what a run can spend. The run stops when either limit is reached.

### Use cases

- **Literature monitoring:** schedule a daily run on your topic or category, sorted by newest, and send new papers to Google Sheets, Slack or email.
- **Research datasets:** collect titles and abstracts for a field (e.g. cs.CL in 2024) to analyse trends or train and evaluate models.
- **Citation and reference tools:** look up metadata, DOI and journal reference for a list of arXiv ids.
- **AI and RAG pipelines:** feed abstracts and PDF links into your own search or summarisation system.
- **Competitive and tech scouting:** track what labs and fields publish on a technology, week by week.

### Tips

- Use keywords for plain-language searches; use the search query for arXiv's syntax, e.g. `ti:"vision transformer" AND cat:cs.CV` or `au:lecun`.
- Categories on their own list a whole category; sort by newest submitted to get the latest papers first.
- arXiv reads one search at most 10,000 results deep. For more, split the run by date (dateFrom / dateTo) or by category.
- Dates filter on when version 1 was submitted, the date arXiv shows as "Submitted".
- Max papers is shared fairly across the query, each keyword and the id list.

### FAQ

#### Is it legal to scrape arXiv?

arXiv Scraper – Paper Search & Metadata API collects only data that arXiv shows publicly to every visitor, and it leaves out personal data such as private profiles and contact details. Our Actors are ethical and do not extract private user data. Results could still contain personal data in titles or descriptions written by uploaders. Personal data is protected by the GDPR in the European Union and by other regulations around the world. You should not scrape personal data unless you have a legitimate reason to do so. If you're unsure whether your reason is legitimate, consult your lawyers. You are responsible for how you use the data.

#### Can I use it through an API?

Yes. Every Apify Actor has an API: start runs, pass input and read results over HTTP, or use the JavaScript and Python clients. See the **API** tab on the Actor page for ready-made examples.

#### Can I schedule runs and connect other apps?

Yes. Use Apify **Schedules** to run arXiv Scraper – Paper Search & Metadata API every hour, day or week, and integrations (Make, Zapier, Google Sheets, webhooks and more) to send the results where you need them.

#### Why did I get fewer results than expected?

The run stops at **Max items** or at the run's maximum cost, whichever comes first. arXiv may also return fewer results for rare search terms. Duplicates across search terms are saved once. Check the run's `RUN_SUMMARY` record in the key-value store for the inputs that returned nothing.

#### What if it stops working?

Sites change. We run a daily check of our own and fix breakages quickly. If something looks wrong, open an issue in the **Issues** tab with the run link and we'll look at it.

#### Does it download the PDFs?

No. Each paper comes with its PDF link (pdfUrl) on arxiv.org; open or download it from there. Papers keep their authors' copyright, so link back to arXiv rather than re-hosting them.

#### What query syntax can I use?

arXiv's own: field prefixes ti (title), au (author), abs (abstract), co (comment), jr (journal reference), cat (category), all (any field); AND, OR, ANDNOT; parentheses; quotes for phrases. A query arXiv can't read fails with arXiv's own message.

#### Why fewer papers than arXiv reports?

arXiv returns at most 10,000 results per search. Narrow the search by date or category, or split it into several runs or keywords.

#### Can I reuse the data?

arXiv publishes its metadata (titles, abstracts, authors) under CC0. The papers themselves keep their own licences.

### Not included

No personal data beyond author names as printed on each paper: no affiliations, emails or other contact details. Full text and PDF files are not downloaded; each paper links to them on arxiv.org.

### More Actors from us

- [AliExpress Search Scraper – Products & Prices](https://apify.com/unnoted/aliexpress-product-search)
- [BBB Scraper – Business Ratings & Accreditation](https://apify.com/unnoted/bbb-business-search)
- [Bilibili Scraper – Video Search & Stats API](https://apify.com/unnoted/bilibili-video-scraper)
- [Bumeran Jobs Scraper – LATAM Job Listings](https://apify.com/unnoted/bumeran-job-listings)
- [ClinicalTrials.gov Scraper – Studies API](https://apify.com/unnoted/clinicaltrials-gov-search)
- [CMS Provider Data Scraper – Hospitals & Ratings](https://apify.com/unnoted/cms-hospital-data)
- [Foundit Jobs Scraper – India Job Listings API](https://apify.com/unnoted/foundit-job-listings)
- [Google Jobs Scraper – Job Listings API](https://apify.com/unnoted/google-jobs-listings)
- [Google Play Reviews Scraper – App Reviews API](https://apify.com/unnoted/google-play-reviews-scraper)
- [Google Trends Scraper – Interest & Related Queries](https://apify.com/unnoted/google-trends-data)
- [Idealo Scraper – Price Comparison Data](https://apify.com/unnoted/idealo-price-search)
- [Kleinanzeigen Scraper – Listings & Prices](https://apify.com/unnoted/kleinanzeigen-listings-scraper)
- [Mercari Japan Scraper – Listings & Prices API](https://apify.com/unnoted/mercari-japan-search)
- [FDA Recalls Scraper – openFDA Enforcement API](https://apify.com/unnoted/openfda-recalls)
- [Resident Advisor Scraper – RA Event Listings](https://apify.com/unnoted/resident-advisor-events)
- [Sainsbury's Scraper – UK Grocery Prices](https://apify.com/unnoted/sainsburys-grocery-search)
- [Stack Overflow Scraper – Questions & Answers API](https://apify.com/unnoted/stackoverflow-questions)
- [Tokopedia Scraper – Product Search & Prices](https://apify.com/unnoted/tokopedia-product-search)
- [Workday Jobs Scraper – Any Careers Site](https://apify.com/unnoted/workday-jobs-scraper)
- [Yandex Maps Scraper – Places & Business Data](https://apify.com/unnoted/yandex-maps-places)

# Actor input Schema

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

A search in arXiv's own query syntax, e.g. all:transformer, ti:"large language model" AND cat:cs.CL, or au:hinton. Prefixes: ti (title), au (author), abs (abstract), cat (category), all (any field); combine with AND, OR, ANDNOT.

## `keywords` (type: `array`):

Plain keywords or phrases, one search each, matched in any field (e.g. graph neural network, dark matter). Use this instead of a query if you don't need arXiv's syntax.

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

arXiv category codes, e.g. cs.CL, cs.LG, math.AG, hep-th, q-bio.NC. With a query or keywords, only papers in any of these categories; on their own, every paper in them (newest first if you sort by date).

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

Only papers first submitted on or after this day (YYYY-MM-DD, e.g. 2024-01-01). Applies to the query, keywords and categories.

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

Only papers first submitted on or before this day (YYYY-MM-DD).

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

Order of the results. With a sort by date, a run with Max papers set to 100 gets the 100 newest.

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

Paper ids or links to get metadata for, one per line, e.g. 1706.03762, arXiv:2101.00001v2, hep-th/9711200 or https://arxiv.org/abs/1706.03762. Filters and sorting don't apply to them.

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

Maximum number of papers in total, across all searches. You pay only for papers saved.

## Actor input object example

```json
{
  "searchQuery": "all:transformer",
  "sortBy": "relevance",
  "maxItems": 50
}
```

# Actor output Schema

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

One item per paper.

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

Items saved, inputs done, and how complete each field was.

# 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": "all:transformer",
    "maxItems": 50
};

// Run the Actor and wait for it to finish
const run = await client.actor("unnoted/arxiv-papers-api").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": "all:transformer",
    "maxItems": 50,
}

# Run the Actor and wait for it to finish
run = client.actor("unnoted/arxiv-papers-api").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": "all:transformer",
  "maxItems": 50
}' |
apify call unnoted/arxiv-papers-api --silent --output-dataset

```

## MCP server setup

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

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/frtR6ALtpU8btiBZu/builds/8zW5NuqzzpYca9vP3/openapi.json
