Twitter / X Scraping
Get Twitter X User Data
POST /v1/x/user
#Example
curl -X POST /v1/x/user \
-H "Authorization: Bearer your-token" \
-H "Content-Type: application/json" \
-d '{
"username": "isohaibilyas"
}'
#Request Body
{
"username": "isohaibilyas"
}
#Pricing
- 3 credits
Credits are only deducted for successful requests.
#Response Includes
- follower and following counts
- bio, location, website
- profile and banner images
- verification and professional metadata
#Example Response
{
"response": {
"id": "777537367",
"name": "Sohaib Ilyas",
"username": "isohaibilyas",
"bio": "Building things on the internet.",
"location": "Lahore, Pakistan",
"followers_count": 1200,
"following_count": 345,
"statuses_count": 678,
"media_count": 90,
"likes_count": 4321,
"listed_count": 12,
"profile_image_url": "https://example.com/avatar.jpg",
"profile_banner_url": "https://example.com/banner.jpg",
"url": "https://x.com/isohaibilyas",
"verified": true,
"protected": false
}
}