About Account

GET/tw-v2/user/about-account

Description

Retrieve detailed account information for a Twitter/X user including location, verification details, username history, affiliate relationships, and account creation source.

Parameters

ParameterTypeRequiredDescription
usernamestringrequiredTwitter/X username without @ symbol (e.g., 'elonmusk')

Code Examples

const params = new URLSearchParams({
  username: 'elonmusk'
});

const response = await fetch(`https://api.tweetapi.com/tw-v2/user/about-account?${params}`, {
  method: 'GET',
  headers: {
    'X-API-Key': 'YOUR_API_KEY'
  }
});

const data = await response.json();
console.log(data);

Response

Success Response (200 OK)

200
{
  "data": {
    "id": "1234567890123456789",
    "username": "exampleuser",
    "name": "Example User",
    "createdAt": "Wed Jan 15 10:30:00 +0000 2023",
    "verified": false,
    "isBlueVerified": true,
    "isProtected": false,
    "avatarUrl": "https://pbs.twimg.com/profile_images/1234567890/example_normal.jpg",
    "profileImageShape": "Circle",
    "aboutProfile": {
      "accountBasedIn": "United States",
      "locationAccurate": true,
      "learnMoreUrl": "https://help.twitter.com/rules-and-policies/profile-labels",
      "source": "United States App Store",
      "usernameChanges": {
        "count": 2,
        "lastChangedAt": "2024-03-15T14:22:30.000Z"
      }
    }
  }
}

API Playground

GET/tw-v2/user/about-account

Press ⌘ + Enter to execute

curl -X GET "https://api.tweetapi.com/tw-v2/user/about-account" \
  -H "X-API-Key: YOUR_API_KEY"
Response

Click "Try It!" to see the response