# Reddit API

> Fetch public Reddit data — home/popular/games/news feeds, posts, subreddits, search, and user data.

Page: https://docs.toolzerhub.com/reference/reddit

## Feed

Fetch public Reddit data — home/popular/games/news feeds, posts, subreddits, search, and user data.

- [List popular posts](https://docs.toolzerhub.com/reference/reddit/feed/get-reddit-popular-posts-v2.md): `GET /v1/reddit/popular-posts`. List posts from r/popular in the same shape as subreddit post results.

## Post

Fetch public Reddit data — home/popular/games/news feeds, posts, subreddits, search, and user data.

- [Get post](https://docs.toolzerhub.com/reference/reddit/post/get-reddit-post-details-v2.md): `GET /v1/reddit/post-details`. Get a post in the same shape as a feed row, with Reddit's comment total. subreddit and post_id must refer to the same post.
- [List post comments](https://docs.toolzerhub.com/reference/reddit/post/get-reddit-post-comments-v2.md): `GET /v1/reddit/post-comments`. List a post's comment tree, flattened with depth and parent_fullname on each row, plus Reddit's own comment total. Requires subreddit and post_id; the result may be partial — see unfollowed_branches and truncated_threads.

## Search

Fetch public Reddit data — home/popular/games/news feeds, posts, subreddits, search, and user data.

- [Search Reddit](https://docs.toolzerhub.com/reference/reddit/search/get-reddit-search-v2.md): `GET /v1/reddit/search`. Search Reddit posts, communities, comments, people, or media and return results in ranked order.

## Subreddit

Fetch public Reddit data — home/popular/games/news feeds, posts, subreddits, search, and user data.

- [Get subreddit](https://docs.toolzerhub.com/reference/reddit/subreddit/get-reddit-subreddit-info-v2.md): `GET /v1/reddit/subreddit-info`. Get a community's description, creation date, activity figures, and rules. data: null means the community does not exist.
- [List subreddit posts](https://docs.toolzerhub.com/reference/reddit/subreddit/get-reddit-subreddit-posts-v2.md): `GET /v1/reddit/subreddit-posts`. List a subreddit's posts with title, score, upvote ratio, comment count, awards, media, flair and author identity per post — plus a cursor for the next page. Requires subreddit.

## User

Fetch public Reddit data — home/popular/games/news feeds, posts, subreddits, search, and user data.

- [Get user profile](https://docs.toolzerhub.com/reference/reddit/user/get-reddit-user-profile-v2.md): `GET /v1/reddit/user-profile`. Get an account's ID, names, description, avatar, creation date, and karma breakdown.
- [List user activity](https://docs.toolzerhub.com/reference/reddit/user/get-reddit-user-posts-v2.md): `GET /v1/reddit/user-posts`. List an account's posts and comments in one activity feed. Each row identifies its type in kind.
- [List user comments](https://docs.toolzerhub.com/reference/reddit/user/get-reddit-user-comments-v2.md): `GET /v1/reddit/user-comments`. List an account's comments with body, score, timestamp, permalink, and subreddit.
