Reddit API
Fetch public Reddit data — home/popular/games/news feeds, posts, subreddits, search, and user data.
9 endpoints
Endpoints
Each endpoint links to its request parameters, response schema, and code examples.
Feed
1 endpointPost
2 endpoints- Get postGet 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.
/v1/reddit/post-details1 crGET - List post commentsList 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.
/v1/reddit/post-comments1 crGET
Search
1 endpointSubreddit
2 endpoints- Get subredditGet a community's description, creation date, activity figures, and rules. data: null means the community does not exist.
/v1/reddit/subreddit-info1 crGET - List subreddit postsList 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.
/v1/reddit/subreddit-posts1 crGET
User
3 endpoints- Get user profileGet an account's ID, names, description, avatar, creation date, and karma breakdown.
/v1/reddit/user-profile1 crGET - List user activityList an account's posts and comments in one activity feed. Each row identifies its type in kind.
/v1/reddit/user-posts1 crGET - List user commentsList an account's comments with body, score, timestamp, permalink, and subreddit.
/v1/reddit/user-comments1 crGET
What you can build
- Find discussions about a product or topic.
- Collect posts and comments for community research.
Make your first request
Replace the placeholders with your input values. The endpoint reference explains each input and the returned fields.
curl -X GET "https://api.toolzerhub.com/v1/reddit/search?q=<q>" -H "x-api-key: $TOOLZERHUB_API_KEY"Need a key? Create an account, then review credits and responses and errors.