Skip to main content
GET
Get a Reddit comment (live)

Authorizations

Authorization
string
header
required

XPOZ API access key, created from the dashboard or POST /api/tokens. Send as Authorization: Bearer <access key>.

Path Parameters

id
string
required

Reddit comment ID.

Query Parameters

fields
enum<string>[]

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.

Available options:
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

Response

One page of results.

Envelope for on-demand /live endpoints: one provider page plus a cursor.

results
object[]
required
count
integer
required
dataSource
enum<string>
required

Where the results came from.

Available options:
database,
api,
hybrid
has_more
boolean
required
next_page_cursor
string | null
required