# arXiv Metadata Collector— Metadata, PDF, Authors & Abstract (`scrapepilot/arxiv-metadata-collector---metadata-pdf-authors-abstract`) Actor

Scrape arXiv research papers with metadata including title, authors, abstract, PDF links, DOI, and categories. Supports keyword search, proxy integration, and structured dataset output for AI, ML, and academic research use

- **URL**: https://apify.com/scrapepilot/arxiv-metadata-collector---metadata-pdf-authors-abstract.md
- **Developed by:** [Scrape Pilot](https://apify.com/scrapepilot) (community)
- **Categories:** AI, Developer tools, Automation
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, NaN bookmarks
- **User rating**: No ratings yet

## Pricing

$12.99/month + usage

To use this Actor, you pay a monthly rental fee to the developer. The rent is subtracted from your prepaid usage every month after the free trial period.You also pay for the Apify platform usage, which gets cheaper the higher Apify subscription plan you have.

Learn more: https://docs.apify.com/platform/actors/running/actors-in-store#rental-actors

## 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 Research Paper Scraper

Search and extract **real academic research papers** from [arXiv.org](https://arxiv.org) — the world's largest preprint repository with 2.3+ million papers across Computer Science, Physics, Mathematics, Statistics, Economics, Biology and more.

Uses the **official arXiv API** — free, public, always up to date. No scraping, no bot detection.

---

### 🎯 Quick Start — Demo Mode

**Get 10 landmark AI papers in 2 seconds:**

1. Toggle **Demo Mode** → **ON**
2. Click **Run Actor**
3. Get real papers: Transformers, BERT, GPT-3, LLaMA, GAN, ViT, DDPM, RAG

---

### 📦 Output Fields

| Field | Type | Description | Example |
|-------|------|-------------|---------|
| `title` | string | Full paper title | `Attention Is All You Need` |
| `authors` | array | All author names | `["Vaswani", "Shazeer", ...]` |
| `abstract` | string | Full paper abstract | `We propose a new simple network...` |
| `pdf_url` | string | Direct PDF download URL | `https://arxiv.org/pdf/1706.03762` |
| `arxiv_url` | string | arXiv abstract page URL | `https://arxiv.org/abs/1706.03762` |
| `arxiv_id` | string | arXiv paper ID | `1706.03762` |
| `published` | string | First submission date | `2017-06-12` |
| `updated` | string | Last update date | `2023-08-02` |
| `primary_category` | string | Main arXiv category | `cs.CL` |
| `categories` | array | All subject categories | `["cs.CL","cs.LG"]` |
| `doi` | string | DOI (if published in journal) | `10.48550/arXiv.1706.03762` |
| `journal_ref` | string | Journal/conference reference | `NeurIPS 2017` |
| `comment` | string | Author comments / notes | `15 pages, 5 figures` |
| `source` | string | Data source | `arXiv` |

---

### 📋 Example Output

```json
{
  "title": "Attention Is All You Need",
  "authors": ["Ashish Vaswani", "Noam Shazeer", "Niki Parmar"],
  "abstract": "The dominant sequence transduction models are based on complex recurrent...",
  "pdf_url": "https://arxiv.org/pdf/1706.03762",
  "arxiv_url": "https://arxiv.org/abs/1706.03762",
  "arxiv_id": "1706.03762",
  "published": "2017-06-12",
  "updated": "2023-08-02",
  "primary_category": "cs.CL",
  "categories": ["cs.CL", "cs.LG"],
  "doi": "10.48550/arXiv.1706.03762",
  "journal_ref": "Advances in Neural Information Processing Systems 30, 2017",
  "comment": "15 pages, 5 figures",
  "source": "arXiv"
}
````

***

### 🗂️ Supported Categories

| Code | Subject |
|------|---------|
| `cs.LG` | Machine Learning |
| `cs.AI` | Artificial Intelligence |
| `cs.CL` | Natural Language Processing |
| `cs.CV` | Computer Vision |
| `cs.RO` | Robotics |
| `stat.ML` | Statistics / ML |
| `math` | Mathematics |
| `physics` | Physics |
| `econ` | Economics |
| `q-bio` | Quantitative Biology |
| `q-fin` | Quantitative Finance |

***

### ⚙️ Input Examples

#### Search by keyword

```json
{"search_query": "large language models", "max_results": 50}
```

#### Search by category + date

```json
{"category": "cs.LG", "date_from": "2024-01-01", "sort_by": "date", "max_results": 100}
```

#### Search by author

```json
{"author": "Geoffrey Hinton", "max_results": 30}
```

#### Search in titles only

```json
{"search_query": "transformer", "title_only": true, "max_results": 20}
```

***

### 🎯 Use Cases

| Use Case | Example |
|----------|---------|
| **Academic Research** | Track latest papers in your field |
| **Literature Review** | Build bibliography for thesis or paper |
| **AI/ML Monitoring** | Stay updated on new model releases |
| **Citation Analysis** | Collect paper metadata for analysis |
| **Dataset Building** | Create research paper datasets |
| **Competitor Research** | Track papers from specific institutions |

***

### 🔑 Keywords

arXiv scraper, academic paper scraper, research paper extractor, arXiv API, scientific paper scraper, PDF downloader academic, machine learning papers, AI papers dataset, arxiv.org scraper, preprint scraper, citation extractor

***

### 💰 Pricing

**$12.99/month** — Unlimited arXiv paper extraction.

# Actor input Schema

## `demo_mode` (type: `boolean`):

ON → instantly returns 10 landmark AI/ML papers (Transformers, BERT, GPT-3, LLaMA, etc.) without making API calls.

## `search_query` (type: `string`):

Keywords to search across all paper fields. E.g: 'machine learning', 'neural network', 'transformer', 'climate change'

## `author` (type: `string`):

Search by author name. E.g: 'Geoffrey Hinton', 'Yann LeCun', 'Andrew Ng'

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

Filter by arXiv subject category

## `title_only` (type: `boolean`):

ON → search only in paper titles (faster, more precise). OFF → search entire paper including abstract.

## `sort_by` (type: `string`):

How to sort the returned papers

## `date_from` (type: `string`):

Only return papers published after this date. E.g: 2024-01-01

## `max_results` (type: `integer`):

Maximum number of papers to return (arXiv allows up to 2000 per request)

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

arXiv is a free public API — proxy optional, but RESIDENTIAL helps for bulk requests.

## Actor input object example

```json
{
  "demo_mode": false,
  "search_query": "machine learning",
  "category": "",
  "title_only": false,
  "sort_by": "relevance",
  "max_results": 20,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}
```

# 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 = {
    "search_query": "machine learning",
    "proxyConfiguration": {
        "useApifyProxy": true,
        "apifyProxyGroups": [
            "RESIDENTIAL"
        ]
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("scrapepilot/arxiv-metadata-collector---metadata-pdf-authors-abstract").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 = {
    "search_query": "machine learning",
    "proxyConfiguration": {
        "useApifyProxy": True,
        "apifyProxyGroups": ["RESIDENTIAL"],
    },
}

# Run the Actor and wait for it to finish
run = client.actor("scrapepilot/arxiv-metadata-collector---metadata-pdf-authors-abstract").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 '{
  "search_query": "machine learning",
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}' |
apify call scrapepilot/arxiv-metadata-collector---metadata-pdf-authors-abstract --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=scrapepilot/arxiv-metadata-collector---metadata-pdf-authors-abstract",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "arXiv Metadata Collector— Metadata, PDF, Authors & Abstract",
        "description": "Scrape arXiv research papers with metadata including title, authors, abstract, PDF links, DOI, and categories. Supports keyword search, proxy integration, and structured dataset output for AI, ML, and academic research use",
        "version": "0.0",
        "x-build-id": "5yihV5uneiEqVvD7j"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/scrapepilot~arxiv-metadata-collector---metadata-pdf-authors-abstract/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-scrapepilot-arxiv-metadata-collector---metadata-pdf-authors-abstract",
                "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/scrapepilot~arxiv-metadata-collector---metadata-pdf-authors-abstract/runs": {
            "post": {
                "operationId": "runs-sync-scrapepilot-arxiv-metadata-collector---metadata-pdf-authors-abstract",
                "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/scrapepilot~arxiv-metadata-collector---metadata-pdf-authors-abstract/run-sync": {
            "post": {
                "operationId": "run-sync-scrapepilot-arxiv-metadata-collector---metadata-pdf-authors-abstract",
                "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": {
                    "demo_mode": {
                        "title": "🎯 Demo Mode",
                        "type": "boolean",
                        "description": "ON → instantly returns 10 landmark AI/ML papers (Transformers, BERT, GPT-3, LLaMA, etc.) without making API calls.",
                        "default": false
                    },
                    "search_query": {
                        "title": "Search Query",
                        "type": "string",
                        "description": "Keywords to search across all paper fields. E.g: 'machine learning', 'neural network', 'transformer', 'climate change'"
                    },
                    "author": {
                        "title": "Author Search",
                        "type": "string",
                        "description": "Search by author name. E.g: 'Geoffrey Hinton', 'Yann LeCun', 'Andrew Ng'"
                    },
                    "category": {
                        "title": "arXiv Category",
                        "enum": [
                            "",
                            "cs.LG",
                            "cs.AI",
                            "cs.CL",
                            "cs.CV",
                            "cs.RO",
                            "stat.ML",
                            "math",
                            "physics",
                            "econ",
                            "q-bio",
                            "q-fin"
                        ],
                        "type": "string",
                        "description": "Filter by arXiv subject category",
                        "default": ""
                    },
                    "title_only": {
                        "title": "Title Search Only",
                        "type": "boolean",
                        "description": "ON → search only in paper titles (faster, more precise). OFF → search entire paper including abstract.",
                        "default": false
                    },
                    "sort_by": {
                        "title": "Sort Results By",
                        "enum": [
                            "relevance",
                            "date",
                            "updated"
                        ],
                        "type": "string",
                        "description": "How to sort the returned papers",
                        "default": "relevance"
                    },
                    "date_from": {
                        "title": "Published After (YYYY-MM-DD)",
                        "type": "string",
                        "description": "Only return papers published after this date. E.g: 2024-01-01"
                    },
                    "max_results": {
                        "title": "Max Papers",
                        "maximum": 2000,
                        "type": "integer",
                        "description": "Maximum number of papers to return (arXiv allows up to 2000 per request)",
                        "default": 20
                    },
                    "proxyConfiguration": {
                        "title": "Proxy (Optional)",
                        "type": "object",
                        "description": "arXiv is a free public API — proxy optional, but RESIDENTIAL helps for bulk requests."
                    }
                }
            },
            "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
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
