Search APIs
Loading…
← API Store
Social

X (Twitter)

X (Twitter)

X profile

GET /twitter/v1/profile
Test this endpoint

Every 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

NameTypeDescription
usernamerequiredstring 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_labelnull
$.avatarstring
$.avatar_originalstring
$.bannerstring
$.biostring
$.bio_languagestring
$.bio_urlsarray
$.birthdatestring
$.business_affiliatesinteger
$.cachedboolean
$.created_atstring
$.creator_subscriptionsinteger
$.credits_usedinteger
$.followersinteger
$.followinginteger
$.graphql_idstring
$.highlighted_tweetsinteger
$.idstring
$.identity_verifiedboolean
$.likesinteger
$.listednull
$.locationstring
$.mediainteger
$.media_tweetsinteger
$.namestring
$.parody_labelnull
$.pinned_tweet_idsarray
$.possibly_sensitiveboolean
$.professionalnull
$.profile_image_shapestring
$.protectedboolean
$.tweetsinteger
$.urlstring
$.usernamestring
$.verification_reasonstring
$.verifiedboolean
$.verified_legacyboolean
$.verified_sincestring
$.verified_typestring
$.websitestring
$.website_displaystring
$.website_short_urlstring
$.…string