Get detailed profile information for a Twitter/X user by username. Returns account details, follower/following counts, bio, verification status, and account metadata.
curl "https://apidirect.io/v1/twitter/user?username=elonmusk" \
-H "X-API-Key: YOUR_API_KEY"
{
"user": {
"username": "elonmusk",
"name": "Elon Musk",
"user_id": "44196397",
"description": "",
"url": "https://twitter.com/elonmusk",
"followers_count": 235918920,
"following_count": 1292,
"tweet_count": 98359,
"favourites_count": 214306,
"listed_count": 167743,
"media_count": 4372,
"verified": true,
"protected": false,
"profile_image_url": "https://pbs.twimg.com/profile_images/.../photo_400x400.jpg",
"profile_banner_url": "https://pbs.twimg.com/profile_banners/44196397/...",
"created_at": "2009-06-02 20:12:29",
"pinned_tweet_ids": ["2028500984977330453"],
"account_based_in": "United States",
"username_changes": 0
}
}
You get the full public profile: username, display name, bio, follower/following counts, tweet count, verification status, profile images, account creation date, and more.
You can get basic profile data (username, name, bio, follower counts) for private accounts, but their tweets and followers are not accessible.
This is the country where Twitter identifies the account as being based, shown on the account's About page.
You only pay for successful requests. The Twitter User Profile API costs $0.006 per request. There are no monthly fees or commitments. You get 50 free requests per endpoint every month.
No. You can sign up and use the free tier (50 requests/endpoint/month) without adding a payment method. You only need to add a card when you want to exceed the free tier.
Yes, there's a concurrency limit of 3 simultaneous requests per endpoint per user. If you need more, just get in touch.
Get your API key and start making requests in minutes. 50 requests/month free every month.
Get API Key