Documentation Index
Fetch the complete documentation index at: https://docs.mindcase.co/llms.txt
Use this file to discover all available pages before exploring further.
$2.9 / 1k results
Extract Reddit posts and comments — by URL (subreddit / post / user) or search keyword
Endpoint
POST /api/v1/agents/reddit/posts/run
Parameters
List · One per line. You can input Reddit URLs (subreddits, posts, users) or search keywords (e.g. ‘gpt5’, ‘r/wallstreetbets’).
Number · Maximum posts per URL/search. Use 0 for all.
Toggle · Don’t fetch any comments at all (post-only mode).
Number · Comments per post. Use 0 for all, or toggle Skip Comments above for none.
Dropdown · Sort order for posts.Options:
top, new, hotLegend: top = Top, new = Newest, hot = HotDropdown · Reddit’s search only supports preset time windows — pick one. (No custom date ranges.)Options:
all, year, month, week, day, hourLegend: all = All time, year = Past year, month = Past month, week = Past week, day = Past 24 hours, hour = Past hourResponse columns
| Field | Display name | Type |
|---|---|---|
redditUrl | Reddit URL | url |
type | Type | text |
title | Title | text |
body | Body | text |
community | Community | text |
author | Author | text |
posted | Posted | text |
upVotes | Up Votes | number |
upVoteRatio | Up Vote Ratio | percentage |
comments | Comments | number |
replies | Replies | number |
isVideo | Is Video | boolean |
isAd | Is Ad | boolean |
nsfw | NSFW | boolean |
flair | Flair | text |
category | Category | text |
thumbnail | Thumbnail | url |
images | Images | text |
video | Video | url |
externalLink | External Link | url |
Example
Example response
Response