Skip to main content
Every reddit.api.* operation is listed below with parameter shapes and return types from the plugin Zod schemas.
New to Corsair? See API access, authentication, and error handling.

Feeds

getAll

feeds.getAll Get posts from /r/all feed Risk: read
Input Output

getPopular

feeds.getPopular Get posts from /r/popular feed Risk: read
Input Output

Listings

subredditsNew

listings.subredditsNew Get new subreddit listings Risk: read
Input Output

subredditsPopular

listings.subredditsPopular Get popular subreddit listings Risk: read
Input Output

Posts

getById

posts.getById Get posts by fullname IDs Risk: read
Input Output

getComments

posts.getComments Get a post and its comments Risk: read
Input Output

global

search.global Search all of Reddit Risk: read
Input Output

subreddit

search.subreddit Search within a subreddit Risk: read
Input Output

subreddits

search.subreddits Search for subreddits by name Risk: read
Input Output

Subreddits

getAbout

subreddits.getAbout Get subreddit metadata and info Risk: read
Input Output

getControversial

subreddits.getControversial Get controversial posts from a subreddit Risk: read
Input Output

getHot

subreddits.getHot Get hot posts from a subreddit Risk: read
Input Output

getNew

subreddits.getNew Get new posts from a subreddit Risk: read
Input Output

getRising

subreddits.getRising Get rising posts from a subreddit Risk: read
Input Output

getTop

subreddits.getTop Get top posts from a subreddit with time filter Risk: read
Input Output

Users

getAbout

users.getAbout Get user profile information Risk: read
Input Output

getComments

users.getComments Get a user’s comments Risk: read
Input Output

getOverview

users.getOverview Get a user’s mixed posts and comments Risk: read
Input Output

getSubmitted

users.getSubmitted Get a user’s submitted posts Risk: read
Input Output