{
  "data": {
    "id": "gfRVQhkdTSi9HUZw2",
    "actId": "DgyD8lN65PsMqYcM8",
    "userId": "tnBVjt3CXmcUrEE3L",
    "startedAt": "2026-11-23T03:26:24.504Z",
    "finishedAt": "2026-11-23T03:26:27.683Z",
    "status": "SUCCEEDED",
    "meta": {
      "origin": "CI"
    },
    "stats": {
      "durationMillis": 3091,
      "runTimeSecs": 3.091,
      "computeUnits": 0.0034344444444444444,
      "imageSizeBytes": 325622272
    },
    "options": {
      "useCache": true,
      "betaPackages": false,
      "memoryMbytes": 4096,
      "diskMbytes": 8192
    },
    "createdByOrganizationMemberUserId": "F2Aeb3gE2syjqz9xC",
    "exitCode": 0,
    "inputSchema": "{\n  \"title\": \"Subreddit Audience Overlap Input\",\n  \"type\": \"object\",\n  \"schemaVersion\": 1,\n  \"properties\": {\n    \"mode\": {\n      \"title\": \"What to find\",\n      \"type\": \"string\",\n      \"description\": \"Audience overlap finds lookalike communities for one or more seed subreddits. Discover lists communities by name prefix or keyword. User set profiles a list of usernames collectively.\",\n      \"sectionCaption\": \"What to analyse\",\n      \"sectionDescription\": \"Every mode reads the public Arctic Shift Reddit archive and Reddit's public Atom feeds. No Reddit login, API key, cookie or proxy is required. Reddit's anonymous .json endpoints are not used.\",\n      \"enum\": [\n        \"overlap\",\n        \"discover\",\n        \"userSet\"\n      ],\n      \"enumTitles\": [\n        \"Audience overlap (find lookalike communities)\",\n        \"Discover communities (name prefix or keyword)\",\n        \"User set (profile users collectively)\"\n      ],\n      \"default\": \"overlap\",\n      \"prefill\": \"overlap\"\n    },\n    \"subreddits\": {\n      \"title\": \"Seed subreddits\",\n      \"type\": \"array\",\n      \"description\": \"Overlap mode: communities whose audience you want to map. Accepts bare names (python), r/ names or full Reddit URLs. Each seed is analysed separately.\",\n      \"editor\": \"stringList\",\n      \"example\": [\n        \"python\",\n        \"r/webdev\",\n        \"https://www.reddit.com/r/SaaS/\"\n      ],\n      \"prefill\": [\n        \"python\"\n      ],\n      \"maxItems\": 50\n    },\n    \"usernames\": {\n      \"title\": \"Usernames\",\n      \"type\": \"array\",\n      \"description\": \"User-set mode: Reddit authors to profile together. Accepts bare names, u/ names or profile URLs.\",\n      \"editor\": \"stringList\",\n      \"example\": [\n        \"spez\",\n        \"u/kn0thing\"\n      ],\n      \"maxItems\": 100\n    },\n    \"query\": {\n      \"title\": \"Discover query\",\n      \"type\": \"string\",\n      \"description\": \"Discover mode: a subreddit name prefix (python, data) or a keyword phrase (machine learning, personal finance). Prefixes search the archive directly; phrases also use Reddit's public community-search RSS and archive name/description matching.\",\n      \"editor\": \"textfield\",\n      \"example\": \"machine learning\"\n    },\n    \"sampleAuthors\": {\n      \"title\": \"Authors sampled per seed\",\n      \"type\": \"integer\",\n      \"description\": \"Overlap mode: how many recent unique authors to sample from each seed before reading their footprints. Larger samples are more stable but cost more archive requests. 200 is a good default; 25 is enough for a quick test.\",\n      \"sectionCaption\": \"Sampling\",\n      \"sectionDescription\": \"These settings control the author sample and the activity window used by overlap and user-set modes.\",\n      \"minimum\": 10,\n      \"maximum\": 2000,\n      \"default\": 200,\n      \"prefill\": 25\n    },\n    \"activityWindow\": {\n      \"title\": \"Activity window\",\n      \"type\": \"string\",\n      \"description\": \"How far back recent activity is sampled. The same window is used for the seed authors and their footprints.\",\n      \"enum\": [\n        \"7\",\n        \"30\",\n        \"90\",\n        \"180\",\n        \"365\"\n      ],\n      \"enumTitles\": [\n        \"Last 7 days\",\n        \"Last 30 days\",\n        \"Last 90 days\",\n        \"Last 180 days\",\n        \"Last 365 days\"\n      ],\n      \"default\": \"90\",\n      \"prefill\": \"30\"\n    },\n    \"contentType\": {\n      \"title\": \"Activity to count\",\n      \"type\": \"string\",\n      \"description\": \"Count posts, comments or both when sampling authors and building footprints. Comments usually give the largest sample.\",\n      \"enum\": [\n        \"both\",\n        \"posts\",\n        \"comments\"\n      ],\n      \"enumTitles\": [\n        \"Posts and comments\",\n        \"Posts only\",\n        \"Comments only\"\n      ],\n      \"default\": \"both\",\n      \"prefill\": \"both\"\n    },\n    \"excludeBots\": {\n      \"title\": \"Exclude bots and AutoModerator\",\n      \"type\": \"boolean\",\n      \"description\": \"Leave out AutoModerator and usernames that look like bots (names ending in bot or containing _bot/-bot). Deleted and removed authors are always excluded.\",\n      \"default\": true,\n      \"prefill\": true\n    },\n    \"excludeAuthors\": {\n      \"title\": \"Always exclude these authors\",\n      \"type\": \"array\",\n      \"description\": \"Additional usernames to leave out of the sample, case-insensitive.\",\n      \"editor\": \"stringList\",\n      \"example\": [\n        \"example_bot\",\n        \"brand_account\"\n      ],\n      \"maxItems\": 100\n    },\n    \"minSharedUsers\": {\n      \"title\": \"Minimum users in a community\",\n      \"type\": \"integer\",\n      \"description\": \"Overlap mode: keep a related community only when at least this many sampled seed authors are active there. User-set mode: keep a community only when at least this many supplied users are active there. Raise it to cut one-off crossovers.\",\n      \"minimum\": 1,\n      \"maximum\": 1000,\n      \"default\": 1,\n      \"prefill\": 1\n    },\n    \"maxLookalikes\": {\n      \"title\": \"Related communities per seed\",\n      \"type\": \"integer\",\n      \"description\": \"Overlap mode: maximum related communities to return for each seed, ranked by shared authors.\",\n      \"sectionCaption\": \"Related communities\",\n      \"sectionDescription\": \"Filters for the communities returned beside a seed, or discovered by keyword.\",\n      \"minimum\": 1,\n      \"maximum\": 100,\n      \"default\": 20,\n      \"prefill\": 5\n    },\n    \"includeNsfw\": {\n      \"title\": \"Include NSFW communities\",\n      \"type\": \"boolean\",\n      \"description\": \"When off, communities marked over-18 by the archive are left out of related and discover results. Seed subreddits may still be NSFW.\",\n      \"default\": false,\n      \"prefill\": false\n    },\n    \"minSubscribers\": {\n      \"title\": \"Minimum subscribers\",\n      \"type\": \"integer\",\n      \"description\": \"Skip communities below this subscriber count. Applies to related communities, discover results and user-set results. Leave 0 for no minimum.\",\n      \"minimum\": 0,\n      \"maximum\": 100000000,\n      \"default\": 0,\n      \"prefill\": 0\n    },\n    \"maxSubscribers\": {\n      \"title\": \"Maximum subscribers\",\n      \"type\": \"integer\",\n      \"description\": \"Skip communities above this subscriber count. Leave empty for no maximum. A maximum below the minimum matches nothing.\",\n      \"minimum\": 0,\n      \"maximum\": 100000000\n    },\n    \"excludeSubreddits\": {\n      \"title\": \"Exclude these communities\",\n      \"type\": \"array\",\n      \"description\": \"Subreddits to leave out of related and user-set results, for example a brand's own community or a known spam sub.\",\n      \"editor\": \"stringList\",\n      \"example\": [\n        \"selfpromotion\",\n        \"freepromotion\"\n      ],\n      \"maxItems\": 100\n    },\n    \"discoverSort\": {\n      \"title\": \"Sort discovered communities by\",\n      \"type\": \"string\",\n      \"description\": \"Discover mode only: order matched communities by subscriber count, creation date or name.\",\n      \"sectionCaption\": \"Discovery ordering\",\n      \"sectionDescription\": \"Ordering for discover mode. Overlap and user-set modes always rank by shared users and activity.\",\n      \"enum\": [\n        \"subscribers\",\n        \"created\",\n        \"name\"\n      ],\n      \"enumTitles\": [\n        \"Subscribers\",\n        \"Creation date\",\n        \"Name\"\n      ],\n      \"default\": \"subscribers\",\n      \"prefill\": \"subscribers\"\n    },\n    \"discoverSortOrder\": {\n      \"title\": \"Discovery sort order\",\n      \"type\": \"string\",\n      \"description\": \"Discover mode only: descending puts the largest, newest or last name first; ascending reverses it.\",\n      \"enum\": [\n        \"desc\",\n        \"asc\"\n      ],\n      \"enumTitles\": [\n        \"Descending\",\n        \"Ascending\"\n      ],\n      \"default\": \"desc\",\n      \"prefill\": \"desc\"\n    },\n    \"maxItems\": {\n      \"title\": \"Maximum rows\",\n      \"type\": \"integer\",\n      \"description\": \"Overall cap on dataset rows. In overlap mode this covers every seed and every related community.\",\n      \"sectionCaption\": \"Output\",\n      \"sectionDescription\": \"Row cap for the whole run. Every record is a flat JSON object with a recordType field.\",\n      \"minimum\": 1,\n      \"maximum\": 10000,\n      \"default\": 500,\n      \"prefill\": 5\n    }\n  }\n}",
    "readme": "# Subreddit Audience Overlap & Lookalike Community Finder\n\nReddit reach is fragmented. The people who read one community are also in five or ten others, and the names rarely make the relationship obvious. This actor samples the people who actually post and comment in a seed subreddit, reads where else each of them is active, and ranks the communities that share the largest part of that audience.\n\nIt also lists communities by name prefix or keyword, and profiles a list of usernames together. All counts come from the public **Arctic Shift** Reddit archive. Reddit's public **Atom RSS** feeds add live seed metadata, a fallback author sample and community-search fallback. No Reddit login, API key, cookie or proxy is needed, and Reddit's blocked `.json` endpoints are never used.\n\n## Three ways to map an audience\n\n| Mode | Question it answers | Example |\n|---|---|---|\n| **Audience overlap** | Where else does r/SaaS's audience hang out? | Rank lookalike communities by shared authors and lift |\n| **Discover communities** | Which communities match this name prefix or keyword? | `machine learning`, `personal finance`, `pyth` |\n| **User set** | Which communities does this group of usernames use most? | A list of 25 customers, creators or leads |\n\n## Quick start\n\nKeep the default mode (**Audience overlap**), leave the seed as `python`, and run. The default input samples 25 recent authors from the last 30 days and returns up to five related communities. A row looks like this:\n\n```json\n{\n  \"mode\": \"overlap\",\n  \"recordType\": \"audienceOverlap\",\n  \"seedSubreddit\": \"python\",\n  \"relatedSubreddit\": \"learnpython\",\n  \"rank\": 1,\n  \"sharedAuthors\": 11,\n  \"overlapPercent\": 44.0,\n  \"lift\": 2.41,\n  \"relatedActivityCount\": 63,\n  \"relatedSubscribers\": 761000,\n  \"sampleSize\": 25,\n  \"authorsProfiled\": 25,\n  \"contentType\": \"both\",\n  \"activityWindowDays\": 30,\n  \"exampleSharedAuthors\": [\"author_one\", \"author_two\", \"author_three\"],\n  \"relatedDescription\": \"A place to learn and ask Python questions.\",\n  \"relatedNsfw\": false,\n  \"relatedType\": \"public\",\n  \"relatedCreatedAt\": \"2011-06-30T00:00:00+00:00\",\n  \"source\": \"arctic-shift+reddit-rss\",\n  \"sourceUrl\": \"https://www.reddit.com/r/learnpython/\",\n  \"scrapedAt\": \"2026-11-17T12:00:00+00:00\"\n}\n```\n\n## Inputs\n\n| Input | Default | What it does |\n|---|---|---|\n| `mode` | `overlap` | `overlap`, `discover` or `userSet`. |\n| `subreddits` | – | Seed communities for overlap mode. Bare names, `r/` names and Reddit URLs are accepted. |\n| `usernames` | – | Authors for user-set mode. Bare names, `u/` names and profile URLs are accepted. |\n| `query` | – | Discover mode: a name prefix or a keyword phrase. |\n| `sampleAuthors` | `200` | Unique recent authors sampled per seed (10-2,000). |\n| `activityWindow` | `90` | Days of recent activity: `7`, `30`, `90`, `180` or `365`. |\n| `contentType` | `both` | Count `posts`, `comments` or `both`. |\n| `excludeBots` | `true` | Skip AutoModerator and bot-looking names. Deleted authors are always skipped. |\n| `excludeAuthors` | – | Extra usernames to skip, case-insensitive. |\n| `minSharedUsers` | `1` | Keep a community only when at least this many sampled users are active there. |\n| `maxLookalikes` | `20` | Related communities returned per seed (1-100). |\n| `includeNsfw` | `false` | Include communities marked over-18. |\n| `minSubscribers` | `0` | Skip smaller communities. |\n| `maxSubscribers` | – | Skip larger communities. A maximum below the minimum matches nothing. |\n| `excludeSubreddits` | – | Communities to leave out of related and user-set results. |\n| `discoverSort` | `subscribers` | Discover ordering: `subscribers`, `created` or `name`. |\n| `discoverSortOrder` | `desc` | `desc` or `asc`. |\n| `maxItems` | `500` | Overall row cap. |\n\n## What comes out\n\nEvery row is flat, omit-empty and carries `mode`, `recordType`, `source`, `sourceUrl` and `scrapedAt`.\n\n### `audienceOverlap`\n\nOne row per seed and related community: `seedSubreddit`, `relatedSubreddit`, `rank`, `sharedAuthors`, `overlapPercent`, `lift`, `relatedActivityCount`, `sampleSize`, `authorsProfiled`, `contentType`, `activityWindowDays`, `exampleSharedAuthors`, `seedLatestPostAt`, plus the related community's `relatedSubscribers`, `relatedCreatedAt`, `relatedDescription`, `relatedNsfw`, `relatedType`, `relatedCategory`, `relatedLanguage`, archived post/comment totals and earliest dates.\n\n### `subredditDiscovery`\n\nOne row per matched community: `subreddit`, `rank`, `matchedQuery`, `title`, `publicDescription`, `subscribers`, `createdAt`, `nsfw`, `subredditType`, `category`, `language`, archived post/comment totals, earliest dates and `sourceUrl`.\n\n### `userAudience`\n\nOne row per community used by the supplied users: `subreddit`, `rank`, `activeUsers`, `activityCount`, `activitySharePercent`, `audienceSharePercent`, `lift`, `profiledUsers`, `activityWindowDays`, `contentType`, `exampleUsers`, the community metadata and `sourceUrl`.\n\n## How the numbers are built\n\n1. **Sample.** For each seed, the actor pages through recent comments (and posts when `contentType` is `both`) until it has enough unique authors. Bots, AutoModerator and deleted authors are filtered. If the archive has not indexed the seed yet, the public Atom feed supplies a small fallback sample.\n2. **Footprint.** For each sampled author, the archive returns the subreddits they posted or commented in during the same window, with counts. One request per author; repeated authors across seeds are cached.\n3. **Overlap.** A related community enters the result when at least `minSharedUsers` sampled authors are active there. `overlapPercent` is `sharedAuthors / authorsProfiled * 100`.\n4. **Lift.** `lift` compares the community's share of the seed audience with its share of the candidate pool's subscribers: `(sharedAuthors / totalSharedAuthors) / (subscribers / totalCandidateSubscribers)`. A lift of 2 means the community attracts twice the audience share its size would predict. Communities without a subscriber count are ranked but have no lift.\n5. **Rank.** Related communities are ordered by shared authors, then total activity, then name. The top `maxLookalikes` per seed are returned.\n\nUser-set mode does the same footprint step for every supplied username, then ranks communities by total activity and reports both activity share and audience share. Discover mode reads the archive's subreddit directory by name prefix; a keyword phrase also uses Reddit's public community-search RSS and an archive name/description fallback.\n\n## Limits you should know\n\n- **The sample is a sample.** `overlapPercent` describes the sampled authors, not every subscriber. Increase `sampleAuthors` for a steadier estimate; 25 is a quick look, 200-1,000 is a research run.\n- **Recent archive lag.** New posts and comments can take hours to appear in Arctic Shift, and deleted content that was never archived cannot be counted.\n- **Subreddit metadata refresh.** Subscriber counts and descriptions come from the archive's infrequently refreshed community directory. They can differ slightly from the live page.\n- **Very broad keywords.** The archive has no global full-text search across every subreddit. Discover uses name prefixes, community-search RSS and name/description matching, so an unusual phrase can return fewer communities than Reddit's own search.\n- **NSFW and size filters** are applied after metadata is read. If metadata is missing, the community is kept rather than invented.\n- **Lift needs a trustworthy size.** Lift is omitted when a community has no subscriber count or fewer than 100 subscribers, because the archive's count is unreliable for very new or very small communities. The row still appears with its shared-author and overlap numbers.\n- **Rate limits.** Arctic Shift is a free volunteer service. Requests are paced and retried; a very large `sampleAuthors` value takes longer because each author needs one footprint request.\n\n## Data source\n\nPrimary: [Arctic Shift](https://arctic-shift.photon-reddit.com), a free public Reddit archive API. Secondary: Reddit's public Atom feeds (`/r/<name>/new/.rss`, `/user/<name>/.rss` and `/subreddits/search.rss`) for live metadata, fallback author samples and community-search fallback. Reddit's protected `.json` endpoints are not used.\n\n## FAQ\n\n**Do I need a Reddit account or API key?** No.\n\n**Why does a related community have no `lift`?** The archive did not return a subscriber count for it. The row is still useful; lift needs a size to compare against.\n\n**Why is the shared-author count lower than I expected?** The actor only sees archived public activity in the selected window, and it samples a limited number of seed authors. Raise `sampleAuthors` and widen `activityWindow` for a broader view.\n\n**Can I compare several seeds in one run?** Yes. Add them to `subreddits`; each seed gets its own ranked list and every row names its seed.\n\n**Can I schedule this?** Yes. Every row carries `scrapedAt`, `activityWindowDays` and the seed, so repeated runs line up in a warehouse or spreadsheet.\n",
    "actorDefinition": {
      "actorSpecification": 1,
      "name": "subreddit-audience-overlap",
      "title": "Subreddit Audience Overlap & Lookalike Community Finder",
      "description": "Map where a subreddit's audience also spends time. Sample recent active authors from seed communities and rank lookalike subreddits by shared authors, overlap and size-adjusted lift. Also discovers communities by prefix or keyword and profiles user lists. No Reddit login, API key, cookie or proxy.",
      "version": "1.0",
      "buildTag": "latest",
      "dockerfile": "./Dockerfile",
      "readme": "# Subreddit Audience Overlap & Lookalike Community Finder\n\nReddit reach is fragmented. The people who read one community are also in five or ten others, and the names rarely make the relationship obvious. This actor samples the people who actually post and comment in a seed subreddit, reads where else each of them is active, and ranks the communities that share the largest part of that audience.\n\nIt also lists communities by name prefix or keyword, and profiles a list of usernames together. All counts come from the public **Arctic Shift** Reddit archive. Reddit's public **Atom RSS** feeds add live seed metadata, a fallback author sample and community-search fallback. No Reddit login, API key, cookie or proxy is needed, and Reddit's blocked `.json` endpoints are never used.\n\n## Three ways to map an audience\n\n| Mode | Question it answers | Example |\n|---|---|---|\n| **Audience overlap** | Where else does r/SaaS's audience hang out? | Rank lookalike communities by shared authors and lift |\n| **Discover communities** | Which communities match this name prefix or keyword? | `machine learning`, `personal finance`, `pyth` |\n| **User set** | Which communities does this group of usernames use most? | A list of 25 customers, creators or leads |\n\n## Quick start\n\nKeep the default mode (**Audience overlap**), leave the seed as `python`, and run. The default input samples 25 recent authors from the last 30 days and returns up to five related communities. A row looks like this:\n\n```json\n{\n  \"mode\": \"overlap\",\n  \"recordType\": \"audienceOverlap\",\n  \"seedSubreddit\": \"python\",\n  \"relatedSubreddit\": \"learnpython\",\n  \"rank\": 1,\n  \"sharedAuthors\": 11,\n  \"overlapPercent\": 44.0,\n  \"lift\": 2.41,\n  \"relatedActivityCount\": 63,\n  \"relatedSubscribers\": 761000,\n  \"sampleSize\": 25,\n  \"authorsProfiled\": 25,\n  \"contentType\": \"both\",\n  \"activityWindowDays\": 30,\n  \"exampleSharedAuthors\": [\"author_one\", \"author_two\", \"author_three\"],\n  \"relatedDescription\": \"A place to learn and ask Python questions.\",\n  \"relatedNsfw\": false,\n  \"relatedType\": \"public\",\n  \"relatedCreatedAt\": \"2011-06-30T00:00:00+00:00\",\n  \"source\": \"arctic-shift+reddit-rss\",\n  \"sourceUrl\": \"https://www.reddit.com/r/learnpython/\",\n  \"scrapedAt\": \"2026-11-17T12:00:00+00:00\"\n}\n```\n\n## Inputs\n\n| Input | Default | What it does |\n|---|---|---|\n| `mode` | `overlap` | `overlap`, `discover` or `userSet`. |\n| `subreddits` | – | Seed communities for overlap mode. Bare names, `r/` names and Reddit URLs are accepted. |\n| `usernames` | – | Authors for user-set mode. Bare names, `u/` names and profile URLs are accepted. |\n| `query` | – | Discover mode: a name prefix or a keyword phrase. |\n| `sampleAuthors` | `200` | Unique recent authors sampled per seed (10-2,000). |\n| `activityWindow` | `90` | Days of recent activity: `7`, `30`, `90`, `180` or `365`. |\n| `contentType` | `both` | Count `posts`, `comments` or `both`. |\n| `excludeBots` | `true` | Skip AutoModerator and bot-looking names. Deleted authors are always skipped. |\n| `excludeAuthors` | – | Extra usernames to skip, case-insensitive. |\n| `minSharedUsers` | `1` | Keep a community only when at least this many sampled users are active there. |\n| `maxLookalikes` | `20` | Related communities returned per seed (1-100). |\n| `includeNsfw` | `false` | Include communities marked over-18. |\n| `minSubscribers` | `0` | Skip smaller communities. |\n| `maxSubscribers` | – | Skip larger communities. A maximum below the minimum matches nothing. |\n| `excludeSubreddits` | – | Communities to leave out of related and user-set results. |\n| `discoverSort` | `subscribers` | Discover ordering: `subscribers`, `created` or `name`. |\n| `discoverSortOrder` | `desc` | `desc` or `asc`. |\n| `maxItems` | `500` | Overall row cap. |\n\n## What comes out\n\nEvery row is flat, omit-empty and carries `mode`, `recordType`, `source`, `sourceUrl` and `scrapedAt`.\n\n### `audienceOverlap`\n\nOne row per seed and related community: `seedSubreddit`, `relatedSubreddit`, `rank`, `sharedAuthors`, `overlapPercent`, `lift`, `relatedActivityCount`, `sampleSize`, `authorsProfiled`, `contentType`, `activityWindowDays`, `exampleSharedAuthors`, `seedLatestPostAt`, plus the related community's `relatedSubscribers`, `relatedCreatedAt`, `relatedDescription`, `relatedNsfw`, `relatedType`, `relatedCategory`, `relatedLanguage`, archived post/comment totals and earliest dates.\n\n### `subredditDiscovery`\n\nOne row per matched community: `subreddit`, `rank`, `matchedQuery`, `title`, `publicDescription`, `subscribers`, `createdAt`, `nsfw`, `subredditType`, `category`, `language`, archived post/comment totals, earliest dates and `sourceUrl`.\n\n### `userAudience`\n\nOne row per community used by the supplied users: `subreddit`, `rank`, `activeUsers`, `activityCount`, `activitySharePercent`, `audienceSharePercent`, `lift`, `profiledUsers`, `activityWindowDays`, `contentType`, `exampleUsers`, the community metadata and `sourceUrl`.\n\n## How the numbers are built\n\n1. **Sample.** For each seed, the actor pages through recent comments (and posts when `contentType` is `both`) until it has enough unique authors. Bots, AutoModerator and deleted authors are filtered. If the archive has not indexed the seed yet, the public Atom feed supplies a small fallback sample.\n2. **Footprint.** For each sampled author, the archive returns the subreddits they posted or commented in during the same window, with counts. One request per author; repeated authors across seeds are cached.\n3. **Overlap.** A related community enters the result when at least `minSharedUsers` sampled authors are active there. `overlapPercent` is `sharedAuthors / authorsProfiled * 100`.\n4. **Lift.** `lift` compares the community's share of the seed audience with its share of the candidate pool's subscribers: `(sharedAuthors / totalSharedAuthors) / (subscribers / totalCandidateSubscribers)`. A lift of 2 means the community attracts twice the audience share its size would predict. Communities without a subscriber count are ranked but have no lift.\n5. **Rank.** Related communities are ordered by shared authors, then total activity, then name. The top `maxLookalikes` per seed are returned.\n\nUser-set mode does the same footprint step for every supplied username, then ranks communities by total activity and reports both activity share and audience share. Discover mode reads the archive's subreddit directory by name prefix; a keyword phrase also uses Reddit's public community-search RSS and an archive name/description fallback.\n\n## Limits you should know\n\n- **The sample is a sample.** `overlapPercent` describes the sampled authors, not every subscriber. Increase `sampleAuthors` for a steadier estimate; 25 is a quick look, 200-1,000 is a research run.\n- **Recent archive lag.** New posts and comments can take hours to appear in Arctic Shift, and deleted content that was never archived cannot be counted.\n- **Subreddit metadata refresh.** Subscriber counts and descriptions come from the archive's infrequently refreshed community directory. They can differ slightly from the live page.\n- **Very broad keywords.** The archive has no global full-text search across every subreddit. Discover uses name prefixes, community-search RSS and name/description matching, so an unusual phrase can return fewer communities than Reddit's own search.\n- **NSFW and size filters** are applied after metadata is read. If metadata is missing, the community is kept rather than invented.\n- **Lift needs a trustworthy size.** Lift is omitted when a community has no subscriber count or fewer than 100 subscribers, because the archive's count is unreliable for very new or very small communities. The row still appears with its shared-author and overlap numbers.\n- **Rate limits.** Arctic Shift is a free volunteer service. Requests are paced and retried; a very large `sampleAuthors` value takes longer because each author needs one footprint request.\n\n## Data source\n\nPrimary: [Arctic Shift](https://arctic-shift.photon-reddit.com), a free public Reddit archive API. Secondary: Reddit's public Atom feeds (`/r/<name>/new/.rss`, `/user/<name>/.rss` and `/subreddits/search.rss`) for live metadata, fallback author samples and community-search fallback. Reddit's protected `.json` endpoints are not used.\n\n## FAQ\n\n**Do I need a Reddit account or API key?** No.\n\n**Why does a related community have no `lift`?** The archive did not return a subscriber count for it. The row is still useful; lift needs a size to compare against.\n\n**Why is the shared-author count lower than I expected?** The actor only sees archived public activity in the selected window, and it samples a limited number of seed authors. Raise `sampleAuthors` and widen `activityWindow` for a broader view.\n\n**Can I compare several seeds in one run?** Yes. Add them to `subreddits`; each seed gets its own ranked list and every row names its seed.\n\n**Can I schedule this?** Yes. Every row carries `scrapedAt`, `activityWindowDays` and the seed, so repeated runs line up in a warehouse or spreadsheet.\n",
      "input": {
        "title": "Subreddit Audience Overlap Input",
        "type": "object",
        "schemaVersion": 1,
        "properties": {
          "mode": {
            "title": "What to find",
            "type": "string",
            "description": "Audience overlap finds lookalike communities for one or more seed subreddits. Discover lists communities by name prefix or keyword. User set profiles a list of usernames collectively.",
            "sectionCaption": "What to analyse",
            "sectionDescription": "Every mode reads the public Arctic Shift Reddit archive and Reddit's public Atom feeds. No Reddit login, API key, cookie or proxy is required. Reddit's anonymous .json endpoints are not used.",
            "enum": [
              "overlap",
              "discover",
              "userSet"
            ],
            "enumTitles": [
              "Audience overlap (find lookalike communities)",
              "Discover communities (name prefix or keyword)",
              "User set (profile users collectively)"
            ],
            "default": "overlap",
            "prefill": "overlap"
          },
          "subreddits": {
            "title": "Seed subreddits",
            "type": "array",
            "description": "Overlap mode: communities whose audience you want to map. Accepts bare names (python), r/ names or full Reddit URLs. Each seed is analysed separately.",
            "editor": "stringList",
            "example": [
              "python",
              "r/webdev",
              "https://www.reddit.com/r/SaaS/"
            ],
            "prefill": [
              "python"
            ],
            "maxItems": 50
          },
          "usernames": {
            "title": "Usernames",
            "type": "array",
            "description": "User-set mode: Reddit authors to profile together. Accepts bare names, u/ names or profile URLs.",
            "editor": "stringList",
            "example": [
              "spez",
              "u/kn0thing"
            ],
            "maxItems": 100
          },
          "query": {
            "title": "Discover query",
            "type": "string",
            "description": "Discover mode: a subreddit name prefix (python, data) or a keyword phrase (machine learning, personal finance). Prefixes search the archive directly; phrases also use Reddit's public community-search RSS and archive name/description matching.",
            "editor": "textfield",
            "example": "machine learning"
          },
          "sampleAuthors": {
            "title": "Authors sampled per seed",
            "type": "integer",
            "description": "Overlap mode: how many recent unique authors to sample from each seed before reading their footprints. Larger samples are more stable but cost more archive requests. 200 is a good default; 25 is enough for a quick test.",
            "sectionCaption": "Sampling",
            "sectionDescription": "These settings control the author sample and the activity window used by overlap and user-set modes.",
            "minimum": 10,
            "maximum": 2000,
            "default": 200,
            "prefill": 25
          },
          "activityWindow": {
            "title": "Activity window",
            "type": "string",
            "description": "How far back recent activity is sampled. The same window is used for the seed authors and their footprints.",
            "enum": [
              "7",
              "30",
              "90",
              "180",
              "365"
            ],
            "enumTitles": [
              "Last 7 days",
              "Last 30 days",
              "Last 90 days",
              "Last 180 days",
              "Last 365 days"
            ],
            "default": "90",
            "prefill": "30"
          },
          "contentType": {
            "title": "Activity to count",
            "type": "string",
            "description": "Count posts, comments or both when sampling authors and building footprints. Comments usually give the largest sample.",
            "enum": [
              "both",
              "posts",
              "comments"
            ],
            "enumTitles": [
              "Posts and comments",
              "Posts only",
              "Comments only"
            ],
            "default": "both",
            "prefill": "both"
          },
          "excludeBots": {
            "title": "Exclude bots and AutoModerator",
            "type": "boolean",
            "description": "Leave out AutoModerator and usernames that look like bots (names ending in bot or containing _bot/-bot). Deleted and removed authors are always excluded.",
            "default": true,
            "prefill": true
          },
          "excludeAuthors": {
            "title": "Always exclude these authors",
            "type": "array",
            "description": "Additional usernames to leave out of the sample, case-insensitive.",
            "editor": "stringList",
            "example": [
              "example_bot",
              "brand_account"
            ],
            "maxItems": 100
          },
          "minSharedUsers": {
            "title": "Minimum users in a community",
            "type": "integer",
            "description": "Overlap mode: keep a related community only when at least this many sampled seed authors are active there. User-set mode: keep a community only when at least this many supplied users are active there. Raise it to cut one-off crossovers.",
            "minimum": 1,
            "maximum": 1000,
            "default": 1,
            "prefill": 1
          },
          "maxLookalikes": {
            "title": "Related communities per seed",
            "type": "integer",
            "description": "Overlap mode: maximum related communities to return for each seed, ranked by shared authors.",
            "sectionCaption": "Related communities",
            "sectionDescription": "Filters for the communities returned beside a seed, or discovered by keyword.",
            "minimum": 1,
            "maximum": 100,
            "default": 20,
            "prefill": 5
          },
          "includeNsfw": {
            "title": "Include NSFW communities",
            "type": "boolean",
            "description": "When off, communities marked over-18 by the archive are left out of related and discover results. Seed subreddits may still be NSFW.",
            "default": false,
            "prefill": false
          },
          "minSubscribers": {
            "title": "Minimum subscribers",
            "type": "integer",
            "description": "Skip communities below this subscriber count. Applies to related communities, discover results and user-set results. Leave 0 for no minimum.",
            "minimum": 0,
            "maximum": 100000000,
            "default": 0,
            "prefill": 0
          },
          "maxSubscribers": {
            "title": "Maximum subscribers",
            "type": "integer",
            "description": "Skip communities above this subscriber count. Leave empty for no maximum. A maximum below the minimum matches nothing.",
            "minimum": 0,
            "maximum": 100000000
          },
          "excludeSubreddits": {
            "title": "Exclude these communities",
            "type": "array",
            "description": "Subreddits to leave out of related and user-set results, for example a brand's own community or a known spam sub.",
            "editor": "stringList",
            "example": [
              "selfpromotion",
              "freepromotion"
            ],
            "maxItems": 100
          },
          "discoverSort": {
            "title": "Sort discovered communities by",
            "type": "string",
            "description": "Discover mode only: order matched communities by subscriber count, creation date or name.",
            "sectionCaption": "Discovery ordering",
            "sectionDescription": "Ordering for discover mode. Overlap and user-set modes always rank by shared users and activity.",
            "enum": [
              "subscribers",
              "created",
              "name"
            ],
            "enumTitles": [
              "Subscribers",
              "Creation date",
              "Name"
            ],
            "default": "subscribers",
            "prefill": "subscribers"
          },
          "discoverSortOrder": {
            "title": "Discovery sort order",
            "type": "string",
            "description": "Discover mode only: descending puts the largest, newest or last name first; ascending reverses it.",
            "enum": [
              "desc",
              "asc"
            ],
            "enumTitles": [
              "Descending",
              "Ascending"
            ],
            "default": "desc",
            "prefill": "desc"
          },
          "maxItems": {
            "title": "Maximum rows",
            "type": "integer",
            "description": "Overall cap on dataset rows. In overlap mode this covers every seed and every related community.",
            "sectionCaption": "Output",
            "sectionDescription": "Row cap for the whole run. Every record is a flat JSON object with a recordType field.",
            "minimum": 1,
            "maximum": 10000,
            "default": 500,
            "prefill": 5
          }
        }
      },
      "output": {
        "actorOutputSchemaVersion": 1,
        "title": "Subreddit Audience Overlap Output",
        "description": "Flat audience-research rows from Reddit's public archive. audienceOverlap rows rank lookalike communities for a seed subreddit by shared authors, overlap percent and size-adjusted lift. subredditDiscovery rows list communities with metadata. userAudience rows rank communities by activity share across a supplied user set.",
        "properties": {
          "records": {
            "type": "string",
            "title": "Audience research rows",
            "description": "Dataset containing the rows for the selected mode. Every row has a recordType field: audienceOverlap, subredditDiscovery or userAudience.",
            "template": "{{links.apiDefaultDatasetUrl}}/items"
          }
        }
      },
      "storages": {
        "dataset": {
          "actorSpecification": 1,
          "views": {
            "overlap": {
              "title": "Audience overlap",
              "transformation": {
                "fields": [
                  "seedSubreddit",
                  "relatedSubreddit",
                  "sharedAuthors",
                  "overlapPercent",
                  "lift",
                  "relatedSubscribers",
                  "relatedDescription"
                ]
              },
              "display": {
                "component": "table",
                "properties": {}
              }
            },
            "discover": {
              "title": "Discovered communities",
              "transformation": {
                "fields": [
                  "subreddit",
                  "title",
                  "subscribers",
                  "createdAt",
                  "nsfw",
                  "subredditType",
                  "publicDescription"
                ]
              },
              "display": {
                "component": "table",
                "properties": {}
              }
            },
            "userSet": {
              "title": "User-set communities",
              "transformation": {
                "fields": [
                  "subreddit",
                  "activeUsers",
                  "activityCount",
                  "activitySharePercent",
                  "audienceSharePercent",
                  "subscribers",
                  "publicDescription"
                ]
              },
              "display": {
                "component": "table",
                "properties": {}
              }
            }
          }
        }
      },
      "environmentVariables": {},
      "defaultRunOptions": {
        "build": "latest",
        "timeoutSecs": 3600,
        "memoryMbytes": 512
      }
    },
    "buildNumber": "1.0.4",
    "imageDigest": "c5064c070c764d8d19ada324e4e04edfbbc2069da428141fc6d632196e41f8c3",
    "actVersion": {
      "sourceType": "SOURCE_FILES",
      "buildTag": "latest",
      "versionNumber": "1.0"
    },
    "usage": {
      "ACTOR_COMPUTE_UNITS": 0.0034344444444444444
    }
  }
}