# Reddit Link Radar — Domain & URL Repost Tracker (`xyrelith-data/reddit-link-repost-tracker`) Actor

Track where any URL, domain or Reddit post is shared across subreddits - live and back to 2005. Returns every submission with score, comments, author and date, plus per-subreddit spread summaries and first/last-seen dates. No login, API key or proxy.

- **URL**: https://apify.com/xyrelith-data/reddit-link-repost-tracker.md
- **Developed by:** [Xyrelith Data](https://apify.com/xyrelith-data) (community)
- **Categories:** Automation, SEO tools, Social media
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.49 / 1,000 results

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.
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

## Reddit Link Radar — Domain & URL Repost Tracker

Find every place a link travels on Reddit. Paste a domain, a specific URL, or a Reddit post and get each submission that shares it — across subreddits and back through the archive — with its score, comment count, author, subreddit and dates.

Built for brand teams, SEO and PR analysts, community managers, journalists and researchers who need to see how a story, product page, repository or campaign spreads between communities, not just what a keyword search happens to return.

### Modes

| Mode | What you get | Typical use |
|---|---|---|
| **Domain** | Recent posts linking to a website, read from Reddit's live domain listing and deepened with the archive. Sort by new, hot, top, rising or controversial over an hour-to-year window. | Watch every new mention of `your-brand.com` or `github.com`. |
| **URLs** | All submissions of one or more exact URLs or URL prefixes, across every subreddit, with history back to 2005. Bulk lists are fine. | Track one article, product page, repository or campaign link. |
| **Reddit posts** | A Reddit post plus its native crossposts and same-link reposts in other communities. | Find where a popular post was copied or crossposted. |

A Reddit post URL pasted into the **URLs** mode is automatically treated as a **Reddit post** scope.

### What each post row contains

- `recordType: "post"` — distinguishes post rows from summary rows
- `postId`, `postName`, `postUrl` — stable Reddit identifiers and the thread permalink
- `title`, `author`, `subreddit`, `subredditPrefixed`
- `linkedUrl`, `domain` — the outbound link and its host
- `score`, `commentCount` — Reddit engagement, filled from the archive
- `createdAt`, `createdUtc` — ISO date and Unix seconds
- `isNSFW`, `isCrosspost`, `crosspostParentId`, `linkFlair`
- `query`, `queryType` — the domain, URL or post whose search produced this row
- `source` — `arctic-shift`, `reddit-rss`, or `reddit-rss+arctic-shift`
- `sourceUrl`, `scrapedAt`

Empty values are omitted, never written as `null`.

### Summary rows

Turn on **Add per-subreddit summary rows** to append one `recordType: "summary"` row per subreddit:

- `postCount` — matching posts collected for that subreddit in this run
- `totalScore`, `totalComments` — sums over the collected posts
- `firstSeen`, `lastSeen` — earliest and latest post dates seen
- `archivePostCount` — the archive's full count for the query in that subreddit, when its aggregate endpoint answers
- `countsSource` — `collected` or `collected+archive`

Summary rows count toward **Max records**. The actor reserves up to a quarter of that budget for them when the flag is on.

### Inputs

| Field | Type | Default | Description |
|---|---|---|---|
| `mode` | select | `url` | `domain`, `url` or `postIds` |
| `domains` | array | – | Domains for Domain mode |
| `urls` | array | – | Links for URL mode; Reddit post links are routed to Post mode |
| `postUrls` | array | – | Reddit post URLs, `t3_` fullnames or bare IDs |
| `urlMatch` | select | `exact` | `exact` or `prefix` URL matching |
| `sort` | select | `new` | `new`, `old`, `hot`, `top`, `rising`, `controversial` |
| `timeFilter` | select | `month` | Domain lookback: `hour`, `day`, `week`, `month`, `year`, `all` (365-day cap) |
| `maxItems` | integer | `100` | Row cap including summary rows |
| `minScore` | integer | – | Minimum Reddit score |
| `maxScore` | integer | – | Maximum Reddit score |
| `minComments` | integer | – | Minimum comment count |
| `maxComments` | integer | – | Maximum comment count |
| `includeNSFW` | boolean | `false` | Include NSFW posts |
| `subreddits` | array | – | Keep only these subreddits |
| `excludeSubreddits` | array | – | Drop these subreddits |
| `dateFrom` | string | – | Posted on or after this ISO date/date-time |
| `dateTo` | string | – | Posted on or before this ISO date; a bare date includes the day |
| `includeSummary` | boolean | `false` | Emit per-subreddit summary rows |
| `dedupeByPostId` | boolean | `true` | Emit each post once per run |
| `includeRss` | boolean | `true` | Use live Reddit Atom feeds |
| `maxRssPages` | integer | `1` | Atom pages per domain (25 entries each, up to 40) |

### Filters

- Minimum and maximum score, minimum and maximum comments
- Include or exclude specific subreddits (bare names, `r/` prefixes or URLs)
- Posted-on-or-after and posted-on-or-before dates (bare dates include the whole day)
- Include or exclude NSFW posts (off by default)
- Deduplicate by Reddit post ID across every input and source (on by default)
- URL matching: exact URL or URL prefix

Posts from live Atom feeds have no score or comment count until the archive ID lookup fills them. If the lookup cannot fill them and you set a score/comment filter, those rows are skipped rather than treated as zero.

### Examples

**Every recent post linking to a domain, top of the month**

```json
{
  "mode": "domain",
  "domains": ["github.com"],
  "sort": "top",
  "timeFilter": "month",
  "maxItems": 100
}
```

**One article across all of Reddit, with per-subreddit spread**

```json
{
  "mode": "url",
  "urls": ["https://www.nytimes.com/2026/01/01/technology/example.html"],
  "urlMatch": "exact",
  "includeSummary": true,
  "maxItems": 250
}
```

**Everything under a repository path**

```json
{
  "mode": "url",
  "urls": ["https://github.com/owner/repo"],
  "urlMatch": "prefix",
  "minScore": 5,
  "maxItems": 500
}
```

**Where a Reddit post was crossposted or reposted**

```json
{
  "mode": "postIds",
  "postUrls": ["https://www.reddit.com/r/Python/comments/1xv3n8h/example/"],
  "includeSummary": true,
  "maxItems": 100
}
```

### Data sources and reliability

- **Arctic Shift** (`arctic-shift.photon-reddit.com`) is a free, cookieless archive of public Reddit posts with real scores, comment counts and timestamps. It powers exact/prefix URL history, post ID lookups and crosspost lookups. No key, login or proxy.
- **Reddit Atom feeds** (`reddit.com/domain/.../*.rss`) provide the Domain mode's live first page and a last-resort live fallback. They carry no scores, so the actor batches an archive ID lookup to fill engagement.
- Reddit's anonymous `.json` endpoints are blocked and `old.reddit.com` redirects to login, so the actor never calls them.

The archive is primary because it is deeper and steadier than the live feeds. Reddit rate-limits Atom feeds aggressively (often one request per minute per IP); the actor paces requests, honours retry headers and keeps feed pagination optional.

### Limitations

- **Very broad domain prefixes can be slow.** The archive indexes URLs by prefix, not by a precomputed domain column. A huge domain such as `github.com` may time out over wide date windows; the actor automatically shrinks the window, keeps whatever the live domain feed returns, and logs the degraded path. Narrower domains and URL prefixes return the most complete history.
- **Live feeds are shallow.** Each Atom page is 25 entries. `maxRssPages` controls how many pages are read per domain, but Reddit's rate limit makes more than one page impractical in most runs. The archive provides the depth.
- **Scores are snapshots.** Arctic Shift finalises very recent posts roughly 36 hours after creation, so a brand-new post can show provisional or missing engagement. The `source` field tells you which path produced each row.
- **Deleted, removed or private content** may be absent from both sources. Rows are emitted only when a real public post exists.
- **Aggregate summary counts** depend on a separate archive query that can time out for broad domains; when it fails, `postCount` is still exact for the rows in the dataset and `archivePostCount` is omitted.

### FAQ

**Why not use Reddit's JSON API?** Its anonymous endpoints are blocked for this kind of traffic, and OAuth would require credentials. The archive plus public Atom feeds deliver the same public post data without an account.

**Why are some rows missing `score`?** They came from a live feed and the archive ID lookup could not fill them. Scores are never invented.

**Can I track several domains or URLs at once?** Yes. Add each one as a separate list item. The global row cap applies across all of them.

**Does this find comments that mention a link?** No — it tracks submitted links, which is what repost and spread analysis needs. Comment text is outside this actor's scope.

**Can I run it on a schedule?** Yes. Leave **Deduplicate by post ID** on to avoid repeating rows within a run; cross-run state is not stored, so each run is a fresh snapshot of the window you choose.

# Actor input Schema

## `mode` (type: `string`):

Domain — recent posts linking to a website, with sort and time-window controls. URLs — every submission of one or more links across all subreddits, including years of history. Reddit posts — the original post plus its crossposts and same-link reposts.

## `domains` (type: `array`):

Websites to track, e.g. github.com, nytimes.com or your-brand.com. Accepts a bare domain or a full URL; www. is ignored.

## `urls` (type: `array`):

Links to trace across subreddits, e.g. https://github.com/owner/repo. A Reddit post URL is also accepted and is treated as a Reddit post to map.

## `postUrls` (type: `array`):

Reddit post URLs, t3\_ fullnames or bare post IDs. For each one the actor returns the original post and every crosspost or same-link repost it can find.

## `urlMatch` (type: `string`):

Exact matches only the same URL string. Prefix also catches URLs that start with it — use it for a repository or section root, not for a whole domain.

## `sort` (type: `string`):

Ordering for the returned posts. 'new' and 'old' are chronological; 'top', 'hot', 'rising' and 'controversial' rank by engagement and age after collection.

## `timeFilter` (type: `string`):

How far back the Domain mode looks when ranking and collecting recent links. 'all' is capped at the last 365 days for very broad domains.

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

Hard cap on dataset rows, including summary rows when enabled.

## `minScore` (type: `integer`):

Drop posts below this Reddit score. Posts whose live RSS record has no score yet are skipped when this is set.

## `maxScore` (type: `integer`):

Drop posts above this Reddit score.

## `minComments` (type: `integer`):

Drop posts with fewer comments. Posts whose live RSS record has no comment count are skipped when this is set.

## `maxComments` (type: `integer`):

Drop posts with more comments.

## `includeNSFW` (type: `boolean`):

Include posts Reddit marks as NSFW. Off by default.

## `subreddits` (type: `array`):

Keep posts from these subreddits only. Accepts bare names, r/ prefixes or subreddit URLs. Leave empty to keep every subreddit.

## `excludeSubreddits` (type: `array`):

Drop posts from these subreddits. Accepts bare names, r/ prefixes or subreddit URLs.

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

Inclusive start date for post creation. ISO date or date-time, e.g. 2024-01-01 or 2024-01-01T12:00:00Z.

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

Inclusive end date for post creation. A bare date includes the whole day.

## `includeSummary` (type: `boolean`):

Emit one summary row per subreddit with its collected post count, total score and comments, first-seen and last-seen dates, and the archive's full count when available.

## `dedupeByPostId` (type: `boolean`):

Emit each Reddit post once per run even when several inputs or sources return it. Turn off to see it once per matching input.

## `includeRss` (type: `boolean`):

Use Reddit's public Atom feeds for the Domain mode's live listing (and as a URL-mode fallback when the archive is unavailable). Reddit rate-limits these feeds; the archive remains the primary source.

## `maxRssPages` (type: `integer`):

How many 25-entry Reddit Atom feed pages to read per domain in Domain mode. 40 pages would cover Reddit's ~1,000-item listing ceiling, but Reddit rate-limits feed pagination heavily; one page is the practical default.

## Actor input object example

```json
{
  "mode": "url",
  "domains": [
    "github.com",
    "nytimes.com"
  ],
  "urls": [
    "https://github.com/psf/requests",
    "https://www.nytimes.com/2026/01/01/technology/example.html"
  ],
  "postUrls": [
    "https://www.reddit.com/r/Python/comments/1xv3n8h/example/",
    "1xv3n8h"
  ],
  "urlMatch": "exact",
  "sort": "new",
  "timeFilter": "month",
  "maxItems": 3,
  "includeNSFW": false,
  "subreddits": [
    "python",
    "r/programming"
  ],
  "excludeSubreddits": [
    "memes",
    "circlejerk"
  ],
  "dateFrom": "2024-01-01",
  "dateTo": "2026-12-31",
  "includeSummary": false,
  "dedupeByPostId": true,
  "includeRss": false,
  "maxRssPages": 1
}
```

# Actor output Schema

## `linkRecords` (type: `string`):

Dataset containing post rows (recordType=post) and, when enabled, one summary row per subreddit (recordType=summary).

# 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 = {
    "mode": "url",
    "domains": [],
    "urls": [
        "https://github.com/psf/requests"
    ],
    "postUrls": [],
    "urlMatch": "exact",
    "sort": "new",
    "timeFilter": "month",
    "maxItems": 3,
    "includeNSFW": false,
    "includeSummary": false,
    "dedupeByPostId": true,
    "includeRss": false,
    "maxRssPages": 1
};

// Run the Actor and wait for it to finish
const run = await client.actor("xyrelith-data/reddit-link-repost-tracker").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 = {
    "mode": "url",
    "domains": [],
    "urls": ["https://github.com/psf/requests"],
    "postUrls": [],
    "urlMatch": "exact",
    "sort": "new",
    "timeFilter": "month",
    "maxItems": 3,
    "includeNSFW": False,
    "includeSummary": False,
    "dedupeByPostId": True,
    "includeRss": False,
    "maxRssPages": 1,
}

# Run the Actor and wait for it to finish
run = client.actor("xyrelith-data/reddit-link-repost-tracker").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 '{
  "mode": "url",
  "domains": [],
  "urls": [
    "https://github.com/psf/requests"
  ],
  "postUrls": [],
  "urlMatch": "exact",
  "sort": "new",
  "timeFilter": "month",
  "maxItems": 3,
  "includeNSFW": false,
  "includeSummary": false,
  "dedupeByPostId": true,
  "includeRss": false,
  "maxRssPages": 1
}' |
apify call xyrelith-data/reddit-link-repost-tracker --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,xyrelith-data/reddit-link-repost-tracker"
        }
    }
}
```

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/P4tcdq40vK1YxVwie/builds/0NDH5ML1NKfuvNF1j/openapi.json
