1import { ApifyClient } from 'apify-client';
2
3
4
5const client = new ApifyClient({
6 token: '<YOUR_API_TOKEN>',
7});
8
9
10const input = {
11 "brandTerms": [
12 "notion"
13 ],
14 "sourceMode": "list",
15 "brandBrief": "Notion — the note-taking, docs and wiki app for teams (notion.so), not the word 'notion'. We want complaints, feature requests and people looking for an alternative.",
16 "maxDiscoveryChargeUsd": 0.5,
17 "maxItemsPerSearch": 75,
18 "itemsList": [
19 {
20 "id": "t3_1fq2a7x",
21 "parsedId": "1fq2a7x",
22 "dataType": "post",
23 "url": "https://www.reddit.com/r/productivity/comments/1fq2a7x/looking_for_an_alternative_to_notion_that_works/",
24 "username": "sample_user_1",
25 "parsedCommunityName": "productivity",
26 "communityName": "r/productivity",
27 "title": "Looking for an alternative to Notion that works offline",
28 "body": "I love the databases but Notion is so slow on my laptop and useless on the train without wifi. Tried Obsidian but I miss the tables. What are you all using instead of Notion in 2026?",
29 "createdAt": "2026-09-25T08:12:00.000Z",
30 "upVotes": 48,
31 "numberOfComments": 37,
32 "flair": "Software",
33 "over18": false,
34 "isAd": false,
35 "scrapedAt": "2026-09-25T09:00:00.000Z"
36 },
37 {
38 "id": "t1_lp3k9d2",
39 "parsedId": "lp3k9d2",
40 "dataType": "comment",
41 "url": "https://www.reddit.com/r/productivity/comments/1fq2a7x/looking_for_an_alternative_to_notion_that_works/lp3k9d2/",
42 "parentId": "t3_1fq2a7x",
43 "username": "sample_user_2",
44 "communityName": "r/productivity",
45 "category": "productivity",
46 "body": "I switched from Notion to Obsidian last month. The offline sync is so much faster, but I really miss Notion's database views.",
47 "createdAt": "2026-09-25T09:40:00.000Z",
48 "upVotes": 21,
49 "numberOfReplies": 3,
50 "scrapedAt": "2026-09-25T10:00:00.000Z"
51 },
52 {
53 "id": "t3_1fpx0c4",
54 "parsedId": "1fpx0c4",
55 "dataType": "post",
56 "url": "https://www.reddit.com/r/Notion/comments/1fpx0c4/notion_ai_keeps_timing_out_on_large_databases/",
57 "username": "sample_user_3",
58 "parsedCommunityName": "Notion",
59 "communityName": "r/Notion",
60 "title": "Notion AI keeps timing out on large databases — anyone else?",
61 "body": "Since the last update every Q&A query on our 4k-row database fails after 30 seconds. We pay for the Business plan and support hasn't answered in 5 days. Is this a known bug?",
62 "createdAt": "2026-09-24T17:05:00.000Z",
63 "upVotes": 132,
64 "numberOfComments": 41,
65 "flair": "Bug",
66 "over18": false,
67 "isAd": false,
68 "scrapedAt": "2026-09-25T09:00:00.000Z"
69 },
70 {
71 "id": "t3_1fpq8m1",
72 "parsedId": "1fpq8m1",
73 "dataType": "post",
74 "url": "https://www.reddit.com/r/Notion/comments/1fpq8m1/feature_request_native_gantt_dependencies/",
75 "username": "sample_user_4",
76 "parsedCommunityName": "Notion",
77 "communityName": "r/Notion",
78 "title": "Feature request: native Gantt dependencies in Notion timelines",
79 "body": "It would be great if Notion timelines could link tasks so moving one shifts the others. Right now we keep a separate tool just for dependencies.",
80 "createdAt": "2026-09-23T11:30:00.000Z",
81 "upVotes": 64,
82 "numberOfComments": 12,
83 "flair": "Request",
84 "over18": false,
85 "isAd": false,
86 "scrapedAt": "2026-09-25T09:00:00.000Z"
87 },
88 {
89 "id": "t1_lp1z7qa",
90 "parsedId": "lp1z7qa",
91 "dataType": "comment",
92 "url": "https://www.reddit.com/r/SaaS/comments/1fp9d2e/what_tools_run_your_startup/lp1z7qa/",
93 "parentId": "t1_lp1y001",
94 "username": "sample_user_5",
95 "communityName": "r/SaaS",
96 "category": "SaaS",
97 "body": "We run the whole company wiki and onboarding in Notion and I'd recommend it to any small team, the templates saved us weeks.",
98 "createdAt": "2026-09-24T21:15:00.000Z",
99 "upVotes": 15,
100 "numberOfReplies": 1,
101 "scrapedAt": "2026-09-25T09:00:00.000Z"
102 },
103 {
104 "id": "t1_lp0aa11",
105 "parsedId": "lp0aa11",
106 "dataType": "comment",
107 "url": "https://www.reddit.com/r/philosophy/comments/1fo7u3b/free_will_and_determinism/lp0aa11/",
108 "parentId": "t3_1fo7u3b",
109 "username": "sample_user_6",
110 "communityName": "r/philosophy",
111 "category": "philosophy",
112 "body": "The notion of free will only makes sense if we accept some form of compatibilism.",
113 "createdAt": "2026-09-24T12:00:00.000Z",
114 "upVotes": 9,
115 "numberOfReplies": 2,
116 "scrapedAt": "2026-09-25T09:00:00.000Z"
117 },
118 {
119 "id": "t1_lp2bot9",
120 "parsedId": "lp2bot9",
121 "dataType": "comment",
122 "url": "https://www.reddit.com/r/Notion/comments/1fpx0c4/notion_ai_keeps_timing_out_on_large_databases/lp2bot9/",
123 "parentId": "t3_1fpx0c4",
124 "username": "AutoModerator",
125 "communityName": "r/Notion",
126 "category": "Notion",
127 "body": "Thanks for posting to r/Notion! Please make sure your post follows the rules.",
128 "createdAt": "2026-09-24T17:05:30.000Z",
129 "upVotes": 1,
130 "numberOfReplies": 0,
131 "scrapedAt": "2026-09-25T09:00:00.000Z"
132 },
133 {
134 "id": "t3_1fn4del",
135 "parsedId": "1fn4del",
136 "dataType": "post",
137 "url": "https://www.reddit.com/r/Notion/comments/1fn4del/deleted/",
138 "username": "[deleted]",
139 "parsedCommunityName": "Notion",
140 "communityName": "r/Notion",
141 "title": "[deleted by user]",
142 "body": "[removed]",
143 "createdAt": "2026-09-22T07:00:00.000Z",
144 "upVotes": 0,
145 "numberOfComments": 0,
146 "over18": false,
147 "isAd": false,
148 "scrapedAt": "2026-09-25T09:00:00.000Z"
149 },
150 {
151 "id": "2qhb7",
152 "dataType": "community",
153 "url": "https://www.reddit.com/r/Notion/",
154 "title": "Notion",
155 "communityName": "r/Notion",
156 "numberOfMembers": 310000,
157 "scrapedAt": "2026-09-25T09:00:00.000Z"
158 }
159 ],
160 "discoveryInput": {}
161};
162
163
164const run = await client.actor("rich_minds/reddit-brand-monitoring-ai").call(input);
165
166
167console.log('Results from dataset');
168console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
169const { items } = await client.dataset(run.defaultDatasetId).listItems();
170items.forEach((item) => {
171 console.dir(item);
172});
173
174