X (Twitter) · Schema
User
The X User object.
Social MediaMicrobloggingReal-Time DataStreamingAdvertisingContent
Properties
| Name | Type | Description |
|---|---|---|
| affiliation | object | Metadata about a user's affiliation. |
| connection_status | array | Returns detailed information about the relationship between two users. |
| created_at | string | Creation time of this User. |
| description | string | The text of this User's profile description (also known as bio), if the User provided one. |
| entities | object | A list of metadata found in the User's profile description. |
| id | string | Unique identifier of this User. This is returned as a string in order to avoid complications with languages and tools that cannot handle large integers. |
| location | string | The location specified in the User's profile, if the User provided one. As this is a freeform value, it may not indicate a valid location, but it may be fuzzily evaluated when performing searches with |
| most_recent_tweet_id | string | Unique identifier of this Tweet. This is returned as a string in order to avoid complications with languages and tools that cannot handle large integers. |
| name | string | The friendly name of this User, as shown on their profile. |
| pinned_tweet_id | string | Unique identifier of this Tweet. This is returned as a string in order to avoid complications with languages and tools that cannot handle large integers. |
| profile_banner_url | string | The URL to the profile banner for this User. |
| profile_image_url | string | The URL to the profile image for this User. |
| protected | boolean | Indicates if this User has chosen to protect their Posts (in other words, if this User's Posts are private). |
| public_metrics | object | A list of metrics for this User. |
| receives_your_dm | boolean | Indicates if you can send a DM to this User |
| subscription_type | string | The X Blue subscription type of the user, eg: Basic, Premium, PremiumPlus or None. |
| url | string | The URL specified in the User's profile. |
| username | string | The X handle (screen name) of this user. |
| verified | boolean | Indicate if this User is a verified X User. |
| verified_type | string | The X Blue verified type of the user, eg: blue, government, business or none. |
| withheld | object | Indicates withholding details for [withheld content](https://help.twitter.com/en/rules-and-policies/tweet-withheld-by-country). |