/reddit/posts/comments

POST /api/reddit/posts/comments

Price: 18 credits

Get Reddit Post Comments

How to use it

Get comments on a Reddit post by URL or path. Returns a threaded comment tree with scores, nested to their real depth. Optional max_comments caps the total. A large thread is returned in part: the top-level comments returned come with their reply trees, and some top-level comments of a large thread are not included. The X-Stop-Reason header says why the response ended: thread-exhausted (the whole thread is returned), surface-limit (everything available for this thread is returned and the rest is not), max-comments, time-budget or upstream-unavailable; for the last three, pass the X-Next-Cursor header back as cursor with the same post_url to get the rest.

Parameters

Request body

Response

Errors

Response headers