Social Fetch
Twitter

List Twitter community tweets

Returns tweets for a single X community by URL. Check `data.lookupStatus` for `found` vs `not_found`. A `found` result may still include an empty `data.tweets` array when the community resolves but no tweets are returned in this response.

Operation

GET/v1/twitter/communities/tweets
Cost: 1 credit

Headers

x-api-keystringrequired(header)

API key (`sfk_...`)

Parameters

urlstringrequired(query)

Community URL to look up.

min 1 chars · max 4096 chars

Response fields

data
objectrequired

Endpoint-specific response payload.

datalookupStatus
stringrequired

Whether tweet data was returned for this community.

one of: found, not_found

datatweets
arrayrequired

Tweets returned for the requested community. This array may be empty when `lookupStatus` is `found` and no tweets are returned in this response, or when `lookupStatus` is `not_found`.

datatweets[]id
stringrequired

Tweet id (`rest_id`).

min 1 chars

datatweets[]url
stringrequired

Canonical public URL for this tweet on x.com.

min 1 chars

datatweets[]conversationId
stringrequired

Conversation root tweet id.

min 1 chars

datatweets[]createdAt
integerrequired

Creation time as Unix epoch seconds.

≥ 0

datatweets[]language
stringrequired

BCP 47 or X language code.

min 1 chars

datatweets[]text
stringrequired

Full tweet text (includes long-form when available).

datatweets[]isLongForm
booleanrequired

True when text was taken from note_tweet metadata instead of legacy.full_text alone.

datatweets[]displayTextRange
arrayrequired

Start/end character indices for visible text.

datatweets[]displayTextRange[]
integer

≥ 0

datatweets[]author
objectrequirednullable

Author snapshot; null when `trim=true` omits per-tweet author data.

datatweets[]authorhandle
stringrequired

Author screen name without the leading @.

min 1 chars

datatweets[]authordisplayName
stringrequirednullable

Author display name.

datatweets[]authoravatarUrl
stringrequirednullable

Best available square avatar URL for the author.

datatweets[]authorverified
booleanrequired

Whether X marks the author with legacy verification.

datatweets[]authorblueVerified
booleanrequired

Whether the author has X blue (paid) verification.

datatweets[]authorplatformUserId
string

Numeric X user id for the author as a string.

datatweets[]metrics
objectrequired

Engagement metrics for a tweet.

datatweets[]metricsviews
integerrequired

Impression count when reported by X.

≥ 0

datatweets[]metricsfavorites
integerrequired

Favorite (like) count.

≥ 0

datatweets[]metricsretweets
integerrequired

Native repost count.

≥ 0

datatweets[]metricsreplies
integerrequired

Reply count.

≥ 0

datatweets[]metricsbookmarks
integerrequired

Bookmark count.

≥ 0

datatweets[]metricsquotes
integerrequired

Quote tweet count.

≥ 0

datatweets[]media
arrayrequired

Photo, video, or GIF attachments.

datatweets[]media[]
datatweets[]entities
objectrequired

Entities aligned with `text`.

datatweets[]entitieshashtags
arrayrequired

Hashtag entities.

datatweets[]entitieshashtags[]text
stringrequired

Hashtag text without #.

datatweets[]entitiesuserMentions
arrayrequired

User mention entities.

datatweets[]entitiesuserMentions[]handle
stringrequired

Mentioned screen name.

min 1 chars

datatweets[]entitiesuserMentions[]displayName
string

Display name when available.

datatweets[]entitiesuserMentions[]platformUserId
string

Numeric user id for the mention when available.

datatweets[]entitiesurls
arrayrequired

URL entities.

datatweets[]entitiesurls[]url
stringrequired

Short URL as it appears in text.

min 1 chars

datatweets[]entitiesurls[]displayUrl
stringrequired

Human-readable display host/path.

min 1 chars

datatweets[]entitiesurls[]expandedUrl
stringrequired

Fully expanded destination URL.

min 1 chars

datatweets[]entitiessymbols
arrayrequired

Symbol entities.

datatweets[]entitiessymbols[]text
stringrequired

Cashtag or symbol text.

min 1 chars

datatweets[]isReply
booleanrequired

Whether this is a reply.

datatweets[]inReplyToTweetId
string

Parent tweet id when replying.

datatweets[]inReplyToUserId
string

Parent author user id when replying.

datatweets[]inReplyToScreenName
string

Parent author handle when replying.

datatweets[]isQuote
booleanrequired

Whether this tweet quotes another.

datatweets[]quotedTweetId
string

Quoted tweet id when present.

datatweets[]isRetweet
booleanrequired

Whether this is a native repost.

datatweets[]retweetedTweetId
string

Original tweet id for a repost.

datatweets[]possiblySensitive
booleanrequired

Whether X marks the content sensitive.

datatweets[]editInfo
object

Edit metadata when applicable.

datatweets[]editInfoeditTweetIds
arrayrequired

Tweet ids in this edit chain.

datatweets[]editInfoeditTweetIds[]
string

min 1 chars

datatweets[]editInfoeditableUntilMsec
stringrequired

Epoch milliseconds until edits are locked.

datatweets[]editInfoisEditEligible
booleanrequired

Whether the tweet can still be edited.

datatweets[]editInfoeditsRemaining
stringrequired

Remaining edits in the window, as reported by X.

datatweets[]source
string

Client label text (for example “Twitter for iPhone”).

datatweets[]sourceUrl
string

Link target from the source anchor when present.

datatweets[]quotedTweet
object

Expanded quoted tweet (one level deep).

datatweets[]quotedTweetid
stringrequired

Tweet id (`rest_id`).

min 1 chars

datatweets[]quotedTweeturl
stringrequired

Canonical public URL for this tweet on x.com.

min 1 chars

datatweets[]quotedTweetconversationId
stringrequired

Conversation root tweet id.

min 1 chars

datatweets[]quotedTweetcreatedAt
integerrequired

Creation time as Unix epoch seconds.

≥ 0

datatweets[]quotedTweetlanguage
stringrequired

BCP 47 or X language code.

min 1 chars

datatweets[]quotedTweettext
stringrequired

Full tweet text (includes long-form when available).

datatweets[]quotedTweetisLongForm
booleanrequired

True when text was taken from note_tweet metadata instead of legacy.full_text alone.

datatweets[]quotedTweetdisplayTextRange
arrayrequired

Start/end character indices for visible text.

datatweets[]quotedTweetdisplayTextRange[]
integer

≥ 0

datatweets[]quotedTweetauthor
objectrequirednullable

Author snapshot; null when `trim=true` omits per-tweet author data.

datatweets[]quotedTweetauthorhandle
stringrequired

Author screen name without the leading @.

min 1 chars

datatweets[]quotedTweetauthordisplayName
stringrequirednullable

Author display name.

datatweets[]quotedTweetauthoravatarUrl
stringrequirednullable

Best available square avatar URL for the author.

datatweets[]quotedTweetauthorverified
booleanrequired

Whether X marks the author with legacy verification.

datatweets[]quotedTweetauthorblueVerified
booleanrequired

Whether the author has X blue (paid) verification.

datatweets[]quotedTweetauthorplatformUserId
string

Numeric X user id for the author as a string.

datatweets[]quotedTweetmetrics
objectrequired

Engagement metrics for a tweet.

datatweets[]quotedTweetmetricsviews
integerrequired

Impression count when reported by X.

≥ 0

datatweets[]quotedTweetmetricsfavorites
integerrequired

Favorite (like) count.

≥ 0

datatweets[]quotedTweetmetricsretweets
integerrequired

Native repost count.

≥ 0

datatweets[]quotedTweetmetricsreplies
integerrequired

Reply count.

≥ 0

datatweets[]quotedTweetmetricsbookmarks
integerrequired

Bookmark count.

≥ 0

datatweets[]quotedTweetmetricsquotes
integerrequired

Quote tweet count.

≥ 0

datatweets[]quotedTweetmedia
arrayrequired

Photo, video, or GIF attachments.

datatweets[]quotedTweetmedia[]
datatweets[]quotedTweetentities
objectrequired

Entities aligned with `text`.

datatweets[]quotedTweetentitieshashtags
arrayrequired

Hashtag entities.

datatweets[]quotedTweetentitieshashtags[]text
stringrequired

Hashtag text without #.

datatweets[]quotedTweetentitiesuserMentions
arrayrequired

User mention entities.

datatweets[]quotedTweetentitiesuserMentions[]handle
stringrequired

Mentioned screen name.

min 1 chars

datatweets[]quotedTweetentitiesuserMentions[]displayName
string

Display name when available.

datatweets[]quotedTweetentitiesuserMentions[]platformUserId
string

Numeric user id for the mention when available.

datatweets[]quotedTweetentitiesurls
arrayrequired

URL entities.

datatweets[]quotedTweetentitiesurls[]url
stringrequired

Short URL as it appears in text.

min 1 chars

datatweets[]quotedTweetentitiesurls[]displayUrl
stringrequired

Human-readable display host/path.

min 1 chars

datatweets[]quotedTweetentitiesurls[]expandedUrl
stringrequired

Fully expanded destination URL.

min 1 chars

datatweets[]quotedTweetentitiessymbols
arrayrequired

Symbol entities.

datatweets[]quotedTweetentitiessymbols[]text
stringrequired

Cashtag or symbol text.

min 1 chars

datatweets[]quotedTweetisReply
booleanrequired

Whether this is a reply.

datatweets[]quotedTweetinReplyToTweetId
string

Parent tweet id when replying.

datatweets[]quotedTweetinReplyToUserId
string

Parent author user id when replying.

datatweets[]quotedTweetinReplyToScreenName
string

Parent author handle when replying.

datatweets[]quotedTweetisQuote
booleanrequired

Whether this tweet quotes another.

datatweets[]quotedTweetquotedTweetId
string

Quoted tweet id when present.

datatweets[]quotedTweetisRetweet
booleanrequired

Whether this is a native repost.

datatweets[]quotedTweetretweetedTweetId
string

Original tweet id for a repost.

datatweets[]quotedTweetpossiblySensitive
booleanrequired

Whether X marks the content sensitive.

datatweets[]quotedTweeteditInfo
object

Edit metadata when applicable.

datatweets[]quotedTweeteditInfoeditTweetIds
arrayrequired

Tweet ids in this edit chain.

datatweets[]quotedTweeteditInfoeditTweetIds[]
string

min 1 chars

datatweets[]quotedTweeteditInfoeditableUntilMsec
stringrequired

Epoch milliseconds until edits are locked.

datatweets[]quotedTweeteditInfoisEditEligible
booleanrequired

Whether the tweet can still be edited.

datatweets[]quotedTweeteditInfoeditsRemaining
stringrequired

Remaining edits in the window, as reported by X.

datatweets[]quotedTweetsource
string

Client label text (for example “Twitter for iPhone”).

datatweets[]quotedTweetsourceUrl
string

Link target from the source anchor when present.

datatweets[]retweetedTweet
object

Expanded reposted tweet (one level deep).

datatweets[]retweetedTweetid
stringrequired

Tweet id (`rest_id`).

min 1 chars

datatweets[]retweetedTweeturl
stringrequired

Canonical public URL for this tweet on x.com.

min 1 chars

datatweets[]retweetedTweetconversationId
stringrequired

Conversation root tweet id.

min 1 chars

datatweets[]retweetedTweetcreatedAt
integerrequired

Creation time as Unix epoch seconds.

≥ 0

datatweets[]retweetedTweetlanguage
stringrequired

BCP 47 or X language code.

min 1 chars

datatweets[]retweetedTweettext
stringrequired

Full tweet text (includes long-form when available).

datatweets[]retweetedTweetisLongForm
booleanrequired

True when text was taken from note_tweet metadata instead of legacy.full_text alone.

datatweets[]retweetedTweetdisplayTextRange
arrayrequired

Start/end character indices for visible text.

datatweets[]retweetedTweetdisplayTextRange[]
integer

≥ 0

datatweets[]retweetedTweetauthor
objectrequirednullable

Author snapshot; null when `trim=true` omits per-tweet author data.

datatweets[]retweetedTweetauthorhandle
stringrequired

Author screen name without the leading @.

min 1 chars

datatweets[]retweetedTweetauthordisplayName
stringrequirednullable

Author display name.

datatweets[]retweetedTweetauthoravatarUrl
stringrequirednullable

Best available square avatar URL for the author.

datatweets[]retweetedTweetauthorverified
booleanrequired

Whether X marks the author with legacy verification.

datatweets[]retweetedTweetauthorblueVerified
booleanrequired

Whether the author has X blue (paid) verification.

datatweets[]retweetedTweetauthorplatformUserId
string

Numeric X user id for the author as a string.

datatweets[]retweetedTweetmetrics
objectrequired

Engagement metrics for a tweet.

datatweets[]retweetedTweetmetricsviews
integerrequired

Impression count when reported by X.

≥ 0

datatweets[]retweetedTweetmetricsfavorites
integerrequired

Favorite (like) count.

≥ 0

datatweets[]retweetedTweetmetricsretweets
integerrequired

Native repost count.

≥ 0

datatweets[]retweetedTweetmetricsreplies
integerrequired

Reply count.

≥ 0

datatweets[]retweetedTweetmetricsbookmarks
integerrequired

Bookmark count.

≥ 0

datatweets[]retweetedTweetmetricsquotes
integerrequired

Quote tweet count.

≥ 0

datatweets[]retweetedTweetmedia
arrayrequired

Photo, video, or GIF attachments.

datatweets[]retweetedTweetmedia[]
datatweets[]retweetedTweetentities
objectrequired

Entities aligned with `text`.

datatweets[]retweetedTweetentitieshashtags
arrayrequired

Hashtag entities.

datatweets[]retweetedTweetentitieshashtags[]text
stringrequired

Hashtag text without #.

datatweets[]retweetedTweetentitiesuserMentions
arrayrequired

User mention entities.

datatweets[]retweetedTweetentitiesuserMentions[]handle
stringrequired

Mentioned screen name.

min 1 chars

datatweets[]retweetedTweetentitiesuserMentions[]displayName
string

Display name when available.

datatweets[]retweetedTweetentitiesuserMentions[]platformUserId
string

Numeric user id for the mention when available.

datatweets[]retweetedTweetentitiesurls
arrayrequired

URL entities.

datatweets[]retweetedTweetentitiesurls[]url
stringrequired

Short URL as it appears in text.

min 1 chars

datatweets[]retweetedTweetentitiesurls[]displayUrl
stringrequired

Human-readable display host/path.

min 1 chars

datatweets[]retweetedTweetentitiesurls[]expandedUrl
stringrequired

Fully expanded destination URL.

min 1 chars

datatweets[]retweetedTweetentitiessymbols
arrayrequired

Symbol entities.

datatweets[]retweetedTweetentitiessymbols[]text
stringrequired

Cashtag or symbol text.

min 1 chars

datatweets[]retweetedTweetisReply
booleanrequired

Whether this is a reply.

datatweets[]retweetedTweetinReplyToTweetId
string

Parent tweet id when replying.

datatweets[]retweetedTweetinReplyToUserId
string

Parent author user id when replying.

datatweets[]retweetedTweetinReplyToScreenName
string

Parent author handle when replying.

datatweets[]retweetedTweetisQuote
booleanrequired

Whether this tweet quotes another.

datatweets[]retweetedTweetquotedTweetId
string

Quoted tweet id when present.

datatweets[]retweetedTweetisRetweet
booleanrequired

Whether this is a native repost.

datatweets[]retweetedTweetretweetedTweetId
string

Original tweet id for a repost.

datatweets[]retweetedTweetpossiblySensitive
booleanrequired

Whether X marks the content sensitive.

datatweets[]retweetedTweeteditInfo
object

Edit metadata when applicable.

datatweets[]retweetedTweeteditInfoeditTweetIds
arrayrequired

Tweet ids in this edit chain.

datatweets[]retweetedTweeteditInfoeditTweetIds[]
string

min 1 chars

datatweets[]retweetedTweeteditInfoeditableUntilMsec
stringrequired

Epoch milliseconds until edits are locked.

datatweets[]retweetedTweeteditInfoisEditEligible
booleanrequired

Whether the tweet can still be edited.

datatweets[]retweetedTweeteditInfoeditsRemaining
stringrequired

Remaining edits in the window, as reported by X.

datatweets[]retweetedTweetsource
string

Client label text (for example “Twitter for iPhone”).

datatweets[]retweetedTweetsourceUrl
string

Link target from the source anchor when present.

meta
objectrequired

Metadata describing the request and billing outcome.

metarequestId
stringrequired

Unique request identifier for tracing this API call.

min 1 chars

metacreditsCharged
integerrequired

Credits charged for this request.

≥ 0

metaversion
stringrequired

Public API version that served the response.

one of: v1

Code example

Responses

Tweets for the requested community. Use `data.lookupStatus` to distinguish `found` vs `not_found`. A `found` result may still include an empty `data.tweets` array.

Error codes

bad_requestinsufficient_creditsinternal_errorlookup_failedtemporarily_unavailableunauthorized

On this page