# Reddit API — UnifAPI

> Subreddits, posts, comments, feeds, search. Search Reddit and browse home, popular, news and subreddit feeds, user profiles and karma, full comment threads and video transcripts.

- Category: Social platforms
- API base URL: https://api.unifapi.com
- Auth: `Authorization: Bearer <UnifAPI API key>` (OAuth recommended for MCP clients)
- MCP server: https://mcp.unifapi.com
- Developer docs: https://docs.unifapi.com/api/reddit
- OpenAPI spec: https://unifapi.com/openapi.json
- HTML page: https://unifapi.com/apis/reddit
- Full catalog: https://unifapi.com/apis.md

## Agent workflows

- Read public subreddit, feed, post, comment, and user activity when a market research agent needs community evidence.
- Summarize what people are saying in a thread, compare recent posts across subreddits, or monitor emerging language around a product category.
- Use URL-style identifiers such as subreddit names, usernames, and post ids so a prompt can move naturally from a Reddit link to an API call.

## Endpoints (14)

Every endpoint returns the UnifAPI JSON envelope (`request_id`, `data`, `pagination` on lists, `billing`) and bills max(records × credits per record, minimum) in credits.

### Browse Reddit's anonymous home feed

`GET /reddit/feed/home`

Return posts from Reddit's anonymous (logged-out) home feed, as a cursor-paginated list. Useful for sampling broadly popular content across the platform without an account.

- Price: 1 credit per record, minimum 1 credit ($0.001) per call
- Details: https://unifapi.com/apis/reddit/feed/home/get
- Docs: https://docs.unifapi.com/api/reddit/feed/home/get

### Browse Reddit's news feed

`GET /reddit/feed/news`

Return posts from Reddit's news feed, as a cursor-paginated list. Useful for tracking trending news stories and discussion as they surface across Reddit.

- Price: 1 credit per record, minimum 1 credit ($0.001) per call
- Details: https://unifapi.com/apis/reddit/feed/news/get
- Docs: https://docs.unifapi.com/api/reddit/feed/news/get

### Browse Reddit's popular feed

`GET /reddit/feed/popular`

Return posts from Reddit's r/popular feed — the cross-community trending surface — as a cursor-paginated list. Useful for monitoring what is gaining traction platform-wide.

- Price: 1 credit per record, minimum 1 credit ($0.001) per call
- Details: https://unifapi.com/apis/reddit/feed/popular/get
- Docs: https://docs.unifapi.com/api/reddit/feed/popular/get

### Get a Reddit post by id

`GET /reddit/posts/{id}`

Return a single Reddit post by its `t3_` fullname ID, including title, body, author, subreddit, score, and comment count. Useful for hydrating a known post or checking its current engagement.

- Price: 1 credit per record, minimum 1 credit ($0.001) per call
- Required: `id` (path)
- Details: https://unifapi.com/apis/reddit/posts/id/get
- Docs: https://docs.unifapi.com/api/reddit/posts/id/get

### List Reddit comments on a post

`GET /reddit/posts/{id}/comments`

Return the comments on a Reddit post by its `t3_` fullname ID, with nested replies flattened into a single list. Useful for analyzing discussion, sentiment, and community response to a post.

- Price: 1 credit per record, minimum 3 credits ($0.003) per call
- Required: `id` (path)
- Details: https://unifapi.com/apis/reddit/posts/id/comments/get
- Docs: https://docs.unifapi.com/api/reddit/posts/id/comments/get

### Get the transcript of a Reddit video post

`GET /reddit/posts/{id}/transcript`

Returns the transcript of a Reddit-hosted video post, optionally in a given language. Returns `not_found` when the post does not exist.

- Price: 1 credit per record, minimum 3 credits ($0.003) per call
- Required: `id` (path)
- Details: https://unifapi.com/apis/reddit/posts/id/transcript/get
- Docs: https://docs.unifapi.com/api/reddit/posts/id/transcript/get

### Search Reddit posts

`GET /reddit/search/posts`

Searches posts across Reddit by text, sorted by relevance, hot, top, new or comments, with a timeframe. Paginate with `cursor`.

- Price: 1 credit per record, minimum 3 credits ($0.003) per call
- Required: `query` (query)
- Details: https://unifapi.com/apis/reddit/search/posts/get
- Docs: https://docs.unifapi.com/api/reddit/search/posts/get

### Get a Reddit subreddit by name

`GET /reddit/subreddits/{name}`

Return a subreddit's profile by name, including its title, description, subscriber count, and rules metadata. Useful for sizing a community before pulling its posts or analyzing its audience.

- Price: 1 credit per record, minimum 1 credit ($0.001) per call
- Required: `name` (path)
- Details: https://unifapi.com/apis/reddit/subreddits/name/get
- Docs: https://docs.unifapi.com/api/reddit/subreddits/name/get

### List posts in a subreddit

`GET /reddit/subreddits/{name}/posts`

Returns posts from a subreddit sorted by hot, new, top or rising, with a timeframe for top. Paginate with `cursor`.

- Price: 1 credit per record, minimum 3 credits ($0.003) per call
- Required: `name` (path)
- Details: https://unifapi.com/apis/reddit/subreddits/name/posts/get
- Docs: https://docs.unifapi.com/api/reddit/subreddits/name/posts/get

### Search posts within a subreddit

`GET /reddit/subreddits/{name}/search`

Searches the posts of one subreddit by text, sorted by relevance, hot, top, new or comments, with a timeframe. Paginate with `cursor`.

- Price: 1 credit per record, minimum 3 credits ($0.003) per call
- Required: `name` (path)
- Details: https://unifapi.com/apis/reddit/subreddits/name/search/get
- Docs: https://docs.unifapi.com/api/reddit/subreddits/name/search/get

### List Reddit's current trending search queries

`GET /reddit/trending-searches`

Return Reddit's current trending search queries. Useful for spotting emerging topics and timing content to live interest across the platform.

- Price: 1 credit per record, minimum 1 credit ($0.001) per call
- Details: https://unifapi.com/apis/reddit/trending-searches/get
- Docs: https://docs.unifapi.com/api/reddit/trending-searches/get

### Get a Reddit user profile by username

`GET /reddit/users/{username}`

Return a Reddit user's public profile by username, including karma, account age, and verification flags. Useful as the entry point for any user-level research.

- Price: 1 credit per record, minimum 1 credit ($0.001) per call
- Required: `username` (path)
- Details: https://unifapi.com/apis/reddit/users/username/get
- Docs: https://docs.unifapi.com/api/reddit/users/username/get

### List Reddit comments authored by a user

`GET /reddit/users/{username}/comments`

Return the comments a Reddit user has authored, by username, as a list. Useful for understanding a user's interests, expertise, and engagement footprint.

- Price: 1 credit per record, minimum 1 credit ($0.001) per call
- Required: `username` (path)
- Details: https://unifapi.com/apis/reddit/users/username/comments/get
- Docs: https://docs.unifapi.com/api/reddit/users/username/comments/get

### List Reddit posts authored by a user

`GET /reddit/users/{username}/posts`

Return the posts a Reddit user has authored, by username, as a list. Useful for profiling a user's contributions and the communities they post in.

- Price: 1 credit per record, minimum 1 credit ($0.001) per call
- Required: `username` (path)
- Details: https://unifapi.com/apis/reddit/users/username/posts/get
- Docs: https://docs.unifapi.com/api/reddit/users/username/posts/get

## Related APIs

- [Facebook API](https://unifapi.com/apis/facebook/index.md) — Pages, posts, reels, groups, events, Marketplace, Ad Library
- [Threads API](https://unifapi.com/apis/threads/index.md) — Posts, replies, reposts, search
- [Bluesky API](https://unifapi.com/apis/bluesky/index.md) — Profiles, posts, replies
- [Twitter / X API](https://unifapi.com/apis/twitter/index.md) — Users, posts, search, trends, lists, communities
- [Pinterest API](https://unifapi.com/apis/pinterest/index.md) — Pins, boards, search
- [YouTube API](https://unifapi.com/apis/youtube/index.md) — Channels, videos, comments, captions, playlists, hashtags, search, trending
