SubReddit Comments Search Scraper avatar

SubReddit Comments Search Scraper

Try for free

2 hours trial then $19.99/month - No credit card required now

Go to Store
SubReddit Comments Search Scraper

SubReddit Comments Search Scraper

easyapi/subreddit-comments-search-scraper
Try for free

2 hours trial then $19.99/month - No credit card required now

Extract Reddit comments from any subreddit's search results with advanced filtering. Get detailed comment data including timestamps, user info, votes, and more. Perfect for market research, trend analysis and community insights.

You can access the SubReddit Comments Search Scraper programmatically from your own applications by using the Apify API. You can choose the language preference from below. To use the Apify API, you’ll need an Apify account and your API token, found in Integrations settings in Apify Console.

1{
2  "openapi": "3.0.1",
3  "info": {
4    "version": "0.0",
5    "x-build-id": "tECZMMksbQ3JSx65a"
6  },
7  "servers": [
8    {
9      "url": "https://api.apify.com/v2"
10    }
11  ],
12  "paths": {
13    "/acts/easyapi~subreddit-comments-search-scraper/run-sync-get-dataset-items": {
14      "post": {
15        "operationId": "run-sync-get-dataset-items-easyapi-subreddit-comments-search-scraper",
16        "x-openai-isConsequential": false,
17        "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
18        "tags": [
19          "Run Actor"
20        ],
21        "requestBody": {
22          "required": true,
23          "content": {
24            "application/json": {
25              "schema": {
26                "$ref": "#/components/schemas/inputSchema"
27              }
28            }
29          }
30        },
31        "parameters": [
32          {
33            "name": "token",
34            "in": "query",
35            "required": true,
36            "schema": {
37              "type": "string"
38            },
39            "description": "Enter your Apify token here"
40          }
41        ],
42        "responses": {
43          "200": {
44            "description": "OK"
45          }
46        }
47      }
48    },
49    "/acts/easyapi~subreddit-comments-search-scraper/runs": {
50      "post": {
51        "operationId": "runs-sync-easyapi-subreddit-comments-search-scraper",
52        "x-openai-isConsequential": false,
53        "summary": "Executes an Actor and returns information about the initiated run in response.",
54        "tags": [
55          "Run Actor"
56        ],
57        "requestBody": {
58          "required": true,
59          "content": {
60            "application/json": {
61              "schema": {
62                "$ref": "#/components/schemas/inputSchema"
63              }
64            }
65          }
66        },
67        "parameters": [
68          {
69            "name": "token",
70            "in": "query",
71            "required": true,
72            "schema": {
73              "type": "string"
74            },
75            "description": "Enter your Apify token here"
76          }
77        ],
78        "responses": {
79          "200": {
80            "description": "OK",
81            "content": {
82              "application/json": {
83                "schema": {
84                  "$ref": "#/components/schemas/runsResponseSchema"
85                }
86              }
87            }
88          }
89        }
90      }
91    },
92    "/acts/easyapi~subreddit-comments-search-scraper/run-sync": {
93      "post": {
94        "operationId": "run-sync-easyapi-subreddit-comments-search-scraper",
95        "x-openai-isConsequential": false,
96        "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
97        "tags": [
98          "Run Actor"
99        ],
100        "requestBody": {
101          "required": true,
102          "content": {
103            "application/json": {
104              "schema": {
105                "$ref": "#/components/schemas/inputSchema"
106              }
107            }
108          }
109        },
110        "parameters": [
111          {
112            "name": "token",
113            "in": "query",
114            "required": true,
115            "schema": {
116              "type": "string"
117            },
118            "description": "Enter your Apify token here"
119          }
120        ],
121        "responses": {
122          "200": {
123            "description": "OK"
124          }
125        }
126      }
127    }
128  },
129  "components": {
130    "schemas": {
131      "inputSchema": {
132        "type": "object",
133        "required": [
134          "query",
135          "subReddit"
136        ],
137        "properties": {
138          "query": {
139            "title": "Search Query",
140            "type": "string",
141            "description": "Keyword or phrase to search for",
142            "default": "app"
143          },
144          "subReddit": {
145            "title": "Subreddit",
146            "type": "string",
147            "description": "Target subreddit name (without 'r/')",
148            "default": "AppIdeas"
149          },
150          "sort": {
151            "title": "Sort By",
152            "enum": [
153              "relevance",
154              "top",
155              "new",
156              "comments",
157              "hot"
158            ],
159            "type": "string",
160            "description": "How to sort the search results",
161            "default": "relevance"
162          },
163          "safeSearch": {
164            "title": "Safe Search",
165            "enum": [
166              "0",
167              "1"
168            ],
169            "type": "string",
170            "description": "Enable or disable safe search",
171            "default": "0"
172          },
173          "maxItems": {
174            "title": "Maximum Items",
175            "minimum": 1,
176            "type": "integer",
177            "description": "Maximum number of items to scrape (default: 100)",
178            "default": 100
179          },
180          "proxyConfiguration": {
181            "title": "Proxy Configuration",
182            "type": "object",
183            "description": "Optionally, use Apify Proxy or custom HTTP proxy to avoid IP address-based blocking.",
184            "default": {
185              "useApifyProxy": true,
186              "apifyProxyGroups": [
187                "RESIDENTIAL"
188              ]
189            }
190          }
191        }
192      },
193      "runsResponseSchema": {
194        "type": "object",
195        "properties": {
196          "data": {
197            "type": "object",
198            "properties": {
199              "id": {
200                "type": "string"
201              },
202              "actId": {
203                "type": "string"
204              },
205              "userId": {
206                "type": "string"
207              },
208              "startedAt": {
209                "type": "string",
210                "format": "date-time",
211                "example": "2025-01-08T00:00:00.000Z"
212              },
213              "finishedAt": {
214                "type": "string",
215                "format": "date-time",
216                "example": "2025-01-08T00:00:00.000Z"
217              },
218              "status": {
219                "type": "string",
220                "example": "READY"
221              },
222              "meta": {
223                "type": "object",
224                "properties": {
225                  "origin": {
226                    "type": "string",
227                    "example": "API"
228                  },
229                  "userAgent": {
230                    "type": "string"
231                  }
232                }
233              },
234              "stats": {
235                "type": "object",
236                "properties": {
237                  "inputBodyLen": {
238                    "type": "integer",
239                    "example": 2000
240                  },
241                  "rebootCount": {
242                    "type": "integer",
243                    "example": 0
244                  },
245                  "restartCount": {
246                    "type": "integer",
247                    "example": 0
248                  },
249                  "resurrectCount": {
250                    "type": "integer",
251                    "example": 0
252                  },
253                  "computeUnits": {
254                    "type": "integer",
255                    "example": 0
256                  }
257                }
258              },
259              "options": {
260                "type": "object",
261                "properties": {
262                  "build": {
263                    "type": "string",
264                    "example": "latest"
265                  },
266                  "timeoutSecs": {
267                    "type": "integer",
268                    "example": 300
269                  },
270                  "memoryMbytes": {
271                    "type": "integer",
272                    "example": 1024
273                  },
274                  "diskMbytes": {
275                    "type": "integer",
276                    "example": 2048
277                  }
278                }
279              },
280              "buildId": {
281                "type": "string"
282              },
283              "defaultKeyValueStoreId": {
284                "type": "string"
285              },
286              "defaultDatasetId": {
287                "type": "string"
288              },
289              "defaultRequestQueueId": {
290                "type": "string"
291              },
292              "buildNumber": {
293                "type": "string",
294                "example": "1.0.0"
295              },
296              "containerUrl": {
297                "type": "string"
298              },
299              "usage": {
300                "type": "object",
301                "properties": {
302                  "ACTOR_COMPUTE_UNITS": {
303                    "type": "integer",
304                    "example": 0
305                  },
306                  "DATASET_READS": {
307                    "type": "integer",
308                    "example": 0
309                  },
310                  "DATASET_WRITES": {
311                    "type": "integer",
312                    "example": 0
313                  },
314                  "KEY_VALUE_STORE_READS": {
315                    "type": "integer",
316                    "example": 0
317                  },
318                  "KEY_VALUE_STORE_WRITES": {
319                    "type": "integer",
320                    "example": 1
321                  },
322                  "KEY_VALUE_STORE_LISTS": {
323                    "type": "integer",
324                    "example": 0
325                  },
326                  "REQUEST_QUEUE_READS": {
327                    "type": "integer",
328                    "example": 0
329                  },
330                  "REQUEST_QUEUE_WRITES": {
331                    "type": "integer",
332                    "example": 0
333                  },
334                  "DATA_TRANSFER_INTERNAL_GBYTES": {
335                    "type": "integer",
336                    "example": 0
337                  },
338                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
339                    "type": "integer",
340                    "example": 0
341                  },
342                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
343                    "type": "integer",
344                    "example": 0
345                  },
346                  "PROXY_SERPS": {
347                    "type": "integer",
348                    "example": 0
349                  }
350                }
351              },
352              "usageTotalUsd": {
353                "type": "number",
354                "example": 0.00005
355              },
356              "usageUsd": {
357                "type": "object",
358                "properties": {
359                  "ACTOR_COMPUTE_UNITS": {
360                    "type": "integer",
361                    "example": 0
362                  },
363                  "DATASET_READS": {
364                    "type": "integer",
365                    "example": 0
366                  },
367                  "DATASET_WRITES": {
368                    "type": "integer",
369                    "example": 0
370                  },
371                  "KEY_VALUE_STORE_READS": {
372                    "type": "integer",
373                    "example": 0
374                  },
375                  "KEY_VALUE_STORE_WRITES": {
376                    "type": "number",
377                    "example": 0.00005
378                  },
379                  "KEY_VALUE_STORE_LISTS": {
380                    "type": "integer",
381                    "example": 0
382                  },
383                  "REQUEST_QUEUE_READS": {
384                    "type": "integer",
385                    "example": 0
386                  },
387                  "REQUEST_QUEUE_WRITES": {
388                    "type": "integer",
389                    "example": 0
390                  },
391                  "DATA_TRANSFER_INTERNAL_GBYTES": {
392                    "type": "integer",
393                    "example": 0
394                  },
395                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
396                    "type": "integer",
397                    "example": 0
398                  },
399                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
400                    "type": "integer",
401                    "example": 0
402                  },
403                  "PROXY_SERPS": {
404                    "type": "integer",
405                    "example": 0
406                  }
407                }
408              }
409            }
410          }
411        }
412      }
413    }
414  }
415}

SubReddit Comments Search Scraper OpenAPI definition

OpenAPI is a standard for designing and describing RESTful APIs, allowing developers to define API structure, endpoints, and data formats in a machine-readable way. It simplifies API development, integration, and documentation.

OpenAPI is effective when used with AI agents and GPTs by standardizing how these systems interact with various APIs, for reliable integrations and efficient communication.

By defining machine-readable API specifications, OpenAPI allows AI models like GPTs to understand and use varied data sources, improving accuracy. This accelerates development, reduces errors, and provides context-aware responses, making OpenAPI a core component for AI applications.

You can download the OpenAPI definitions for SubReddit Comments Search Scraper from the options below:

If you’d like to learn more about how OpenAPI powers GPTs, read our blog post.

You can also check out our other API clients:

Developer
Maintained by Community

Actor Metrics

  • 4 monthly users

  • 0 No stars yet

  • >99% runs succeeded

  • Created in Nov 2024

  • Modified 3 months ago

Categories