Query Parameters
ID of the entity to fetch comments for
ID of the user to fetch their comments
ID of the parent comment to fetch its replies
Sorting method:
new
(default), old
, top
, controversial
Page number for pagination
Number of results per page (max: 100)
If
true
, includes related entity data in each commentAt least one of
entityId
, userId
, or parentId
must be provided.Response
Returns an array of comment objects.Unique comment identifier
ID of the entity this comment belongs to
ID of the user who created the comment
Comment content
List of mentioned users
Array of user IDs who upvoted
Array of user IDs who downvoted
Attached files or resources
Custom metadata
Creation timestamp in ISO 8601 format
Last update timestamp in ISO 8601 format
Error Responses
Invalid Query - 400 Bad Request
Invalid Query - 400 Bad Request
Invalid Limit - 400 Bad Request
Invalid Limit - 400 Bad Request
Invalid Page - 400 Bad Request
Invalid Page - 400 Bad Request
Server Error - 500 Internal Server Error
Server Error - 500 Internal Server Error
Notes
Filtering
- One of
entityId
,userId
, orparentId
must be specified. - Querying does not require authentication.
Sorting Modes
- new: Most recent comments first (default)
- old: Oldest comments first
- top: Highest upvote-to-downvote ratio
- controversial: High activity with mixed votes
Additional Features
- Results are paginated. Maximum of 100 per page.
- If
includeEntity=true
, each comment includes basic data about its entity. - Votes are returned as arrays of user IDs.