Get Reddit post comments (live)
Fetch the comment thread of a Reddit post on demand, flattened. Later pages expand "load more" batches and "continue this thread" branches; rank and topLevelRank continue across pages. A cursor expires shortly after the last page was fetched; restart from the first page if it does. Fetches directly from the platform and returns one page with a cursor. Not available for trial access keys.
Request
- Base URL: https://api.xpoz.ai
- URL: https://api.xpoz.ai/api/data/reddit/posts/{id}/comments/live
- Auth: HTTP bearer
Path parameters
Reddit post ID.
Query parameters
Thread order. Defaults to best.
Reddit comment fields to return. Comma-separated. Allowed values: id, body, parentPostId, parentId, authorId, authorUsername, postSubredditName, postSubredditId, score, upvotes, downvotes, controversiality, depth, isSubmitter, stickied, collapsed, edited, distinguished, createdAt, createdAtTimestamp, createdAtDate, collapsedReasonCode, collapsedReason, removal, rank, topLevelRank.
Comments per page (1-500). Defaults to 100. Pages that expand a "load more" batch are capped at 100.
When true, replies are nested under their parent in a replies array (formatted with the same fields) instead of returned as a flat list.
Opaque cursor from next_page_cursor of the previous page.
Response
One page of results.
Changes
No recorded changes to this operation across all 1 revision of this API.