Get Lemmy community
Get one Lemmy community with its counts, active users and moderators.
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.
Community name, e.g. `technology`, or `technology@lemmy.world` to resolve a community on another instance. Prefer the community's home instance for counts.
Community id on the chosen instance, e.g. `2478`.
≥ 1 · ≤ 2147483647
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 community when `lookupStatus` is `found`; otherwise null.
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.
Description as Markdown.
Banner URL.
When the community was created.
When the community last changed.
Whether a moderator removed the community.
Whether the community was deleted.
Whether the community is hidden.
Whether only moderators may post.
`Public` or another visibility the instance reports.
Subscribers.
Subscribers on the community's own instance.
Posts in the community.
Comments in the community.
Active users in the community.
Active users today.
Active users this week.
Active users this month.
Active users in the last six months.
Moderators; null on list rows, which do not carry them.
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.
Discussion language ids; null on rows that do not carry them. The instance endpoint maps ids to language codes.
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/community?instance=lemmy.world&name=technology" \
-H "x-api-key: YOUR_API_KEY"Responses
Community.