Twitter / X Scraping
X User Endpoint
POST /v1/x/user
#Pricing
- 3 credits
#Request
{
"username": "isohaibilyas"
}
#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",
"website_url": "https://sohaibilyas.com",
"website_display_url": "sohaibilyas.com",
"website_short_url": "https://t.co/site",
"verified": true,
"protected": false,
"professional_type": "Creator",
"professional_category": "Software developer/Programmer/Software engineer"
}
}
If the user does not exist, the endpoint returns 200 with X/Twitter user not found.