Get Comments
Comment Endpoints
Get Comments
Fetch a paginated list of comments with filtering and sorting options
GET
Get Comments
Fetches a paginated list of comments filtered by entity ID, user ID, or parent comment ID. Supports optional sorting by newest, oldest, top (most upvoted), or most controversial. Replies, direct comments, and user-authored comments can all be queried. Optionally includes associated entity data.
Query Parameters
string
ID of the entity to fetch comments for
string
ID of the user to fetch their comments
string
ID of the parent comment to fetch its replies
string
default:"new"
Sorting method:
new (default), old, top, controversialnumber
default:"1"
Page number for pagination
number
default:"10"
Number of results per page (max: 100)
string
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.string
Unique comment identifier
string
ID of the entity this comment belongs to
string
ID of the user who created the comment
string
Comment content
array
List of mentioned users
array
Array of user IDs who upvoted
array
Array of user IDs who downvoted
array
Attached files or resources
object
Custom metadata
string
Creation timestamp in ISO 8601 format
string
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, orparentIdmust 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.

