get_user_posts
Retrieve posts submitted by a specific Reddit user, with sort and time filters, and pagination via cursor. Returns title, subreddit, score, upvote ratio, comment count, and permalink for each post.
Instructions
Get posts submitted by a specific user, with sort (new/hot/top) and time filter. Read-only; works anonymously. Returns a page of posts (title, subreddit, score, upvote ratio, comment count, permalink) plus an after cursor for paging. Use get_user_comments for their comments, or get_user_info for karma/profile stats. Do NOT use this to search a subreddit — use search_reddit or browse_subreddit.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sort | No | Ordering: 'new' (most recent), 'hot' (currently active), or 'top' (highest score within `time_filter`). Default 'new'. | new |
| after | No | Forward pagination cursor: the `after` value from a previous call. Omit for the first page. | |
| limit | No | How many posts to return, 1–100 (default 10). | |
| username | Yes | The author's Reddit username, without the u/ prefix (e.g. 'spez'). | |
| time_filter | No | Time window for scoring; only applies when sort='top'. Ignored for 'new'/'hot'. Default 'all'. | all |