X Scraper
Get Twitter Profile
Retrieves a Twitter user's profile by handle, including account metadata and statistics. Returns name, screen_name, description, followers_count, friends_count, statuses_count, favourites_count, location, profile_image_url_https, and is_blue_verified. Also includes verification_info, tipjar_settings, highlights_info, and creator_subscriptions_count.
Endpoint
Parameters
| Name | Type | Required | Note |
|---|---|---|---|
| handlestring · required | string | required | Twitter handle |
| cache_max_agestring · optional | string | optional | See the Caching page for details. One of: |
Response schema
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"id": {
"type": "string"
},
"legacy": {
"type": "object",
"additionalProperties": {}
},
"rest_id": {
"type": "string"
},
"__typename": {
"type": "string"
},
"highlights_info": {
"type": "object",
"additionalProperties": {}
},
"tipjar_settings": {
"type": "object",
"additionalProperties": {}
},
"business_account": {
"type": "object",
"additionalProperties": {}
},
"is_blue_verified": {
"type": "boolean"
},
"verification_info": {
"type": "object",
"additionalProperties": {}
},
"profile_image_shape": {
"type": "string"
},
"user_seed_tweet_count": {
"type": "number"
},
"is_profile_translatable": {
"type": "boolean"
},
"legacy_extended_profile": {
"type": "object",
"additionalProperties": {}
},
"creator_subscriptions_count": {
"type": "number"
},
"affiliates_highlighted_label": {
"type": "object",
"additionalProperties": {}
},
"has_hidden_subscriptions_on_profile": {
"type": "boolean"
}
},
"additionalProperties": true
}