Social Fetch
Twitter

Get Twitter profile

Looks up an X profile by handle.

Operation

GET/v1/twitter/profiles/{handle}

Headers

x-api-keystringrequired(header)

API key (`sfk_...`)

Parameters

handlestringrequired

X handle to look up, with or without a leading @.

Response fields

data
objectrequired

Endpoint-specific response payload.

datalookupStatus
stringrequired

Whether the profile was found, private, or not found.

one of: found, private, not_found

dataprofile
objectrequirednullable

Profile details when available.

dataprofileplatform
stringrequired

Social platform for this profile.

one of: twitter

dataprofilehandle
stringrequired

X screen name (handle) without the leading @.

dataprofiledisplayName
stringrequirednullable

Display name shown on the profile.

dataprofilebio
stringrequirednullable

Profile biography text.

dataprofileavatarUrl
stringrequirednullable

Best available square avatar image URL.

dataprofilebannerUrl
stringnullable

Profile banner image URL when available.

dataprofileverified
booleanrequired

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

dataprofileblueVerified
booleanrequired

Whether the account has X blue (paid) verification.

dataprofileprofileUrl
stringrequired

Canonical public profile URL on x.com.

min 1 chars

dataprofileprivateAccount
booleanrequired

Whether the account is protected (private).

dataprofileplatformUserId
string

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

dataprofileaccountCreatedAt
integer

Account creation time as Unix epoch seconds when derivable.

≥ 0

dataprofilelocation
stringnullable

Location string from the profile when provided.

dataprofilewebsite
stringnullable

Primary outbound link (expanded URL) from the profile.

dataprofilepinnedTweetId
string

Pinned tweet id when X exposes one.

dataprofileverificationInfo
object

Structured verification metadata from X.

dataprofileverificationInfoisIdentityVerified
booleanrequired

Whether X marks the account as identity-verified.

dataprofileverificationInfoverifiedSinceMsec
string

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

dataprofileverificationInforeason
object

Verification reason payload when X provides it.

dataprofileverificationInforeasontext
string

Human-readable verification reason text from X.

dataprofileverificationInforeasonentities
array

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

dataprofileverificationInforeasonentities[]
nullable
dataprofiletipJar
object

Tip jar configuration when present.

dataprofiletipJarisEnabled
booleanrequired

Whether the X tip jar is enabled.

dataprofiletipJarhandles
object

Per-service handles when any are present.

dataprofiletipJarhandlesbandcamp
string

Bandcamp handle from tip jar.

dataprofiletipJarhandlesbitcoin
string

Bitcoin address or handle.

dataprofiletipJarhandlescashApp
string

Cash App handle.

dataprofiletipJarhandlesethereum
string

Ethereum address or handle.

dataprofiletipJarhandlesgoFundMe
string

GoFundMe handle.

dataprofiletipJarhandlespatreon
string

Patreon handle.

dataprofiletipJarhandlespayPal
string

PayPal handle.

dataprofiletipJarhandlesvenmo
string

Venmo handle.

dataprofilehighlights
object

Tweet highlights metadata when present.

dataprofilehighlightscanHighlightTweets
booleanrequired

Whether the account may highlight tweets on the profile.

dataprofilehighlightshighlightedTweetCount
integerrequired

Count of highlighted tweets when reported by X.

≥ 0

dataprofilebusinessAccount
object

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

dataprofilecreatorSubscriptionsCount
integer

Creator subscriptions count when X reports it.

≥ 0

dataprofileaffiliateLabel
object

Affiliate or business label when X provides one.

dataprofileaffiliateLabeldescription
stringrequired

Affiliate or business label text shown on the profile.

dataprofileaffiliateLabelbadgeUrl
string

Badge image URL when X provides one.

dataprofileaffiliateLabelurl
string

Destination URL for the label link.

datametrics
objectrequirednullable

Profile metrics when available.

datametricsfollowers
integerrequired

Follower count from X.

≥ 0

datametricsfollowing
integerrequired

Following (friends) count from X.

≥ 0

datametricstweets
integerrequired

Total post (status) count from X.

≥ 0

datametricsfavourites
integerrequired

Total favourites (likes) count from X.

≥ 0

datametricslistedCount
integer

Listed count when X provides it.

≥ 0

datametricsmediaCount
integer

Media item count when X provides it.

≥ 0

datametricsfastFollowersCount
integer

Fast-followers count when X provides it.

≥ 0

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

Lookup result. Check `data.lookupStatus` for `found`, `private`, or `not_found`.

Error codes

bad_requestinsufficient_creditsinternal_errorlookup_failedtemporarily_unavailableunauthorized

On this page