Twitter

List Twitter profile tweets

List tweets from an X profile by handle — List Twitter profile tweets.

GET/v1/twitter/profiles/{handle}/tweets
2credits
x-api-key*stringheader

API key (`sfk_...`)

Parameters
5
handle*stringpath

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

limitnumberoptionalquery

Page size (maximum 100). Default: 40.

cursorstringoptionalquery

Opaque pagination cursor returned by a previous response.

min 1 chars

includeRepliesbooleanoptionalquery

Include reply tweets in the returned list. Default: false.

includePinnedbooleanoptionalquery

Include pinned tweets on the first page. Default: false.

Response fields
61

Endpoint-specific response payload.

datalookupStatus
string

Whether tweet data was returned for this handle.

one of: found, not_found

Profile card derived from the first returned tweet when available; null when not found or when no tweet rows include author data.

dataprofileplatform
string

Social platform for this profile.

one of: twitter

dataprofilehandle
string

Screen name without @.

min 1 chars

dataprofiledisplayName
stringnullable

Display name for the profile.

dataprofilebio
stringnullable

Profile bio when reported by the upstream provider.

dataprofilelocation
stringnullable

Profile location when reported by the upstream provider.

dataprofileavatarUrl
stringnullable

Best available square avatar URL.

dataprofilebannerUrl
stringnullable

Profile banner image URL when available.

dataprofileverified
boolean

Legacy verified flag from X.

dataprofileblueVerified
boolean

Paid blue verification flag from X.

dataprofileprofileUrl
string

Canonical profile URL on x.com.

min 1 chars

dataprofileplatformUserId
stringoptional

Numeric user id as a string.

Tweets returned for the requested profile page. May be empty when `lookupStatus` is `found` and no eligible tweets are returned, or when `lookupStatus` is `not_found`.

datatweets[]id
string

Tweet id.

min 1 chars

datatweets[]url
stringnullable

Canonical public URL for the tweet when available.

datatweets[]text
string

Full tweet text when available.

datatweets[]createdAt
integer

Creation time as Unix epoch seconds.

≥ 0

datatweets[]createdAtLabel
stringnullable

Human-readable creation timestamp string when available.

datatweets[]language
stringnullable

Language code for the tweet when available.

datatweets[]conversationId
stringnullable

Conversation identifier when supplied.

min 1 chars

datatweets[]inReplyToStatusId
stringnullable

Parent post identifier when this post is a reply.

min 1 chars

datatweets[]quotedStatusId
stringnullable

Quoted post identifier when this post quotes another.

min 1 chars

datatweets[]retweetTweetId
stringnullable

Original post identifier when this post is an engagement repost.

min 1 chars

Author metadata for the tweet when available.

datatweets[]authorhandle
string

Author handle without the leading @.

min 1 chars

datatweets[]authordisplayName
stringnullable

Display name shown for the author.

datatweets[]authoravatarUrl
stringnullable

Profile image URL for the author when available.

datatweets[]authorprofileUrl
stringnullable

Canonical public profile URL for the author when available.

datatweets[]authorverified
boolean

Whether the author has legacy verification on X.

datatweets[]authorblueVerified
boolean

Whether the author has paid blue verification on X.

datatweets[]authorplatformUserId
stringoptional

Numeric X user id for the author as a string.

Engagement metrics for a tweet.

datatweets[]metricslikes
integer

Like count.

≥ 0

datatweets[]metricsretweets
integer

Retweet count.

≥ 0

datatweets[]metricsreplies
integer

Reply count.

≥ 0

datatweets[]metricsquotes
integer

Quote count.

≥ 0

datatweets[]metricsviews
integernullable

View count when available.

≥ 0

datatweets[]metricsbookmarkCount
integernullable

Bookmark count when available.

≥ 0

Media attachments returned for the tweet.

datatweets[]media[]url
string

Direct media URL when available.

min 1 chars

datatweets[]media[]type
string

Media type when Social Fetch can classify it confidently.

one of: photo, video

datatweets[]media[]thumbnailUrl
stringoptional

Poster or thumbnail URL for video media when distinguishable.

min 1 chars

datatweets[]media[]contentType
stringoptional

MIME type reported for streamed media.

min 1 chars

datatweets[]media[]bitrate
integeroptional

Bitrate in bits per second when supplied for streamed media.

≥ 0

datatweets[]media[]width
integeroptional

Width in pixels when available.

≥ 0

datatweets[]media[]height
integeroptional

Height in pixels when available.

≥ 0

datatweets[]expandedUrl
stringnullable

Expanded URL attached to the tweet when available.

datatweets[]isRetweet
boolean

Whether the tweet is marked as a retweet.

datatweets[]isReply
booleanoptional

Whether the tweet is a reply to another post.

datatweets[]isQuote
booleanoptional

Whether the tweet quotes another post.

datatweets[]source
stringnullable

Source label such as `Twitter Web App` when available.

Pagination information for the current response.

datapagenextCursor
stringnullable

Cursor to pass as `cursor` in the next request when another page exists.

datapagehasMore
boolean

Whether another page can be requested.

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/profiles/charlidamelio/tweets" \
  -H "x-api-key: YOUR_API_KEY"

Responses

Tweets for the requested profile.