Early BetaYou're using an early version of Scraper.bot.Submit a trouble ticket
Back to templates
Social Mediaextract
4.5
1.4k uses

X (Twitter) Profile Scraper

Extract public profile data from X/Twitter including display name, handle, bio, follower count, and tweet count

Target URL
https://x.com/elonmuskVisit Site
Steps
1

Go to X profile page

navigate

2

Wait for profile data to load

wait

3

Extract profile data

extract

FieldSelectorTransform
displayName[data-testid='UserName'] span:first-childtext
handle[data-testid='UserName'] div:nth-child(2) spantext
bio[data-testid='UserDescription']text
followerCounta[href$='/verified_followers'] span spantext
followingCounta[href$='/following'] span spantext
tweetCount[data-testid='UserName'] + divtext
Output Schema
FieldType
displayNamestring
handlestring
biostring
followerCountstring
followingCountstring
tweetCountstring
Example Output
displayNamehandlebiofollowerCountfollowingCounttweetCount
Elon Musk@elonmuskMars & Cars, Chips & Dips195.2M81242.1K posts
Sam Altman@samaCEO of OpenAI3.8M1,2478.9K posts
Dario Amodei@DarioAmodeiCEO of Anthropic482K3181.2K posts
API Endpoint
curl -X POST https://api.scraper.bot/v1/flows \
  -H "Authorization: Bearer scr_live_YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "templateId": "tmpl-twitter-profile",
    "url": "https://x.com/elonmusk"
  }'

Command Palette

Search for a command to run...