Reddit (live)

Get a Reddit user's posts (live)

Fetch the posts submitted by a Reddit user on demand. Fetches directly from the platform and returns one page with a cursor. Not available for trial access keys.

get/api/data/reddit/posts/users/{username}/live

Request

  • Base URL: https://api.xpoz.ai
  • URL: https://api.xpoz.ai/api/data/reddit/posts/users/{username}/live
  • Auth: HTTP bearer

Path parameters

usernamestring required

Username (without @).

Query parameters

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

Listing order. Defaults to new.

time'hour' | 'day' | 'week' | 'month' | 'year' | 'all'

Time window for sort=top or sort=controversial. Defaults to all.

fieldsstring[]

Reddit post fields to return. Comma-separated. Allowed values: id, title, selftext, url, permalink, postUrl, thumbnail, authorId, authorUsername, subredditName, subredditId, score, upvotes, downvotes, upvoteRatio, commentsCount, crosspostsCount, isSelf, isVideo, isOriginalContent, over18, spoiler, locked, stickied, archived, linkFlairText, postHint, domain, crosspostParent, createdAt, createdAtTimestamp, createdAtDate, selftextHtml, editedAt, removal.

limitinteger

Items per page (1-100). Defaults to 100. Ignored by post search when since/until are set (10 per page).

cursorstring

Opaque cursor from next_page_cursor of the previous page.

Response

One page of results.

resultsobject[] required
countinteger required
dataSource'database' | 'api' | 'hybrid' required

Where the results came from.

has_moreboolean required
next_page_cursorstring nullable required

Changes

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