# Reddit API

> 2 public methods for Reddit (reddit.com), each 1 credit per completed run.

Unofficial. Not affiliated with or endorsed by Reddit.

- Page: https://fous.com/methods/reddit.com

## Methods

### [Search posts](https://fous.com/methods/reddit.com/search-posts.md)

`reddit.com/search_posts`, read. Finds public Reddit posts by topic, optionally in one community, for a time window and sort order. Returns up to 100 posts in Reddit search order with score, comment count, text and link.

Returns: title, community, author, score, comment count, posted time, post text, linked website, post link, post id

### [Get user](https://fous.com/methods/reddit.com/get-user.md)

`reddit.com/get_user`, read. Gets a public Reddit user's profile (post and comment karma, account creation date) and their recent posts and comments, newest first. Suspended or nonexistent users are reported as not found.

Returns: username, user id, created date, post/comment/total karma, avatar, profile link, recent posts and comments
