twitter_user_by_username
Get a public Twitter profile by username (handle), returning ID, name, description, verified status, and follower/following/tweet counts. Use it to compare sports accounts and their metrics.
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 |