List Lemmy user comments
List Lemmy comments by one user, in the order asked for.
Headers
Get your API keyAPI key (`sfk_...`)
The Lemmy instance, e.g. `lemmy.world`. A URL on the instance is also accepted. Ids and counts belong to this instance.
Username, e.g. `dessalines`, or `user@lemmy.ml` to resolve a user on another instance.
Order. Only `New`, `Old` and the time-window tops; `TopAll` and `Hot` are not offered.
one of: New, Old, TopHour, TopSixHour, TopTwelveHour, TopDay, TopWeek, TopMonth, TopThreeMonths, TopSixMonths, TopNineMonths, TopYear
Page number, 1 to 100. Default: 1. An instance refuses pages past 100. Lemmy pages by number over a live order, so new or re-ranked items can shift a row onto the next page. Remove repeats by `id`.
≥ 1 · ≤ 100
Pass `page.nextCursor` from the previous response to get the next page. It only works with the same filters; do not send it with `page`.
min 1 chars · max 2048 chars
Rows per page, 1 to 50. Default: 10.
≥ 1 · ≤ 50
Endpoint-specific response payload.
`found`, `not_found` (the entity is missing, or the host name does not resolve), `private` (the instance does not allow public lists) or `not_compatible` (the host is not a Lemmy instance, or its version does not serve this operation). See `reason`.
one of: found, not_found, private, not_compatible
The instance that was asked.
Why `lookupStatus` is not `found`, or null when it is `found`.
Machine-readable reason.
one of: instance_private, not_a_lemmy_instance, not_available, deleted, host_not_found
Plain-language explanation.
The user the comments belong to.
User id on this instance.
Username without the host.
Display name.
Profile text as Markdown.
Avatar URL.
Banner URL.
Canonical ActivityPub id.
Host the account lives on.
`user@host`.
When the account was created.
When the profile last changed.
Whether the account is banned.
When the ban ends.
Whether the account was deleted.
Whether the account is a bot.
Whether the account lives on the instance asked.
Matrix id the user chose to publish.
The user's comments, in order.
Comment id on this instance.
Canonical ActivityPub id.
Comment text as Markdown; empty when a moderator removed it or its author deleted it.
The post it belongs to.
The dotted ancestor chain, from the root post (`0.1234.5678`).
Depth in the tree, from `path`.
The comment it replies to; null for a top-level comment.
Whether a moderator marked it as a moderator comment.
Discussion language id.
Whether it was written on the instance asked.
Whether a moderator removed it.
Whether its author deleted it.
When it was written.
When it last changed.
Votes up minus votes down.
Upvotes.
Downvotes.
Direct replies.
Whether the author is an instance administrator.
Whether the author moderates the community.
Whether the author is banned from the community.
The post it belongs to.
Post id on this instance.
Canonical ActivityPub id.
Post title.
Link the post points at; null for a text post.
Content type of the link.
Thumbnail URL.
Whether the post is NSFW.
Whether the post is locked.
Whether a moderator removed it.
Whether it was deleted.
When it was posted.
When it last changed.
Discussion language id.
Whether it was posted on the instance asked.
Votes up minus votes down.
Upvotes.
Downvotes.
Comments on the post.
The community it was posted in.
Community id on this instance.
Community name without the host.
Display title.
Canonical ActivityPub id.
Host the community lives on.
`name@host`.
Community icon URL.
Whether the community is NSFW.
Whether the community lives on the instance asked.
Who posted it; null on a modlog row, which does not carry the creator.
User id on this instance.
Username without the host.
Display name.
Profile text as Markdown.
Avatar URL.
Banner URL.
Canonical ActivityPub id.
Host the account lives on.
`user@host`.
When the account was created.
When the profile last changed.
Whether the account is banned.
When the ban ends.
Whether the account was deleted.
Whether the account is a bot.
Whether the account lives on the instance asked.
Matrix id the user chose to publish.
The community of the post.
Community id on this instance.
Community name without the host.
Display title.
Canonical ActivityPub id.
Host the community lives on.
`name@host`.
Community icon URL.
Whether the community is NSFW.
Whether the community lives on the instance asked.
Who wrote it.
User id on this instance.
Username without the host.
Display name.
Profile text as Markdown.
Avatar URL.
Banner URL.
Canonical ActivityPub id.
Host the account lives on.
`user@host`.
When the account was created.
When the profile last changed.
Whether the account is banned.
When the ban ends.
Whether the account was deleted.
Whether the account is a bot.
Whether the account lives on the instance asked.
Matrix id the user chose to publish.
Pagination state for the current page.
Current page number. Lemmy pages by number over a live order, so new or re-ranked items can shift a row onto the next page. Remove repeats by `id`.
≥ 0
Whether a full page came back, so another page may exist. A last page that exactly fills the limit still sets true, and the next page is then empty.
Next page number; null when this page was short, so the list ended.
≥ 0
Cursor to pass in the next request; null when this page was short. It only works with the same filters.
True when a full page stopped at the instance's 100-page ceiling and rows may remain. False when the list ended because it ran out.
Metadata describing the request and billing outcome.
Unique request identifier for tracing this API call.
min 1 chars
Credits charged for this request.
≥ 0
Public API version that served the response.
one of: v1
Code example
curl "https://api.socialfetch.dev/v1/lemmy/user/comments?instance=lemmy.world&username=dessalines@lemmy.ml" \
-H "x-api-key: YOUR_API_KEY"Responses
Comment list.