Reddit Scraper - Cost Effective avatar

Reddit Scraper - Cost Effective

Try for free

1 day trial then $15.00/month - No credit card required now

Go to Store
Reddit Scraper - Cost Effective

Reddit Scraper - Cost Effective

igolaizola/reddit-scraper
Try for free

1 day trial then $15.00/month - No credit card required now

Extract structured data from posts, comments, and media content on Reddit.com using search and explore modes. Ideal for trend analysis, sentiment tracking, and keyword monitoring. Supports proxy integration for uninterrupted, large-scale scraping with reliable results.

You can access the Reddit Scraper - Cost Effective 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": "SOkpcjLK6Au2IWGeE"
6  },
7  "servers": [
8    {
9      "url": "https://api.apify.com/v2"
10    }
11  ],
12  "paths": {
13    "/acts/igolaizola~reddit-scraper/run-sync-get-dataset-items": {
14      "post": {
15        "operationId": "run-sync-get-dataset-items-igolaizola-reddit-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/igolaizola~reddit-scraper/runs": {
50      "post": {
51        "operationId": "runs-sync-igolaizola-reddit-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/igolaizola~reddit-scraper/run-sync": {
93      "post": {
94        "operationId": "run-sync-igolaizola-reddit-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          "maxItems",
135          "action",
136          "fetchMode"
137        ],
138        "properties": {
139          "maxItems": {
140            "title": "Max Items",
141            "minimum": 1,
142            "type": "integer",
143            "description": "Maximum number of posts to scrape",
144            "default": 50
145          },
146          "action": {
147            "title": "Action",
148            "enum": [
149              "search",
150              "explore"
151            ],
152            "type": "string",
153            "description": "Specify the scraping action"
154          },
155          "fetchMode": {
156            "title": "Fetch mode",
157            "enum": [
158              "list",
159              "post",
160              "comments"
161            ],
162            "type": "string",
163            "description": "Specify the type of data to fetch",
164            "default": "list"
165          },
166          "searchSub": {
167            "title": "Search Subreddit",
168            "type": "string",
169            "description": "Subreddit to search within (leave empty for global search)"
170          },
171          "searchQuery": {
172            "title": "Search Query",
173            "type": "string",
174            "description": "Search term for posts or comments"
175          },
176          "searchType": {
177            "title": "Search Type",
178            "enum": [
179              "posts",
180              "comments",
181              "media"
182            ],
183            "type": "string",
184            "description": "Type of content to search",
185            "default": "posts"
186          },
187          "searchSort": {
188            "title": "Search Sort",
189            "enum": [
190              "",
191              "relevance",
192              "hot",
193              "top",
194              "new",
195              "comments"
196            ],
197            "type": "string",
198            "description": "Sort search results"
199          },
200          "searchNsfw": {
201            "title": "Include NSFW",
202            "type": "boolean",
203            "description": "Include NSFW content in search results",
204            "default": false
205          },
206          "searchTime": {
207            "title": "Search Time Filter",
208            "enum": [
209              "",
210              "hour",
211              "day",
212              "week",
213              "month",
214              "year"
215            ],
216            "type": "string",
217            "description": "Time range for search results",
218            "default": "week"
219          },
220          "exploreSub": {
221            "title": "Explore Subreddit",
222            "type": "string",
223            "description": "Subreddit to explore"
224          },
225          "exploreTopic": {
226            "title": "Explore Topic",
227            "type": "string",
228            "description": "Specific topic to explore"
229          },
230          "exploreSort": {
231            "title": "Explore Sort",
232            "enum": [
233              "",
234              "hot",
235              "new",
236              "top",
237              "rising"
238            ],
239            "type": "string",
240            "description": "Sort explore results"
241          },
242          "exploreTime": {
243            "title": "Explore Time Filter",
244            "enum": [
245              "",
246              "hour",
247              "day",
248              "week",
249              "month",
250              "year"
251            ],
252            "type": "string",
253            "description": "Time range for explore results"
254          },
255          "proxyConfiguration": {
256            "title": "Proxy configuration",
257            "type": "object",
258            "description": "Select proxies to be used."
259          }
260        }
261      },
262      "runsResponseSchema": {
263        "type": "object",
264        "properties": {
265          "data": {
266            "type": "object",
267            "properties": {
268              "id": {
269                "type": "string"
270              },
271              "actId": {
272                "type": "string"
273              },
274              "userId": {
275                "type": "string"
276              },
277              "startedAt": {
278                "type": "string",
279                "format": "date-time",
280                "example": "2025-01-08T00:00:00.000Z"
281              },
282              "finishedAt": {
283                "type": "string",
284                "format": "date-time",
285                "example": "2025-01-08T00:00:00.000Z"
286              },
287              "status": {
288                "type": "string",
289                "example": "READY"
290              },
291              "meta": {
292                "type": "object",
293                "properties": {
294                  "origin": {
295                    "type": "string",
296                    "example": "API"
297                  },
298                  "userAgent": {
299                    "type": "string"
300                  }
301                }
302              },
303              "stats": {
304                "type": "object",
305                "properties": {
306                  "inputBodyLen": {
307                    "type": "integer",
308                    "example": 2000
309                  },
310                  "rebootCount": {
311                    "type": "integer",
312                    "example": 0
313                  },
314                  "restartCount": {
315                    "type": "integer",
316                    "example": 0
317                  },
318                  "resurrectCount": {
319                    "type": "integer",
320                    "example": 0
321                  },
322                  "computeUnits": {
323                    "type": "integer",
324                    "example": 0
325                  }
326                }
327              },
328              "options": {
329                "type": "object",
330                "properties": {
331                  "build": {
332                    "type": "string",
333                    "example": "latest"
334                  },
335                  "timeoutSecs": {
336                    "type": "integer",
337                    "example": 300
338                  },
339                  "memoryMbytes": {
340                    "type": "integer",
341                    "example": 1024
342                  },
343                  "diskMbytes": {
344                    "type": "integer",
345                    "example": 2048
346                  }
347                }
348              },
349              "buildId": {
350                "type": "string"
351              },
352              "defaultKeyValueStoreId": {
353                "type": "string"
354              },
355              "defaultDatasetId": {
356                "type": "string"
357              },
358              "defaultRequestQueueId": {
359                "type": "string"
360              },
361              "buildNumber": {
362                "type": "string",
363                "example": "1.0.0"
364              },
365              "containerUrl": {
366                "type": "string"
367              },
368              "usage": {
369                "type": "object",
370                "properties": {
371                  "ACTOR_COMPUTE_UNITS": {
372                    "type": "integer",
373                    "example": 0
374                  },
375                  "DATASET_READS": {
376                    "type": "integer",
377                    "example": 0
378                  },
379                  "DATASET_WRITES": {
380                    "type": "integer",
381                    "example": 0
382                  },
383                  "KEY_VALUE_STORE_READS": {
384                    "type": "integer",
385                    "example": 0
386                  },
387                  "KEY_VALUE_STORE_WRITES": {
388                    "type": "integer",
389                    "example": 1
390                  },
391                  "KEY_VALUE_STORE_LISTS": {
392                    "type": "integer",
393                    "example": 0
394                  },
395                  "REQUEST_QUEUE_READS": {
396                    "type": "integer",
397                    "example": 0
398                  },
399                  "REQUEST_QUEUE_WRITES": {
400                    "type": "integer",
401                    "example": 0
402                  },
403                  "DATA_TRANSFER_INTERNAL_GBYTES": {
404                    "type": "integer",
405                    "example": 0
406                  },
407                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
408                    "type": "integer",
409                    "example": 0
410                  },
411                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
412                    "type": "integer",
413                    "example": 0
414                  },
415                  "PROXY_SERPS": {
416                    "type": "integer",
417                    "example": 0
418                  }
419                }
420              },
421              "usageTotalUsd": {
422                "type": "number",
423                "example": 0.00005
424              },
425              "usageUsd": {
426                "type": "object",
427                "properties": {
428                  "ACTOR_COMPUTE_UNITS": {
429                    "type": "integer",
430                    "example": 0
431                  },
432                  "DATASET_READS": {
433                    "type": "integer",
434                    "example": 0
435                  },
436                  "DATASET_WRITES": {
437                    "type": "integer",
438                    "example": 0
439                  },
440                  "KEY_VALUE_STORE_READS": {
441                    "type": "integer",
442                    "example": 0
443                  },
444                  "KEY_VALUE_STORE_WRITES": {
445                    "type": "number",
446                    "example": 0.00005
447                  },
448                  "KEY_VALUE_STORE_LISTS": {
449                    "type": "integer",
450                    "example": 0
451                  },
452                  "REQUEST_QUEUE_READS": {
453                    "type": "integer",
454                    "example": 0
455                  },
456                  "REQUEST_QUEUE_WRITES": {
457                    "type": "integer",
458                    "example": 0
459                  },
460                  "DATA_TRANSFER_INTERNAL_GBYTES": {
461                    "type": "integer",
462                    "example": 0
463                  },
464                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
465                    "type": "integer",
466                    "example": 0
467                  },
468                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
469                    "type": "integer",
470                    "example": 0
471                  },
472                  "PROXY_SERPS": {
473                    "type": "integer",
474                    "example": 0
475                  }
476                }
477              }
478            }
479          }
480        }
481      }
482    }
483  }
484}

Reddit Scraper - Cost Effective 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 Reddit Scraper - Cost Effective 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

  • 6 monthly users

  • 2 stars

  • 75% runs succeeded

  • Created in Dec 2024

  • Modified a month ago