curl -X GET "https://scrape.st/x/user?username=elonmusk" \
-H "x-api-key: YOUR_API_KEY"
{
"id": "44196397",
"name": "Elon Musk",
"screen_name": "elonmusk",
"description": "",
"location": "",
"url": null,
"created_at": "2009-06-02T20:12:29.000Z",
"followers_count": 201900000,
"friends_count": 0,
"statuses_count": 50000,
"favourites_count": 50000,
"listed_count": 100000,
"verified": true,
"is_blue_verified": true,
"profile_image_url": "https://pbs.twimg.com/profile_images/123456789/elonmusk_normal.jpg",
"protected": false
}
X Queries
User Information
Get X user profile by username
GET
/
x
/
user
curl -X GET "https://scrape.st/x/user?username=elonmusk" \
-H "x-api-key: YOUR_API_KEY"
{
"id": "44196397",
"name": "Elon Musk",
"screen_name": "elonmusk",
"description": "",
"location": "",
"url": null,
"created_at": "2009-06-02T20:12:29.000Z",
"followers_count": 201900000,
"friends_count": 0,
"statuses_count": 50000,
"favourites_count": 50000,
"listed_count": 100000,
"verified": true,
"is_blue_verified": true,
"profile_image_url": "https://pbs.twimg.com/profile_images/123456789/elonmusk_normal.jpg",
"protected": false
}
Retrieve detailed profile information for an X user.
Query Parameters
string
required
X username (without @)
Response
string
User’s unique X ID
string
Display name
string
X handle (with @)
string
Bio text
string
Location field
number
Number of followers
number
Number of accounts following
boolean
Whether user is verified
string
Profile image URL
curl -X GET "https://scrape.st/x/user?username=elonmusk" \
-H "x-api-key: YOUR_API_KEY"
{
"id": "44196397",
"name": "Elon Musk",
"screen_name": "elonmusk",
"description": "",
"location": "",
"url": null,
"created_at": "2009-06-02T20:12:29.000Z",
"followers_count": 201900000,
"friends_count": 0,
"statuses_count": 50000,
"favourites_count": 50000,
"listed_count": 100000,
"verified": true,
"is_blue_verified": true,
"profile_image_url": "https://pbs.twimg.com/profile_images/123456789/elonmusk_normal.jpg",
"protected": false
}