Reddit Subreddit Posts
Fetches posts from a subreddit with sorting and filtering options.
Reddit Subreddit Posts GET /v1/reddit/subreddit Fetches posts from a subreddit with sorting and filtering options. Authentication: x-api-key Example URL: https://api.datawake.ai/v1/reddit/subreddit?after=t3_1234567890&trim=false Parameters: - subreddit (query · string · required) - timeframe (query · string · optional) - sort (query · string · optional) - after (query · string · optional) = t3_1234567890 - trim (query · boolean · optional) = false
Overview
WakeScrap exposes this Reddit endpoint as a live-data API. The platform keeps the documented request and response shape stable while unifying auth, request tracking, and credits billing.
Fetches posts from a subreddit with sorting and filtering options. Each post includes title, author, selftext, score, ups, upvote_ratio, num_comments, created_utc, url, permalink, subreddit_subscribers, and is_video. Supports sort (best, hot, new, top, rising), timeframe filtering, pagination via the after token, and a trim parameter for lighter responses.
Required params: subreddit.
Headers
Your Wake API access key.
Example:
Query Parameters
Subreddit name
Timeframe to get posts from
enum: all, day, week, month, year
Sort order
enum: best, hot, new, top, rising
After to get more posts. Get 'after' from previous response.
Example:
Set to true for a trimmed down version of the response
Example: