Get Twitter community
Get details for an X community by community id or URL.
Headers
Get your API keyAPI key (`sfk_...`)
Community permalink or numeric id.
min 1 chars · max 4096 chars
Endpoint-specific response payload.
Whether the community was found.
one of: found, not_found
Community details when available.
Social platform for this community.
one of: twitter
Numeric community identifier as a string.
min 1 chars
Canonical public community URL on x.com.
min 1 chars
Community display name.
min 1 chars
Short description text when available.
Creation time (ISO-8601).
Approximate member count.
≥ 0
Whether the community is marked as sensitive. Null when X does not report it on this payload.
Who can join this community.
one of: open, restricted
Primary topic label when available.
Banner image URL when available.
Creator handle and verification flags when available.
Creator screen name without the leading @.
min 1 chars
Whether X marks the creator with legacy verification.
Whether the creator has X blue (paid) verification.
Published community rules.
Stable rule identifier.
min 1 chars
Short rule title.
min 1 chars
Longer rule explanation when provided.
Display order of the rule when X provides one.
≥ 0
When the rule was created (ISO-8601 or the raw timestamp from X). Empty values are null.
Recent member avatar image URLs shown in the community preview.
min 1 chars
Trending hashtags associated with this community when available.
min 1 chars
Community avatar image URL when available.
Approximate moderator count when available.
≥ 0
Approximate admin count when available.
≥ 0
Pinned tweet identifier when the community has one.
Whether the requesting viewer is a member of this community.
Whether the requesting viewer is a moderator of this community.
Whether the requesting viewer is an admin of this community.
Whether the requesting viewer is banned from this community.
Whether the requesting viewer can post in this community.
Whether this community accepts join requests.
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
True when served from shared response cache. Credits still apply (full endpoint price); Age header may be present.
Code example
curl "https://api.socialfetch.dev/v1/twitter/communities?url=https://x.com/i/communities/1733520006279815231" \
-H "x-api-key: YOUR_API_KEY"Responses
Community details.