Reddit

List the posts an account has submitted

Posts the account submitted, across every community, newest first by default. To be told when it posts, create a reddit_user monitor instead of polling.

Reddit lets people hide some or all of their activity from their profile, so an empty page for an account with karma usually means hidden, not inactive. An account that does not exist is a 404, and a suspended one is a 404 with details.reason suspended. Pages stop at about 1,000 items, Reddit's own ceiling.

get/v1/reddit/users/{username}/posts

Request

  • Base URL: https://api.weirapp.io
  • URL: https://api.weirapp.io/v1/reddit/users/{username}/posts
  • Auth: HTTP bearer

Path parameters

usernamestring required

Username without the u/ prefix.

Example:spez

Query parameters

sort'new' | 'hot' | 'top' | 'controversial'

new is what the account did most recently.

Example:new
time'hour' | 'day' | 'week' | 'month' | 'year' | 'all'

Window for top and controversial only. Defaults to all for those sorts.

Example:month
includeNsfw'true' | 'false'

Include posts marked NSFW. Off by default; what it removes is reported in meta.omittedNsfw, so a short or empty page is never mistaken for a quiet one.

Example:false
limitinteger
Example:25
cursorstring

meta.nextCursor from the previous page, unchanged. Opaque, signed, and bound to the other parameters: change any of them and start again without a cursor.

Response

Posts, in Reddit's own field names.

Changes

No recorded changes to this operation across all 1 revision of this API.