Get Twitter tweet

Get a single tweet by permalink or numeric id.

GET/v1/twitter/tweets
1credit
x-api-keystringheader

API key (`sfk_...`)

Parameters
2
urlstringrequiredquery

Tweet permalink or numeric id.

min 1 chars · max 4096 chars

trimbooleanoptionalquery

Optional: omit the author profile card for a smaller response.

Response fields
280

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 as a string.

dataauthorprofileaccountCreatedAt
stringoptional

Account creation time (ISO-8601) when derivable.

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.

dataauthorprofileisBlueVerified
booleannullable

Whether X marks the account as blue-verified. Same signal as `blueVerified`.

dataauthorprofileverifiedType
stringnullable

X verification type label when provided (for example a government or organization note).

Pinned tweet ids from X, in display order.

dataauthorprofilepinnedTweetIds[]
stringoptional
dataauthorprofilefavoritesCount
integernullable

Total likes (favorites) on the profile. Prefer `metrics.favourites`.

≥ 0

dataauthorprofilecreatedAt
stringnullable

Account creation time as returned by X (raw upstream string). Prefer `accountCreatedAt` for ISO-8601.

X professional-account metadata when the account is marked professional.

dataauthorprofileprofessionaltype
stringnullable

Professional account type from X, when present.

Professional category entries from X.

dataauthorprofileprofessionalcategory[]
nullableoptional
dataauthorprofileprofessionalrestId
stringnullable

Professional account rest id from X, when present.

Country codes where the profile is withheld.

dataauthorprofilewithheldInCountries[]
stringoptional
dataauthorprofileprofileImageShape
stringnullableoptional

Avatar crop shape reported by X, such as Circle or Square.

dataauthorprofileverifiedSince
stringnullableoptional

When X verification became effective (ISO-8601). Invalid dates are null. Prefer this over `verificationInfo.verifiedSinceMsec`.

dataauthorprofilepossiblySensitive
booleannullableoptional

Whether X marks the profile as possibly sensitive.

dataauthorprofileprofileInterstitialType
stringnullableoptional

Interstitial type shown on the profile when X reports one.

dataauthorprofilehasHiddenSubscriptions
booleannullableoptional

Whether creator subscriptions are hidden on the profile.

dataauthorprofilehasGraduatedAccess
booleannullableoptional

Whether X reports graduated access for this account.

dataauthorprofileisProfileTranslatable
booleannullableoptional

Whether X considers the profile text translatable.

dataauthorprofilehasCustomTimelines
booleannullableoptional

Whether the account has custom timelines.

dataauthorprofileisTranslator
booleannullableoptional

Whether X marks the account as a translator.

dataauthorprofiledefaultProfile
booleannullableoptional

Whether the account still uses the default profile theme.

dataauthorprofiledefaultProfileImage
booleannullableoptional

Whether the account still uses the default avatar.

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.

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
string

Creation time (ISO-8601).

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.

datatweetcommunityId
stringnullable

Community id when the tweet was posted to a community.

datatweethasAIGeneratedMedia
booleannullableoptional

Whether X marks the tweet as containing AI-generated media.

datatweetisPaidPromotion
booleannullableoptional

Whether X marks the tweet as a paid promotion.

datatweetisTranslatable
booleannullableoptional

Whether X considers the tweet text translatable.

datatweethasBirdwatchNotes
booleannullableoptional

Whether Community Notes are attached to this tweet.

Quoted tweet expanded one level (no further nesting on this field). Null when this is not a quote.

datatweetquotedTweetid
string

Tweet 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
string

Creation time (ISO-8601).

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 when available.

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.

datatweetquotedTweetcommunityId
stringnullableoptional

Community id when the tweet was posted to a community.

datatweetquotedTweethasAIGeneratedMedia
booleannullableoptional

Whether X marks the tweet as containing AI-generated media.

datatweetquotedTweetisPaidPromotion
booleannullableoptional

Whether X marks the tweet as a paid promotion.

datatweetquotedTweetisTranslatable
booleannullableoptional

Whether X considers the tweet text translatable.

datatweetquotedTweethasBirdwatchNotes
booleannullableoptional

Whether Community Notes are attached to this tweet.

Reposted tweet expanded one level (no further nesting on this field). Null when this is not a repost.

datatweetretweetedTweetid
string

Tweet id.

min 1 chars

datatweetretweetedTweeturl
string

Canonical public URL for this tweet on x.com.

min 1 chars

datatweetretweetedTweetconversationId
string

Conversation root tweet id.

min 1 chars

datatweetretweetedTweetcreatedAt
string

Creation time (ISO-8601).

datatweetretweetedTweetcreatedAtUnix
integer

Legacy Unix epoch seconds for tweet creation. Prefer createdAt.

≥ 0

datatweetretweetedTweetlanguage
string

BCP 47 or X language code.

min 1 chars

datatweetretweetedTweettext
string

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

datatweetretweetedTweetisLongForm
boolean

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

Start/end character indices for visible text.

datatweetretweetedTweetdisplayTextRange[]
integeroptional

≥ 0

Author snapshot when available.

datatweetretweetedTweetauthorhandle
string

Author screen name without the leading @.

min 1 chars

datatweetretweetedTweetauthordisplayName
stringnullable

Author display name.

datatweetretweetedTweetauthoravatarUrl
stringnullable

Best available square avatar URL for the author.

datatweetretweetedTweetauthorverified
boolean

Whether X marks the author with legacy verification.

datatweetretweetedTweetauthorblueVerified
boolean

Whether the author has X blue (paid) verification.

datatweetretweetedTweetauthorplatformUserId
stringoptional

Numeric X user id for the author as a string.

Engagement metrics for a tweet.

datatweetretweetedTweetmetricsviews
integer

Impression count when reported by X.

≥ 0

datatweetretweetedTweetmetricsfavorites
integer

Favorite (like) count.

≥ 0

datatweetretweetedTweetmetricsretweets
integer

Native repost count.

≥ 0

datatweetretweetedTweetmetricsreplies
integer

Reply count.

≥ 0

datatweetretweetedTweetmetricsbookmarks
integer

Bookmark count.

≥ 0

datatweetretweetedTweetmetricsquotes
integer

Quote tweet count.

≥ 0

Photo, video, or GIF attachments.

datatweetretweetedTweetmedia[]
optional

Entities aligned with `text`.

Hashtag entities.

datatweetretweetedTweetentitieshashtags[]text
string

Hashtag text without #.

User mention entities.

datatweetretweetedTweetentitiesuserMentions[]handle
string

Mentioned screen name.

min 1 chars

datatweetretweetedTweetentitiesuserMentions[]displayName
stringoptional

Display name when available.

datatweetretweetedTweetentitiesuserMentions[]platformUserId
stringoptional

Numeric user id for the mention when available.

URL entities.

datatweetretweetedTweetentitiesurls[]url
string

Short URL as it appears in text.

min 1 chars

datatweetretweetedTweetentitiesurls[]displayUrl
string

Human-readable display host/path.

min 1 chars

datatweetretweetedTweetentitiesurls[]expandedUrl
string

Fully expanded destination URL.

min 1 chars

Symbol entities.

datatweetretweetedTweetentitiessymbols[]text
string

Cashtag or symbol text.

min 1 chars

datatweetretweetedTweetisReply
boolean

Whether this is a reply.

datatweetretweetedTweetinReplyToTweetId
stringoptional

Parent tweet id when replying.

datatweetretweetedTweetinReplyToUserId
stringoptional

Parent author user id when replying.

datatweetretweetedTweetinReplyToScreenName
stringoptional

Parent author handle when replying.

datatweetretweetedTweetisQuote
boolean

Whether this tweet quotes another.

datatweetretweetedTweetquotedTweetId
stringoptional

Quoted tweet id when present.

datatweetretweetedTweetisRetweet
boolean

Whether this is a native repost.

datatweetretweetedTweetretweetedTweetId
stringoptional

Original tweet id for a repost.

datatweetretweetedTweetpossiblySensitive
boolean

Whether X marks the content sensitive.

Edit metadata when applicable.

Tweet ids in this edit chain.

datatweetretweetedTweeteditInfoeditTweetIds[]
stringoptional

min 1 chars

datatweetretweetedTweeteditInfoeditableUntilMsec
string

Epoch milliseconds until edits are locked.

datatweetretweetedTweeteditInfoisEditEligible
boolean

Whether the tweet can still be edited.

datatweetretweetedTweeteditInfoeditsRemaining
string

Remaining edits in the window, as reported by X.

datatweetretweetedTweetsource
stringoptional

Client label text.

datatweetretweetedTweetsourceUrl
stringoptional

Link target from the source anchor when present.

datatweetretweetedTweetcommunityId
stringnullableoptional

Community id when the tweet was posted to a community.

datatweetretweetedTweethasAIGeneratedMedia
booleannullableoptional

Whether X marks the tweet as containing AI-generated media.

datatweetretweetedTweetisPaidPromotion
booleannullableoptional

Whether X marks the tweet as a paid promotion.

datatweetretweetedTweetisTranslatable
booleannullableoptional

Whether X considers the tweet text translatable.

datatweetretweetedTweethasBirdwatchNotes
booleannullableoptional

Whether Community Notes are attached to this tweet.

datatweettype
stringnullable

Tweet kind: `tweet`, `reply`, `quote`, or `retweet`.

Parent tweet when this is a reply.

datatweetreplyTotweetId
stringnullable

Parent tweet id.

datatweetreplyTouserId
stringnullable

Parent author user id.

datatweetreplyTousername
stringnullable

Parent author handle.

Poll when the tweet contains one.

datatweetpollid
stringnullable

Poll id.

Poll choices.

datatweetpolloptions[]id
stringnullable

Poll choice id.

datatweetpolloptions[]label
stringnullable

Poll choice label.

datatweetpolloptions[]voteCount
integernullable

Votes for this choice.

≥ 0

datatweetpolloptions[]percentage
integernullable

Share of votes for this choice, as a whole percent.

≥ 0

datatweetpollendDatetime
stringnullable

When voting ends, as reported by X.

datatweetpolldurationMinutes
integernullable

Configured poll duration in minutes.

≥ 0

datatweetpollvotingStatus
stringnullable

Poll voting status (for example `closed`).

datatweetpolltotalVotes
integernullable

Total votes across all choices.

≥ 0

Article title and preview when present.

datatweetarticletitle
stringnullable

Article title.

datatweetarticlepreviewText
stringnullable

Short preview of the article body.

datatweetisEdited
booleannullable

Whether the tweet has been edited.

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

metacached
booleanoptional

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

Responses

Tweet details.