# arXiv Version-Aware Paper Feed (`hoagieai/arxiv-version-aware-paper-feed`) Actor

Track new papers, version updates and metadata changes from the official arXiv API. Export normalized metadata and reusable checkpoints. No PDFs or AI summaries.

- **URL**: https://apify.com/hoagieai/arxiv-version-aware-paper-feed.md
- **Developed by:** [Kaleb Hogeland](https://apify.com/hoagieai) (community)
- **Categories:** Education, Developer tools
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 92.9% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

$1.00 / 1,000 paper delivereds

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 Version-Aware Paper Feed

An independent metadata-monitoring tool by Hoagie Work Force. Search the official arXiv API by query and/or categories, filter a submission/update window, and deliver only papers that are new or changed compared with a previous checkpoint. No PDF downloading and no AI summaries. No endorsement or affiliation with arXiv is implied.

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

### Inputs

```json
{"categories":["cs.AI"],"dateField":"updated","daysBack":7,"maxResults":50}
```

Query AND category filter; categories are ORed:

```json
{"query":"ti:transformer","categories":["cs.AI","cs.LG"],"dateField":"submitted","dateFrom":"2026-11-01T00:00:00Z","dateTo":"2026-11-10T23:59:59Z","maxResults":100}
```

Use official arXiv search syntax (`ti:`, `au:`, `all:`, Boolean operators). Omitted categories default to `["cs.AI"]` (both schema default and console prefill). For a query-only search across all categories, explicitly set `categories: []`; an empty category list without a query is invalid. `dateField` is `updated` (default) or `submitted`. Dates are inclusive ISO 8601 timestamps with a timezone, normalized to UTC. Apify supplies the default `daysBack` even alongside explicit dates; `dateFrom` always takes precedence. Rolling windows default to seven days. The default scan cap is 50, normally one API request, keeping the daily test small while retaining three-second spacing for any retries. `daysBack`: 1–366. `maxResults`: 1–1000 papers scanned, including unchanged papers, not a promised number of delivered rows. Requests are at most 100 papers per page, latest first.

Empty input `{}` or no input at all works without a checkpoint: it searches `cs.AI`, updated in the last seven days, scanning at most 50 papers. Each run starts fresh unless you explicitly supply `checkpoint` or `checkpointStoreId`; neither is defaulted or required for daily tests. This wider default window reduces weekend gaps, but upstream outages or empty source windows can still produce failures or no results.

### Output

One dataset item per new/changed paper. This is a synthetic illustration, not a claim about a real paper:

```json
{"arxiv_id":"2611.00001","version":2,"title":"Synthetic example","authors":["Example Author"],"abstract":"Illustrative metadata only.","primary_category":"cs.AI","categories":["cs.AI"],"published":"2026-11-09T12:00:00Z","updated":"2026-11-10T12:00:00Z","doi":null,"journal_ref":null,"abs_url":"https://arxiv.org/abs/2611.00001v2","pdf_url":"https://arxiv.org/pdf/2611.00001v2","change_type":"new_version","changed_fields":["version","updated","abs_url","pdf_url"]}
```

`new`: absent from checkpoint; `new_version`: higher version; `metadata_changed`: same version but normalized metadata differs. `changed_fields` lists the differing field names (all snapshot fields for `new`). A stale lower version never replaces a newer checkpoint. Whitespace is normalized and category ordering stabilized to avoid spurious changes. DOI/journal reference are null when missing. Author names only: no author emails, affiliations, phone numbers or contact collection. See DATASET.md and the dataset view for source attribution.

### Checkpoints and schedules

Every successful run saves `CHECKPOINT` to its default key-value store, plus `OUTPUT` with scan/delivery counts. The checkpoint is an object with `schema_version: 1`, `papers` mapping unversioned IDs to full normalized snapshots, and `generated_at`. Copy the entire record into the next input's `checkpoint` object. Unchanged matching papers then produce no rows. Checkpoints can contain at most 10,000 snapshots; split large feeds. An explicit checkpoint takes precedence over stored state.

Apify creates a different default store for each run: merely scheduling identical input DOES NOT carry the default checkpoint forward. For automatic continuation, create a dedicated key-value store in Apify Console, grant the Actor access if prompted, and provide its ID as `checkpointStoreId`. The Actor reads and writes its `CHECKPOINT` record and still exports a copy to each run's default store. Use a different persistent store per feed/query and run only serially; concurrent writes are not supported. Changing a feed does not erase historical snapshots. On failure no completed checkpoint is written; replay can therefore redeliver already written rows. Dataset writes and checkpoint writes are not an atomic transaction. This is not an exactly-once delivery guarantee.

Only successfully delivered changed items advance the checkpoint. Unchanged rows remain in state. Absent papers are not classified as deleted. Use `updated` windows with overlap and a checkpoint for monitoring revisions; submission windows cannot discover revisions to older papers outside that submission window.

### Pricing

Pay-per-event: $0.001 per delivered new or changed paper, charged as the single custom `paper-delivered` event. No Actor-start fee, no additional paid dataset event, and no separate platform-usage pass-through. Unchanged papers incur no paper-delivered event. The two initial validation runs cost $0.00032804 for 20 delivered papers and $0.00018295 for checkpoint replay (0 delivered); these are measurements of small runs, not future cost guarantees.

There is no Actor-start event and unchanged papers trigger no paper event. Apify Store's current Pricing tab is authoritative. A zero-change run still consumes compute. The source metadata itself is free from arXiv; the intended service fee is for normalization, delta tracking and operation. No guarantees of economic profit for empty or tiny runs.

### Source, license and rate rules

Only source endpoint: https://export.arxiv.org/api/query (official arXiv API). No HTML crawling, PDF requests, proxies, external Actors, AI services or alternative data sources.

Source terms: https://info.arxiv.org/help/api/tou.html

The terms state: “You are free to use descriptive metadata about arXiv e-prints under the terms of the Creative Commons Universal (CC0 1.0) Public Domain Declaration.” Descriptive metadata includes titles, abstracts, author names, identifiers and classifications. Metadata is CC0: https://creativecommons.org/publicdomain/zero/1.0/ . PDFs and other e-print content have separate rights and are NOT redistributed by this Actor. Links point users back to arXiv. No arXiv logo is used.

Acknowledgement and API guidance: https://info.arxiv.org/help/api/index.html ; manual: https://info.arxiv.org/help/api/user-manual.html . Thank you to arXiv for use of its open access interoperability.

The terms require no more than one request every three seconds, and one connection at a time across ALL machines under the operator's control. Within a run this Actor uses a single connection, spaces every request including retries by at least three seconds, and makes up to three retries with exponential backoff for 5xx responses. HTTP 403 or 429 stops immediately, records SOURCE_ERROR and fails the run for operator review; no block retries or bypasses. Redirects are not followed. Network/parse failures fail rather than report invented data.

IMPORTANT: do not overlap this Actor's runs or run other arXiv clients concurrently under the same operator. Per-process throttling is not a distributed lock; the three-second aggregate limit applies to you too. Schedule sufficiently far apart for the configured timeout, disable automatic restart, and wait at least three seconds between runs. This initial release does not implement a cross-account/global request coordinator. User-Agent: `HoagieWorkForce-arXivFeed (contact@hoagieworkforce.com)`.

### Limits

Not a bulk mirror, citation graph, full-text service, historical version archive, publication alert with guaranteed latency, author-contact dataset, or exhaustive monitoring guarantee. The API returns latest indexed versions; delayed indexing, moving search pages and result caps can cause gaps. Inspect the OUTPUT capped flag and narrow queries if the scan cap is reached. Empty windows are valid and produce zero rows. Metadata changes are detectable only when the paper is returned by the query; not every correction is guaranteed to change arXiv's indexed update time. No automatic scheduling is created for buyers. Invalid categories/query syntax can result in upstream errors or empty results. No legal or scientific validation of paper content is performed. Content is treated as data, never executable instructions.

### Local development

Python 3.12+, official Apify Python SDK and standard `apify/actor-python:3.12` image. Install `requirements-dev.txt`, then run `python -m pytest -q`. Tests use explicitly synthetic Atom fixtures and mocked HTTP transport, not live arXiv. Local execution with `python -m src` uses Apify's local input/storage conventions. Never put platform tokens in source or input. Source repository is local-only with no remote. Source code license: MIT (LICENSE); source metadata: CC0 as above.

Contact: contact@hoagieworkforce.com (receive-only forwarding address).

# Actor input Schema

## `query` (type: `string`):

Official API query syntax, e.g. ti:transformer. Combined with categories using AND.

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

arXiv category codes; defaults to cs.AI even with empty input. For query-only searches set categories to \[].

## `dateField` (type: `string`):

updated detects revisions within the window; submitted uses first submission.

## `daysBack` (type: `integer`):

Used only when dateFrom is omitted. Explicit dateFrom takes precedence.

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

Optional inclusive timestamp with timezone; takes precedence over daysBack.

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

Inclusive timestamp; defaults to run time.

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

Scan cap, not guaranteed delivered count. Narrow queries to avoid missing papers beyond the cap.

## `checkpoint` (type: `object`):

Copy the CHECKPOINT record from a prior run. schema_version=1 and papers mapping of complete normalized snapshots.

## `checkpointStoreId` (type: `string`):

Optional existing accessible KVS ID. Reads/writes CHECKPOINT for serial scheduled runs. Grant access if required. Input checkpoint takes precedence.

## Actor input object example

```json
{
  "categories": [
    "cs.AI"
  ],
  "dateField": "updated",
  "daysBack": 7,
  "maxResults": 50
}
```

# Actor output Schema

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

No description

## `checkpoint` (type: `string`):

No description

## `summary` (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 = {
    "categories": [
        "cs.AI"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("hoagieai/arxiv-version-aware-paper-feed").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 = { "categories": ["cs.AI"] }

# Run the Actor and wait for it to finish
run = client.actor("hoagieai/arxiv-version-aware-paper-feed").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 '{
  "categories": [
    "cs.AI"
  ]
}' |
apify call hoagieai/arxiv-version-aware-paper-feed --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,hoagieai/arxiv-version-aware-paper-feed"
        }
    }
}
```

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/tKLUAFh4EQBa6tqJz/builds/JuW8X39nII20B2Noy/openapi.json
