Social Fetch
Twitter

Get Twitter community

Get details for an X community.

GET/v1/twitter/communities
1credit
x-api-key*stringheader

API key (`sfk_...`)

Parameters
1
url*stringquery

Community URL to look up.

min 1 chars · max 4096 chars

Response fields
30

Endpoint-specific response payload.

datalookupStatus
string

Whether the community was found.

one of: found, not_found

Community details when available.

datacommunityplatform
string

Social platform for this community.

one of: twitter

datacommunityid
string

Numeric community identifier as a string.

min 1 chars

datacommunityurl
string

Canonical public community URL on x.com.

min 1 chars

datacommunityname
string

Community display name.

min 1 chars

datacommunitydescription
stringnullable

Short description text when available.

datacommunitycreatedAt
integer

Creation time as Unix epoch milliseconds.

≥ 0

datacommunitymemberCount
integer

Approximate member count.

≥ 0

datacommunityisNsfw
boolean

Whether the community is marked as sensitive.

datacommunityjoinPolicy
string

Who can join this community.

one of: open, restricted

datacommunityprimaryTopic
stringnullable

Primary topic label when available.

datacommunitybannerImageUrl
stringnullable

Banner image URL when available.

Creator handle and verification flags when available.

datacommunitycreatorhandle
string

Creator screen name without the leading @.

min 1 chars

datacommunitycreatorverified
boolean

Whether X marks the creator with legacy verification.

datacommunitycreatorblueVerified
boolean

Whether the creator has X blue (paid) verification.

Published community rules.

datacommunityrules[]id
string

Stable rule identifier.

min 1 chars

datacommunityrules[]name
string

Short rule title.

min 1 chars

datacommunityrules[]description
stringnullable

Longer rule explanation when provided.

Recent member avatar image URLs shown in the community preview.

datacommunitymemberFacepileAvatarUrls[]
stringoptional

min 1 chars

Trending hashtags associated with this community when available.

datacommunitytrendingHashtags[]
stringoptional

min 1 chars

Metadata describing the request and billing outcome.

metarequestId
string

Unique request identifier for tracing this API call.

min 1 chars

metacreditsCharged
integer

Credits charged for this request.

≥ 0

metaversion
string

Public API version that served the response.

one of: v1

Code example

curl "https://api.socialfetch.dev/v1/twitter/communities?url=https://x.com/elonmusk/status/2044990537145753894" \
  -H "x-api-key: YOUR_API_KEY"

Responses

Community details when available. Check `data.lookupStatus` for `found` vs `not_found`.

On this page

No Headings