# Reddit APIs

11 endpoints on Reddit, all called with `POST https://api.primaryapi.com/v1/run/{sku}` and one API key.

| SKU | Name | Price | Summary |
|---|---|---|---|
| [`reddit.post`](https://primaryapi.com/docs/api-reference/reddit/post) | Reddit Post | 2 credits per call | One Reddit post by URL: title, body, author, subreddit, score, upvote ratio, comment count and flags. |
| [`reddit.post_comments`](https://primaryapi.com/docs/api-reference/reddit/post_comments) | Reddit Post Comments | 2 credits per call | Comments of a Reddit post by URL, flattened depth-first with parent ids, scores and timestamps, cursor paged. |
| [`reddit.search`](https://primaryapi.com/docs/api-reference/reddit/search) | Reddit Search | 2 credits per call | Search Reddit posts across all subreddits by query, with sort order and time window, cursor paged. |
| [`reddit.subreddit_details`](https://primaryapi.com/docs/api-reference/reddit/subreddit_details) | Reddit Subreddit Details | 2 credits per call | Metadata of one subreddit: description, icon, creation date, weekly active users and advertiser category. |
| [`reddit.subreddit_posts`](https://primaryapi.com/docs/api-reference/reddit/subreddit_posts) | Reddit Subreddit Posts | 2 credits per call | Posts of one subreddit listing (hot, new or top with a time window), cursor paged. |
| [`reddit.subreddit_search`](https://primaryapi.com/docs/api-reference/reddit/subreddit_search) | Reddit Subreddit Search | 2 credits per call | Search posts inside one subreddit by query, sort order and time window, cursor paged. |
| [`reddit.trending_posts`](https://primaryapi.com/docs/api-reference/reddit/trending_posts) | Reddit Trending Posts | 2 credits per call | Currently popular posts across Reddit (the r/popular feed), cursor paged. |
| [`reddit.user_posts`](https://primaryapi.com/docs/api-reference/reddit/user_posts) | Reddit User Posts | 2 credits per call | Posts submitted by one Reddit user, sorted by new, top, hot or controversial, cursor paged. |
| [`reddit.search_accounts`](https://primaryapi.com/docs/api-reference/reddit/search_accounts) | Reddit Community and User Search | planned | Find Reddit communities (subreddits) or users by keyword. |
| [`reddit.post_transcript`](https://primaryapi.com/docs/api-reference/reddit/post_transcript) | Reddit Post Transcript | planned | Spoken-word transcript of a Reddit video post, from its post URL or v.redd.it link. |
| [`reddit.user_comments`](https://primaryapi.com/docs/api-reference/reddit/user_comments) | Reddit User Comments | planned | Comments written by a Reddit user, with the parent post title and subreddit, cursor paged. |
