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