ByCrawl icon

ByCrawl

Crawl social media data from 15+ platforms using ByCrawl API

Reddit → Get Subreddit Posts

AI-generated

Summary

Retrieve posts from a specified subreddit with customizable sorting, time filtering, and result count options.

Inputs

  • Subreddit Name (required) — Name of the subreddit to fetch posts from, entered without the 'r/' prefix.
  • Additional Fields — Optional parameters including 'Sort' (hot, new, top, rising), 'Time Filter' (hour, day, week, month, year, all), and 'Count' (number of posts to return, between 1 and 100).

Output shape

a list of posts from the specified subreddit

Posts are returned in a root property named 'posts'. The number of results and sorting can be controlled via optional fields. Ensure valid subreddit names are used.

Examples

Example 1: Fetch 25 hot posts from a subreddit

Set 'Subreddit Name' to the desired subreddit; leave 'Sort' at default 'hot' and 'Count' at default 25.

Links

Discussion