List posts by a Reddit user

Reddit User Posts API

Enter a Reddit profile link to see posts published by that account. Use their dates, titles, and source links to build an author’s post index.

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/user/posts
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.

Build an index of an author’s posts

Supply the HTTPS profile URL as url. The only supported sort is new. Read createdAt, title, subreddit, and url in data.result.posts[] to record when and where each post appeared.

Keep the post even when its score is zero

The saved profile query for spez returns 24 posts, including “About that login screen,” with a score of zero and 511 comments. Store score and commentCount separately so the post and its discussion stay visible in your index.

Stop when the feed has no next cursor

The saved response has has_more set to false and a null next_cursor. If a response indicates more and supplies a new cursor, keep the profile and new sort, pass the cursor unchanged, and send the cumulative post count as feedLength. The Tester shows the rate per nonempty successful page. Empty results, failures, and saved-example views are free.