v1

latestOpenAPI 3.1.02026-07-13603344.2 KB
comments

Retrieve a single comment by ID

get/api/comments/{commentId}

Path parameters

commentIdstring required

The ID of the comment to retrieve

Hex format string, e.g. 0x1234567890abcdef

Query parameters

viewerstring

The viewer's address, for personalized data such as reactions

Hex format string, e.g. 0x1234567890abcdef

chainIdstring required

Filters by chain ID. Can be a single chain id or comma-separated list of chain ids (e.g. 1,137,10).

mode'nested' | 'flat'

The mode to fetch comments in. Nested will return only the first level of comments. Flat will return all replies sorted by timestamp in descending order.

commentTypeinteger nullable

The comment type (e.g. 0=comment, 1=reaction, not passed = all)

isReplyDeletedstring

Whether to return only deleted replies or only undeleted replies. If omitted it will return both deleted and undeleted replies.

Example:1

Response

A single comment

appstring required

Hex format string, e.g. 0x1234567890abcdef

idstring required

Hex format string, e.g. 0x1234567890abcdef

channelIdstring required
commentTypeinteger required
contentstring required
chainIdinteger required
deletedAtstring nullable required
logIndexinteger nullable required
parentIdstring nullable required

Hex format string, e.g. 0x1234567890abcdef

targetUristring required
txHashstring required

Hex format string, e.g. 0x1234567890abcdef

cursorstring required

Hex format string, e.g. 0x1234567890abcdef

moderationStatus'approved' | 'rejected' | 'pending' required
moderationStatusChangedAtstring nullable required
moderationClassifierResultobject required
moderationClassifierScorenumber required
createdAtstring nullable required
updatedAtstring nullable required
revisioninteger required
pathstring required
viewerReactionsobject required
reactionCountsobject required