Reddit Post Comments
reddit_post_commentsGet the comments on a Reddit post, replies included, by URL or post ID (provide exactly one). Comments come in thread order with depth and parent ID, plus text, author, score, date and permalink. Sort by top, best, most_recent, controversial, oldest or qa. 50 per page, up to ~4,000 per thread; more than 10 pages can take over a minute on a big thread. Billed $0.003 per page.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | Reddit post URL, e.g. https://www.reddit.com/r/Python/comments/1wwv97o/my_python_magic_is_gone/ or https://redd.it/1wwv97o (max 500 characters). Provide exactly one of url or post_id. | |
| pages | No | Number of pages to fetch, 1-80 (default: 1). Each page returns up to 50 comments. | |
| post_id | No | Reddit post ID, e.g. 1wwv97o (a t3_ prefix is accepted). Provide exactly one of url or post_id. | |
| sort_by | No | Sort order: top, best (Reddit's default order), most_recent, controversial, oldest, or qa (Q&A) (default: top) | top |
| get_sentiment | No | Add AI sentiment analysis (Plutchik emotions, dominant_emotion, intensity, and positive/negative/neutral polarity) to each result. Adds a small surcharge per page, or per request on single-request endpoints. |