twitter_user_by_username
Fetch a Twitter user's public profile and follower metrics by entering their handle without the @ symbol.
Instructions
One account's public profile by @handle (without the @).
Returns: {data:{id, username, name, description, verified, public_metrics:{followers_count, following_count, tweet_count}}}
Example: The NBA's official account {"username": "NBA"}
Auth: needs your own key in X_BEARER_TOKEN.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| username | Yes | Handle without the @ (e.g. NBA, AFL, wojespn). Required — part of the URL path. | |
| user_fields | No | User fields (CSV). | created_at,description,public_metrics,verified |