Skip to main content
GET
Get Reddit comments by IDs or permalink (live)

Authorizations

Authorization
string
header
required

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

Query Parameters

ids
string[]

Comma-separated comment IDs (base-36, without the t1_ prefix), up to 100.

Maximum array length: 100
url
string

Comment permalink. Share links (/s/...) are not accepted; resolve them with /api/data/reddit/resolve/live first.

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

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