Social Fetch
Twitter

Get Twitter tweet

Get a single tweet.

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

API key (`sfk_...`)

Parameters
2
url*stringquery

Tweet permalink or identifier.

min 1 chars · max 4096 chars

trimbooleanoptionalquery

Optional: omit author profile and tweet `core` for a smaller response.

Response fields
163

Endpoint-specific response payload.

datalookupStatus
string

Whether the tweet was found or unavailable.

one of: found, not_found

Author profile and metrics when not trimmed; null when `trim=true` or when not found.

Profile fields for the tweet author.

dataauthorprofileplatform
string

Social platform for this profile.

one of: twitter

dataauthorprofilehandle
string

X screen name (handle) without the leading @.

dataauthorprofiledisplayName
stringnullable

Display name shown on the profile.

dataauthorprofilebio
stringnullable

Profile biography text.

dataauthorprofileavatarUrl
stringnullable

Best available square avatar image URL.

dataauthorprofilebannerUrl
stringnullableoptional

Profile banner image URL when available.

dataauthorprofileverified
boolean

Whether X marks the profile with legacy verification (not necessarily paid blue).

dataauthorprofileblueVerified
boolean

Whether the account has X blue (paid) verification.

dataauthorprofileprofileUrl
string

Canonical public profile URL on x.com.

min 1 chars

dataauthorprofileprivateAccount
boolean

Whether the account is protected (private).

dataauthorprofileplatformUserId
stringoptional

Numeric X user id (`rest_id`) as a string.

dataauthorprofileaccountCreatedAt
integeroptional

Account creation time as Unix epoch seconds when derivable.

≥ 0

dataauthorprofilelocation
stringnullableoptional

Location string from the profile when provided.

dataauthorprofilewebsite
stringnullableoptional

Primary outbound link (expanded URL) from the profile.

dataauthorprofilepinnedTweetId
stringoptional

Pinned tweet id when X exposes one.

Structured verification metadata from X.

dataauthorprofileverificationInfoisIdentityVerified
boolean

Whether X marks the account as identity-verified.

dataauthorprofileverificationInfoverifiedSinceMsec
stringoptional

When verification became effective, as milliseconds since epoch (string from X).

Verification reason payload when X provides it.

dataauthorprofileverificationInforeasontext
stringoptional

Human-readable verification reason text from X.

Inline entity metadata for the reason text (vendor-defined).

dataauthorprofileverificationInforeasonentities[]
nullableoptional

Tip jar configuration when present.

dataauthorprofiletipJarisEnabled
boolean

Whether the X tip jar is enabled.

Per-service handles when any are present.

dataauthorprofiletipJarhandlesbandcamp
stringoptional

Bandcamp handle from tip jar.

dataauthorprofiletipJarhandlesbitcoin
stringoptional

Bitcoin address or handle.

dataauthorprofiletipJarhandlescashApp
stringoptional

Cash App handle.

dataauthorprofiletipJarhandlesethereum
stringoptional

Ethereum address or handle.

dataauthorprofiletipJarhandlesgoFundMe
stringoptional

GoFundMe handle.

dataauthorprofiletipJarhandlespatreon
stringoptional

Patreon handle.

dataauthorprofiletipJarhandlespayPal
stringoptional

PayPal handle.

dataauthorprofiletipJarhandlesvenmo
stringoptional

Venmo handle.

Tweet highlights metadata when present.

dataauthorprofilehighlightscanHighlightTweets
boolean

Whether the account may highlight tweets on the profile.

dataauthorprofilehighlightshighlightedTweetCount
integer

Count of highlighted tweets when reported by X.

≥ 0

dataauthorprofilebusinessAccount
objectoptional

Opaque business-account payload from X when non-empty (vendor-defined).

dataauthorprofilecreatorSubscriptionsCount
integeroptional

Creator subscriptions count when X reports it.

≥ 0

Affiliate or business label when X provides one.

dataauthorprofileaffiliateLabeldescription
string

Affiliate or business label text shown on the profile.

dataauthorprofileaffiliateLabelbadgeUrl
stringoptional

Badge image URL when X provides one.

dataauthorprofileaffiliateLabelurl
stringoptional

Destination URL for the label link.

Aggregate counts for the tweet author.

dataauthormetricsfollowers
integer

Follower count from X.

≥ 0

dataauthormetricsfollowing
integer

Following (friends) count from X.

≥ 0

dataauthormetricstweets
integer

Total post (status) count from X.

≥ 0

dataauthormetricsfavourites
integer

Total favourites (likes) count from X.

≥ 0

dataauthormetricslistedCount
integeroptional

Listed count when X provides it.

≥ 0

dataauthormetricsmediaCount
integeroptional

Media item count when X provides it.

≥ 0

dataauthormetricsfastFollowersCount
integeroptional

Fast-followers count when X provides it.

≥ 0

Tweet body, metrics, and optional quoted tweet; null when not found.

datatweetid
string

Tweet id (`rest_id`).

min 1 chars

datatweeturl
string

Canonical public URL for this tweet on x.com.

min 1 chars

datatweetconversationId
string

Conversation root tweet id.

min 1 chars

datatweetcreatedAt
integer

Creation time as Unix epoch seconds.

≥ 0

datatweetlanguage
string

BCP 47 or X language code.

min 1 chars

datatweettext
string

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

datatweetisLongForm
boolean

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

Start/end character indices for visible text.

datatweetdisplayTextRange[]
integeroptional

≥ 0

Engagement metrics for a tweet.

datatweetmetricsviews
integer

Impression count when reported by X.

≥ 0

datatweetmetricsfavorites
integer

Favorite (like) count.

≥ 0

datatweetmetricsretweets
integer

Native repost count.

≥ 0

datatweetmetricsreplies
integer

Reply count.

≥ 0

datatweetmetricsbookmarks
integer

Bookmark count.

≥ 0

datatweetmetricsquotes
integer

Quote tweet count.

≥ 0

Photo, video, or GIF attachments.

datatweetmedia[]
optional

Entities aligned with `text`.

Hashtag entities.

datatweetentitieshashtags[]text
string

Hashtag text without #.

User mention entities.

datatweetentitiesuserMentions[]handle
string

Mentioned screen name.

min 1 chars

datatweetentitiesuserMentions[]displayName
stringoptional

Display name when available.

datatweetentitiesuserMentions[]platformUserId
stringoptional

Numeric user id for the mention when available.

URL entities.

datatweetentitiesurls[]url
string

Short URL as it appears in text.

min 1 chars

datatweetentitiesurls[]displayUrl
string

Human-readable display host/path.

min 1 chars

datatweetentitiesurls[]expandedUrl
string

Fully expanded destination URL.

min 1 chars

Symbol entities.

datatweetentitiessymbols[]text
string

Cashtag or symbol text.

min 1 chars

datatweetisReply
boolean

Whether this is a reply.

datatweetinReplyToTweetId
stringoptional

Parent tweet id when replying.

datatweetinReplyToUserId
stringoptional

Parent author user id when replying.

datatweetinReplyToScreenName
stringoptional

Parent author handle when replying.

datatweetisQuote
boolean

Whether this tweet quotes another.

datatweetquotedTweetId
stringoptional

Quoted tweet id when present.

datatweetisRetweet
boolean

Whether this is a native repost.

datatweetretweetedTweetId
stringoptional

Original tweet id for a repost.

datatweetpossiblySensitive
boolean

Whether X marks the content sensitive.

Edit metadata when applicable.

Tweet ids in this edit chain.

datatweeteditInfoeditTweetIds[]
stringoptional

min 1 chars

datatweeteditInfoeditableUntilMsec
string

Epoch milliseconds until edits are locked.

datatweeteditInfoisEditEligible
boolean

Whether the tweet can still be edited.

datatweeteditInfoeditsRemaining
string

Remaining edits in the window, as reported by X.

datatweetsource
stringoptional

Client label text.

datatweetsourceUrl
stringoptional

Link target from the source anchor when present.

Quoted tweet expanded one level (no further nesting on this field).

datatweetquotedTweetid
string

Tweet id (`rest_id`).

min 1 chars

datatweetquotedTweeturl
string

Canonical public URL for this tweet on x.com.

min 1 chars

datatweetquotedTweetconversationId
string

Conversation root tweet id.

min 1 chars

datatweetquotedTweetcreatedAt
integer

Creation time as Unix epoch seconds.

≥ 0

datatweetquotedTweetlanguage
string

BCP 47 or X language code.

min 1 chars

datatweetquotedTweettext
string

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

datatweetquotedTweetisLongForm
boolean

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

Start/end character indices for visible text.

datatweetquotedTweetdisplayTextRange[]
integeroptional

≥ 0

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

datatweetquotedTweetauthorhandle
string

Author screen name without the leading @.

min 1 chars

datatweetquotedTweetauthordisplayName
stringnullable

Author display name.

datatweetquotedTweetauthoravatarUrl
stringnullable

Best available square avatar URL for the author.

datatweetquotedTweetauthorverified
boolean

Whether X marks the author with legacy verification.

datatweetquotedTweetauthorblueVerified
boolean

Whether the author has X blue (paid) verification.

datatweetquotedTweetauthorplatformUserId
stringoptional

Numeric X user id for the author as a string.

Engagement metrics for a tweet.

datatweetquotedTweetmetricsviews
integer

Impression count when reported by X.

≥ 0

datatweetquotedTweetmetricsfavorites
integer

Favorite (like) count.

≥ 0

datatweetquotedTweetmetricsretweets
integer

Native repost count.

≥ 0

datatweetquotedTweetmetricsreplies
integer

Reply count.

≥ 0

datatweetquotedTweetmetricsbookmarks
integer

Bookmark count.

≥ 0

datatweetquotedTweetmetricsquotes
integer

Quote tweet count.

≥ 0

Photo, video, or GIF attachments.

datatweetquotedTweetmedia[]
optional

Entities aligned with `text`.

Hashtag entities.

datatweetquotedTweetentitieshashtags[]text
string

Hashtag text without #.

User mention entities.

datatweetquotedTweetentitiesuserMentions[]handle
string

Mentioned screen name.

min 1 chars

datatweetquotedTweetentitiesuserMentions[]displayName
stringoptional

Display name when available.

datatweetquotedTweetentitiesuserMentions[]platformUserId
stringoptional

Numeric user id for the mention when available.

URL entities.

datatweetquotedTweetentitiesurls[]url
string

Short URL as it appears in text.

min 1 chars

datatweetquotedTweetentitiesurls[]displayUrl
string

Human-readable display host/path.

min 1 chars

datatweetquotedTweetentitiesurls[]expandedUrl
string

Fully expanded destination URL.

min 1 chars

Symbol entities.

datatweetquotedTweetentitiessymbols[]text
string

Cashtag or symbol text.

min 1 chars

datatweetquotedTweetisReply
boolean

Whether this is a reply.

datatweetquotedTweetinReplyToTweetId
stringoptional

Parent tweet id when replying.

datatweetquotedTweetinReplyToUserId
stringoptional

Parent author user id when replying.

datatweetquotedTweetinReplyToScreenName
stringoptional

Parent author handle when replying.

datatweetquotedTweetisQuote
boolean

Whether this tweet quotes another.

datatweetquotedTweetquotedTweetId
stringoptional

Quoted tweet id when present.

datatweetquotedTweetisRetweet
boolean

Whether this is a native repost.

datatweetquotedTweetretweetedTweetId
stringoptional

Original tweet id for a repost.

datatweetquotedTweetpossiblySensitive
boolean

Whether X marks the content sensitive.

Edit metadata when applicable.

Tweet ids in this edit chain.

datatweetquotedTweeteditInfoeditTweetIds[]
stringoptional

min 1 chars

datatweetquotedTweeteditInfoeditableUntilMsec
string

Epoch milliseconds until edits are locked.

datatweetquotedTweeteditInfoisEditEligible
boolean

Whether the tweet can still be edited.

datatweetquotedTweeteditInfoeditsRemaining
string

Remaining edits in the window, as reported by X.

datatweetquotedTweetsource
stringoptional

Client label text.

datatweetquotedTweetsourceUrl
stringoptional

Link target from the source anchor when present.

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/tweets?url=https://x.com/elonmusk/status/2044990537145753894" \
  -H "x-api-key: YOUR_API_KEY"

Responses

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

On this page

No Headings