SubReddit Media Search Scraper avatar

SubReddit Media Search Scraper

Try for free

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

Go to Store
SubReddit Media Search Scraper

SubReddit Media Search Scraper

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

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

Extract media content (images and videos) from Reddit subreddit search results with advanced filtering options. Perfect for content analysis, trend monitoring, and media collection from specific communities.

You can access the SubReddit Media 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": "Ib6MQSGij7h4tSzN8"
6  },
7  "servers": [
8    {
9      "url": "https://api.apify.com/v2"
10    }
11  ],
12  "paths": {
13    "/acts/easyapi~subreddit-media-search-scraper/run-sync-get-dataset-items": {
14      "post": {
15        "operationId": "run-sync-get-dataset-items-easyapi-subreddit-media-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-media-search-scraper/runs": {
50      "post": {
51        "operationId": "runs-sync-easyapi-subreddit-media-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-media-search-scraper/run-sync": {
93      "post": {
94        "operationId": "run-sync-easyapi-subreddit-media-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": "ai"
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          "time": {
164            "title": "Time Range",
165            "enum": [
166              "hour",
167              "day",
168              "week",
169              "month",
170              "year",
171              "all"
172            ],
173            "type": "string",
174            "description": "Time range for the search results",
175            "default": "all"
176          },
177          "safeSearch": {
178            "title": "Safe Search",
179            "enum": [
180              "0",
181              "1"
182            ],
183            "type": "string",
184            "description": "Enable or disable safe search",
185            "default": "0"
186          },
187          "maxItems": {
188            "title": "Maximum Items",
189            "minimum": 1,
190            "type": "integer",
191            "description": "Maximum number of items to scrape (default: 100)",
192            "default": 30
193          },
194          "proxyConfiguration": {
195            "title": "Proxy Configuration",
196            "type": "object",
197            "description": "Optionally, use Apify Proxy or custom HTTP proxy to avoid IP address-based blocking.",
198            "default": {
199              "useApifyProxy": true,
200              "apifyProxyGroups": [
201                "RESIDENTIAL"
202              ]
203            }
204          }
205        }
206      },
207      "runsResponseSchema": {
208        "type": "object",
209        "properties": {
210          "data": {
211            "type": "object",
212            "properties": {
213              "id": {
214                "type": "string"
215              },
216              "actId": {
217                "type": "string"
218              },
219              "userId": {
220                "type": "string"
221              },
222              "startedAt": {
223                "type": "string",
224                "format": "date-time",
225                "example": "2025-01-08T00:00:00.000Z"
226              },
227              "finishedAt": {
228                "type": "string",
229                "format": "date-time",
230                "example": "2025-01-08T00:00:00.000Z"
231              },
232              "status": {
233                "type": "string",
234                "example": "READY"
235              },
236              "meta": {
237                "type": "object",
238                "properties": {
239                  "origin": {
240                    "type": "string",
241                    "example": "API"
242                  },
243                  "userAgent": {
244                    "type": "string"
245                  }
246                }
247              },
248              "stats": {
249                "type": "object",
250                "properties": {
251                  "inputBodyLen": {
252                    "type": "integer",
253                    "example": 2000
254                  },
255                  "rebootCount": {
256                    "type": "integer",
257                    "example": 0
258                  },
259                  "restartCount": {
260                    "type": "integer",
261                    "example": 0
262                  },
263                  "resurrectCount": {
264                    "type": "integer",
265                    "example": 0
266                  },
267                  "computeUnits": {
268                    "type": "integer",
269                    "example": 0
270                  }
271                }
272              },
273              "options": {
274                "type": "object",
275                "properties": {
276                  "build": {
277                    "type": "string",
278                    "example": "latest"
279                  },
280                  "timeoutSecs": {
281                    "type": "integer",
282                    "example": 300
283                  },
284                  "memoryMbytes": {
285                    "type": "integer",
286                    "example": 1024
287                  },
288                  "diskMbytes": {
289                    "type": "integer",
290                    "example": 2048
291                  }
292                }
293              },
294              "buildId": {
295                "type": "string"
296              },
297              "defaultKeyValueStoreId": {
298                "type": "string"
299              },
300              "defaultDatasetId": {
301                "type": "string"
302              },
303              "defaultRequestQueueId": {
304                "type": "string"
305              },
306              "buildNumber": {
307                "type": "string",
308                "example": "1.0.0"
309              },
310              "containerUrl": {
311                "type": "string"
312              },
313              "usage": {
314                "type": "object",
315                "properties": {
316                  "ACTOR_COMPUTE_UNITS": {
317                    "type": "integer",
318                    "example": 0
319                  },
320                  "DATASET_READS": {
321                    "type": "integer",
322                    "example": 0
323                  },
324                  "DATASET_WRITES": {
325                    "type": "integer",
326                    "example": 0
327                  },
328                  "KEY_VALUE_STORE_READS": {
329                    "type": "integer",
330                    "example": 0
331                  },
332                  "KEY_VALUE_STORE_WRITES": {
333                    "type": "integer",
334                    "example": 1
335                  },
336                  "KEY_VALUE_STORE_LISTS": {
337                    "type": "integer",
338                    "example": 0
339                  },
340                  "REQUEST_QUEUE_READS": {
341                    "type": "integer",
342                    "example": 0
343                  },
344                  "REQUEST_QUEUE_WRITES": {
345                    "type": "integer",
346                    "example": 0
347                  },
348                  "DATA_TRANSFER_INTERNAL_GBYTES": {
349                    "type": "integer",
350                    "example": 0
351                  },
352                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
353                    "type": "integer",
354                    "example": 0
355                  },
356                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
357                    "type": "integer",
358                    "example": 0
359                  },
360                  "PROXY_SERPS": {
361                    "type": "integer",
362                    "example": 0
363                  }
364                }
365              },
366              "usageTotalUsd": {
367                "type": "number",
368                "example": 0.00005
369              },
370              "usageUsd": {
371                "type": "object",
372                "properties": {
373                  "ACTOR_COMPUTE_UNITS": {
374                    "type": "integer",
375                    "example": 0
376                  },
377                  "DATASET_READS": {
378                    "type": "integer",
379                    "example": 0
380                  },
381                  "DATASET_WRITES": {
382                    "type": "integer",
383                    "example": 0
384                  },
385                  "KEY_VALUE_STORE_READS": {
386                    "type": "integer",
387                    "example": 0
388                  },
389                  "KEY_VALUE_STORE_WRITES": {
390                    "type": "number",
391                    "example": 0.00005
392                  },
393                  "KEY_VALUE_STORE_LISTS": {
394                    "type": "integer",
395                    "example": 0
396                  },
397                  "REQUEST_QUEUE_READS": {
398                    "type": "integer",
399                    "example": 0
400                  },
401                  "REQUEST_QUEUE_WRITES": {
402                    "type": "integer",
403                    "example": 0
404                  },
405                  "DATA_TRANSFER_INTERNAL_GBYTES": {
406                    "type": "integer",
407                    "example": 0
408                  },
409                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
410                    "type": "integer",
411                    "example": 0
412                  },
413                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
414                    "type": "integer",
415                    "example": 0
416                  },
417                  "PROXY_SERPS": {
418                    "type": "integer",
419                    "example": 0
420                  }
421                }
422              }
423            }
424          }
425        }
426      }
427    }
428  }
429}

SubReddit Media 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 Media 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

  • 2 monthly users

  • 0 No stars yet

  • >99% runs succeeded

  • Created in Nov 2024

  • Modified 3 months ago

Categories