← API Store
Social
X (Twitter)
X (Twitter)
X profile
GET /twitter/v1/profileEvery response includes credits_used: the credits this call cost.
Each call costs 1 credits; failed calls are free. Run it in the console playground to see a live result.
Parameters
| Name | Type | Description |
|---|---|---|
usernamerequired | string | Example: nasa |
Every endpoint also takes: raw、fields、fresh、output、records
{
"affiliate_label": null,
"avatar": "https://pbs.twimg.com/profile_images/1321163587679784960/0ZxKlEKB_400x400.jpg",
"avatar_original": "https://pbs.twimg.com/profile_images/1321163587679784960/0ZxKlEKB.jpg",
"banner": "https://pbs.twimg.com/profile_banners/11348282/1788992290",
"bio": "Making the seemingly impossible, possible. ✨",
"bio_language": "en",
"bio_urls": [],
"birthdate": "1958-10-1",
"business_affiliates": 85,
"cached": false,
"created_at": "Wed Dec 19 20:20:32 +0000 2007",
"creator_subscriptions": 0,
"credits_used": 1,
"followers": 92311149,
"following": 115,
"graphql_id": "VXNlcjoxMTM0ODI4Mg==",
"highlighted_tweets": 286,
"id": "11348282",
"identity_verified": false,
"likes": 17039,
"listed": null,
"location": "Pale Blue Dot",
"media": 28206,
"media_tweets": 28206,
"name": "NASA",
"parody_label": null,
"pinned_tweet_ids": [],
"possibly_sensitive": false,
"professional": null,
"profile_image_shape": "Square",
"protected": false,
"tweets": 74451,
"url": "https://x.com/NASA",
"username": "NASA",
"verification_reason": "This account is verified because it is a government or multilateral organization account. Learn more",
"verified": true,
"verified_legacy": false,
"verified_since": "2009-08-07T19:53:50.941Z",
"verified_type": "Government",
"website": "http://www.nasa.gov/",
"website_display": "nasa.gov",
"website_short_url": "https://t.co/9NkQJKAnuU",
"…": "7 more fields"
} Response fields (44)
Field paths and types observed in the sample response; the live response is authoritative.
$ | object |
$.affiliate_label | null |
$.avatar | string |
$.avatar_original | string |
$.banner | string |
$.bio | string |
$.bio_language | string |
$.bio_urls | array |
$.birthdate | string |
$.business_affiliates | integer |
$.cached | boolean |
$.created_at | string |
$.creator_subscriptions | integer |
$.credits_used | integer |
$.followers | integer |
$.following | integer |
$.graphql_id | string |
$.highlighted_tweets | integer |
$.id | string |
$.identity_verified | boolean |
$.likes | integer |
$.listed | null |
$.location | string |
$.media | integer |
$.media_tweets | integer |
$.name | string |
$.parody_label | null |
$.pinned_tweet_ids | array |
$.possibly_sensitive | boolean |
$.professional | null |
$.profile_image_shape | string |
$.protected | boolean |
$.tweets | integer |
$.url | string |
$.username | string |
$.verification_reason | string |
$.verified | boolean |
$.verified_legacy | boolean |
$.verified_since | string |
$.verified_type | string |
$.website | string |
$.website_display | string |
$.website_short_url | string |
$.… | string |