Direct replies by comment ID

Reddit Comment Replies API

Enter a Reddit post link and the ID of a comment on that post to read its direct replies. Use reply text and source links to review what people said in that branch of the discussion.

1 credit per successful request, empty results and failures are free. Each page is billed separately.

POSTExample response
https://api.goanyapi.com/api/v1/reddit/post/comment/replies
Visual

Run a request to see the visual result

The response is organized into metrics, lists and tables that match the JSON on the right.

Run a request to see the response here

Fill in the demo parameters to preview an example response for free. Sign in to send live requests with your own parameters.

Follow the discussion under one Reddit comment

If you already know the comment ID, reuse it. If you only have the post link, send it as url to POST /api/v1/reddit/post/comments with your GoAnyAPI API key. Copy the chosen data.result.comments[].id into commentId in the tester, keeping the same post URL. A nonempty successful lookup is billed separately at its own configured rate.

Trace replies back to their parent in the saved JSON

The saved response shows three direct replies that share the same parent. In each data.result.comments[] record, use text and url to build a source-linked discussion brief. Record the reply score from score and keep id and parentId to track which comment each reply answered. data.result.count describes the current page.

Read deeper replies and check the rate

To go one level deeper, use a reply’s id as commentId with the same post URL in a separate request. For more replies to the same parent, pass a new data.result.next_cursor unchanged as cursor when the response indicates more. The tester shows the current credit rate for each nonempty successful page. Empty results and failed requests are free. Viewing the saved example is free.