# arXiv Research Paper Normalizer (`wakey7dev/arxiv-research-normalizer`) Actor

Search 2.5M+ arXiv papers. Clean JSON output with normalized authors, affiliations, categories & extracted AI/ML keywords.

- **URL**: https://apify.com/wakey7dev/arxiv-research-normalizer.md
- **Developed by:** [Chris Wakefield](https://apify.com/wakey7dev) (community)
- **Categories:** AI, Developer tools
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

Pay per usage

This Actor is paid per platform usage. The Actor is free to use, and you only pay for the Apify platform usage, which gets cheaper the higher subscription plan you have.

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

## What's an Apify Actor?

Actors are web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
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.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — 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

![Chris The Dev](https://raw.githubusercontent.com/chriswakefield87/appstore-screenshot-translator/main/assets/actor-banner.png)

## arXiv Research Paper Normalizer 🔬

Search 2.5M+ arXiv research papers by keyword, author, or category. Returns **cleaned, normalized JSON** with standardized author names, unified affiliations, mapped categories, and extracted AI/ML keywords — not raw XML.

Built for AI/ML research monitoring, literature reviews, RAG dataset creation, and competitive intelligence.

### ✨ What Makes This Different

- **XML → Clean JSON** — arXiv returns Atom XML; we parse and normalize it into flat, queryable JSON
- **Author Name Normalization** — Consistent formatting, deduplication-ready
- **Affiliation Standardization** — Maps "Google Research", "Google Brain", "Google DeepMind" → canonical names
- **Category Mapping** — Short codes (`cs.AI`) expanded to full names (`Artificial Intelligence`) with group classification
- **Keyword Extraction** — NLP heuristics extract key concepts from abstracts (transformer, diffusion, GAN, RL, etc.)
- **Structured Output** — Dataset items + human-readable summary table + machine-readable stats

### 📥 Input

| Field | Type | Default | Description |
|---|---|---|---|
| `searchQuery` | string | (required) | arXiv search query. Supports `AND`, `OR`, `ANDNOT`. Use `au:lastname` for author search. |
| `maxResults` | integer | 50 | Max papers to return (1–1000) |
| `categoryFilter` | string | — | Filter by category, e.g. `cs.AI`, `cs.CL`, `stat.ML` |
| `sortBy` | select | relevance | `relevance`, `lastUpdatedDate`, or `submittedDate` |
| `dateFrom` | string | — | Earliest date (YYYY-MM-DD) |
| `dateTo` | string | — | Latest date (YYYY-MM-DD) |
| `extractKeywords` | boolean | true | Extract AI/ML keywords from abstracts |

#### Example Input

```json
{
  "searchQuery": "transformer AND attention",
  "maxResults": 50,
  "categoryFilter": "cs.AI",
  "sortBy": "submittedDate",
  "extractKeywords": true
}
```

### 📤 Output

Each paper is a JSON object in the dataset:

```json
{
  "title": "Attention Is All You Need",
  "authors": ["Ashish Vaswani", "Noam Shazeer", "Niki Parmar", "Jakob Uszkoreit", "Llion Jones", "Aidan N. Gomez", "Łukasz Kaiser", "Illia Polosukhin"],
  "affiliations": ["Google"],
  "categories": [
    {"code": "cs.CL", "group": "cs", "name": "Computation and Language (NLP)"},
    {"code": "cs.LG", "group": "cs", "name": "Machine Learning"}
  ],
  "categoryCodes": ["cs.CL", "cs.LG"],
  "categoryGroups": ["cs"],
  "year": "2017",
  "published": "2017-06-12T17:43:57Z",
  "updated": "2017-12-06T18:04:40Z",
  "abstract": "The dominant sequence transduction models...",
  "keywords": ["attention mechanism", "self-attention", "transformer"],
  "doi": "10.48550/arXiv.1706.03762",
  "arxivId": "1706.03762v7",
  "pdfUrl": "https://arxiv.org/pdf/1706.03762v7",
  "journalRef": "NeurIPS 2017",
  "comment": "15 pages, 5 figures"
}
```

### 🎯 Use Cases

- **AI/ML Research Monitoring** — Track new papers in your field daily
- **Literature Reviews** — Search, filter, and export normalized paper data
- **RAG Datasets** — Build knowledge bases from arXiv papers with clean metadata
- **Competitive Intelligence** — Monitor what labs and companies are publishing
- **Academic Analytics** — Analyze publication trends, collaboration networks, keyword evolution

### 🔌 API & Data Source

This actor uses the official [arXiv API](https://info.arxiv.org/help/api/index.html) (Atom XML endpoint). The API is free, requires no key, and provides access to all 2.5M+ papers on arXiv. Please observe arXiv's [rate limiting guidelines](https://info.arxiv.org/help/api/tou.html) — we include polite delays between requests.

### 🏷️ Pricing

$2.00 per 1,000 results. Pay only for what you use.

***

Built by [Chris The Dev](https://apify.com/wakey7dev) — scraping and normalizing public data so you don't have to.

# Actor input Schema

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

Search terms (supports arXiv query syntax: AND, OR, ANDNOT). Example: 'transformer AND attention' or 'au:lecun'

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

Maximum number of papers to return (1-1000). arXiv API caps at ~50K total.

## `categoryFilter` (type: `string`):

Filter by arXiv category (e.g. 'cs.AI', 'cs.CL', 'stat.ML', 'q-bio'). Leave empty for all categories.

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

Sort results by relevance, last updated date, or submission date.

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

Earliest submission date (YYYY-MM-DD). Leave empty for no lower bound.

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

Latest submission date (YYYY-MM-DD). Leave empty for no upper bound.

## `extractKeywords` (type: `boolean`):

Extract and normalize keywords from abstracts using NLP heuristics.

## Actor input object example

```json
{
  "searchQuery": "machine learning",
  "maxResults": 50,
  "sortBy": "relevance",
  "extractKeywords": true
}
```

# Actor output Schema

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

Complete dataset of normalized paper records.

## `summary` (type: `string`):

Human-readable summary table of results.

## `stats` (type: `string`):

Machine-readable run statistics.

# 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": "machine learning",
    "categoryFilter": "",
    "dateFrom": "",
    "dateTo": ""
};

// Run the Actor and wait for it to finish
const run = await client.actor("wakey7dev/arxiv-research-normalizer").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": "machine learning",
    "categoryFilter": "",
    "dateFrom": "",
    "dateTo": "",
}

# Run the Actor and wait for it to finish
run = client.actor("wakey7dev/arxiv-research-normalizer").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": "machine learning",
  "categoryFilter": "",
  "dateFrom": "",
  "dateTo": ""
}' |
apify call wakey7dev/arxiv-research-normalizer --silent --output-dataset

```

## MCP server setup

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

```

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/OWdXbQ3Igj3PK2pV0/builds/xi0rrBuSduga1u2eQ/openapi.json
