Skip to main content

Reddit

Base URL: https://drain.lat/api/v1/reddit
Fetch a public Reddit user profile.
string
required
The Reddit username to look up.
string
Reddit username.
string
Profile bio.
string
Avatar image URL.
object
boolean
Whether the account has Reddit Premium.
boolean
Whether the account is a moderator.
boolean
Whether the account is a Reddit employee.
string
Account creation date (ISO 8601).
string
Link to the Reddit profile.
Response
Get the last 10 posts from a Reddit user.
string
required
The Reddit username.
string
Reddit username.
array
number
Number of posts returned.
Response
Get a user’s recent comments.
string
required
The Reddit username.
number
Number of comments to return. Max 25. Default 10.
string
Reddit username.
array
number
Number of comments returned.
Response
Get info about a subreddit.
string
required
The subreddit name (without r/).
string
Subreddit ID.
string
Subreddit name.
string
Subreddit title.
string
Subreddit description.
number
Subscriber count.
number
Currently active users.
boolean
Whether the subreddit is NSFW.
string
Creation date (ISO 8601).
string
Subreddit icon URL.
string
Subreddit banner URL.
string
Link to the subreddit.
Response
Get posts from a subreddit.
string
required
The subreddit name (without r/).
string
Sort order. Options: hot, new, top, rising. Default hot.
number
Number of posts to return. Max 25. Default 10.
string
Subreddit name.
string
Sort order used.
array
number
Number of posts returned.
Response