Scrape Everything
XMenu

XX

3 endpoints. All of them accept a JSON body, support cache_days and return the standard response envelope.

Limitations: Unofficial API: not affiliated with or endorsed by the platform. Public data only. Timelines return recent posts only (up to 60); posts of protected accounts and posts X does not show publicly are missing.

POST/v1/x/profile

Public X (Twitter) profile: bio, location, verification, follower/following/tweet/like/media/listed counts, avatar and banner.

X (Twitter) Profile Scraper API: use cases, pricing and questions

Body parameters

Add cache_days to any request to accept a cached result.

NameTypeRequiredDescription
usernamestringYesX username, @handle or profile URL.Example: tesla
cache_daysintegerNoAccept a stored result up to this many days old (1 to 14). Omit for live data.

Example request

curl -X POST https://api.scrapeeverything.com/v1/x/profile \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"username":"tesla"}'
Response fields (18)

Returned inside data. Fields marked or null are null when the platform does not expose the value.

FieldTypeDescription
user_idstring or nullX numeric user ID (rest_id)
usernamestringScreen name (canonical casing)
full_namestringDisplay name
biographystringBio text; empty string if none
locationstringProfile location; empty string if none
external_urlstring or nullExpanded profile website URL
is_privatebooleanTweets are protected
is_verifiedbooleanLegacy verified OR blue-verified
is_blue_verifiedbooleanHas X Premium (blue) checkmark
follower_countinteger or nullNumber of followers
following_countinteger or nullNumber of accounts followed
tweet_countinteger or nullTotal tweets incl. retweets
like_countinteger or nullTweets the user has liked
media_countinteger or nullNumber of media posts
listed_countinteger or nullNumber of lists including the user
created_atstring or nullJoin date, X legacy format
profile_image_urlstring or nullFull-size avatar URL
profile_banner_urlstring or nullProfile banner image URL

Good to know

  • created_at uses the X date format, for example "Wed Jun 02 20:12:29 +0000 2010".
Try it in the playground
POST/v1/x/posts

An X profile plus its recent timeline (up to 60 tweets incl. pinned, retweets and own replies) with text, media and engagement counts.

X (Twitter) Posts Scraper API: use cases, pricing and questions

Body parameters

Add cache_days to any request to accept a cached result.

NameTypeRequiredDescription
usernamestringYesX username, @handle or profile URL.Example: tesla
limitintegerNoMaximum number of tweets to return. From 1 to 60, default 20.Example: 20
cache_daysintegerNoAccept a stored result up to this many days old (1 to 14). Omit for live data.

Example request

curl -X POST https://api.scrapeeverything.com/v1/x/posts \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"username":"tesla","limit":20}'
Response fields (51)

Returned inside data. Fields marked or null are null when the platform does not expose the value.

FieldTypeDescription
user_idstring or nullX numeric user ID (rest_id)
usernamestringScreen name (canonical casing)
full_namestringDisplay name
biographystringBio text; empty string if none
locationstringProfile location; empty string if none
external_urlstring or nullExpanded profile website URL
is_privatebooleanTweets are protected
is_verifiedbooleanLegacy verified OR blue-verified
is_blue_verifiedbooleanHas X Premium (blue) checkmark
follower_countinteger or nullNumber of followers
following_countinteger or nullNumber of accounts followed
tweet_countinteger or nullTotal tweets incl. retweets
like_countinteger or nullTweets the user has liked
media_countinteger or nullNumber of media posts
listed_countinteger or nullNumber of lists including the user
created_atstring or nullJoin date, X legacy format
profile_image_urlstring or nullFull-size avatar URL
profile_banner_urlstring or nullProfile banner image URL
posts[]array of objectsTimeline tweets in timeline order, max limit
posts[].idstringTweet ID (original tweet for retweets)
posts[].linkstring or nullhttps://x.com/<author>/status/<id>
posts[].textstringFull text (long-form note text if present)
posts[].langstring or nullLanguage code detected by X
posts[].created_atstring or nullPost time, X legacy date format
posts[].author_usernamestring or nullAuthor screen name (original author for RTs)
posts[].is_pinnedbooleanTweet is the pinned tweet
posts[].is_retweetbooleanEntry is a retweet
posts[].retweeted_fromstring or nullOriginal author's username when retweet
posts[].is_replybooleanTweet is a reply
posts[].in_reply_tostring or nullScreen name being replied to
posts[].is_quotebooleanTweet quotes another tweet
posts[].quotedobject or nullQuoted tweet summary
posts[].quoted.idstring or nullQuoted tweet ID
posts[].quoted.usernamestring or nullQuoted tweet author
posts[].quoted.textstringQuoted tweet text
posts[].quoted.linkstring or nullQuoted tweet URL
posts[].reply_countinteger or nullNumber of replies
posts[].retweet_countinteger or nullNumber of retweets
posts[].quote_countinteger or nullNumber of quote tweets
posts[].like_countinteger or nullNumber of likes
posts[].bookmark_countinteger or nullNumber of bookmarks
posts[].view_countinteger or nullNumber of views
posts[].media[]array of objectsAttached media; empty array if none
posts[].media[].typestring'photo', 'video' or 'animated_gif'
posts[].media[].image_urlstring or nullImage or video thumbnail URL
posts[].media[].video_urlstring or nullHighest-bitrate MP4 URL
posts[].media[].duration_msinteger or nullVideo duration in milliseconds
posts[].media[].widthinteger or nullOriginal width in pixels
posts[].media[].heightinteger or nullOriginal height in pixels
posts_fetchedintegerNumber of tweets returned
has_morebooleanMore tweets exist beyond those returned

Good to know

  • Includes the pinned post, reposts and the account's own replies, up to 60 items.
  • For reposts the post fields describe the original post and retweeted_from holds its author.
  • Protected accounts return an empty posts array.
Try it in the playground
POST/v1/x/post

A single X post (tweet) by URL or ID: text, author, reply/quote/retweet info, media and engagement counts including views.

X (Twitter) Post Scraper API: use cases, pricing and questions

Body parameters

Send one of url or id. Add cache_days to any request to accept a cached result.

NameTypeRequiredDescription
urlstringOne ofTweet URL (a bare tweet ID also works).Example: https://x.com/jack/status/20
idstringOne ofTweet ID; used only when url is empty.Example: 20
cache_daysintegerNoAccept a stored result up to this many days old (1 to 14). Omit for live data.

Example request

curl -X POST https://api.scrapeeverything.com/v1/x/post \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"url":"https://x.com/jack/status/20"}'
Response fields (30)

Returned inside data. Fields marked or null are null when the platform does not expose the value.

FieldTypeDescription
idstringTweet ID (original tweet if a retweet)
linkstring or nullhttps://x.com/<author>/status/<id>
textstringFull text (long-form note text if present)
langstring or nullLanguage code detected by X
created_atstring or nullPost time, X legacy date format
author_usernamestring or nullAuthor screen name
is_pinnedbooleanAlways false for this endpoint
is_retweetbooleanTweet is a retweet
retweeted_fromstring or nullOriginal author's username when retweet
is_replybooleanTweet is a reply
in_reply_tostring or nullScreen name being replied to
is_quotebooleanTweet quotes another tweet
quotedobject or nullQuoted tweet summary
quoted.idstring or nullQuoted tweet ID
quoted.usernamestring or nullQuoted tweet author
quoted.textstringQuoted tweet text
quoted.linkstring or nullQuoted tweet URL
reply_countinteger or nullNumber of replies
retweet_countinteger or nullNumber of retweets
quote_countinteger or nullNumber of quote tweets
like_countinteger or nullNumber of likes
bookmark_countinteger or nullNumber of bookmarks
view_countinteger or nullNumber of views
media[]array of objectsAttached media; empty array if none
media[].typestring'photo', 'video' or 'animated_gif'
media[].image_urlstring or nullImage (original size, name=orig) or video thumbnail URL
media[].video_urlstring or nullHighest-bitrate MP4 URL
media[].duration_msinteger or nullVideo duration in milliseconds
media[].widthinteger or nullOriginal width in pixels
media[].heightinteger or nullOriginal height in pixels

Good to know

  • Send id as a string. Post IDs are larger than JSON numbers can hold exactly; numeric IDs are rejected.
Try it in the playground