# About this account

`GET https://api.twittrapi.com/user/about/{username}`

The data behind X's "About this account" panel (account location, join date, username changes and similar).

HTML page: https://www.twittrapi.com/docs/reference/user-about-username

## Parameters

| Name | In | Type | Required | Default | Description |
| --- | --- | --- | --- | --- | --- |
| `username` | path | string | yes |  | Handle, with or without a leading @. 2 to 15 characters: letters, digits and underscore. |

Every read endpoint also accepts `format=simple` (or the header `X-Response-Format: simple`) for compact, flat JSON with a fixed schema. Same price.

## Response

Raw JSON of X's AboutAccountQuery.

With `format=simple`: {data: User with an about object}: accountBasedIn, locationAccurate, createdCountryAccurate, source, usernameChanges, lastUsernameChangeAt, affiliateUsername, identityVerified, verifiedSince. X sends no counts here, so counts are 0.

## Errors

| Status | When |
| --- | --- |
| 422 | The username is not 2 to 15 letters, digits or underscores. |

Shared errors (401 missing key, 402 no balance, 429 rate limit, 5xx) are listed on https://www.twittrapi.com/docs/helpful-infos/error-handling. Calls that fail with 400, 408, 409 or a 5xx error are refunded.

## Example request

curl:

```bash
curl 'https://api.twittrapi.com/user/about/jack' \
  --header 'X-API-KEY: YOUR_API_KEY'
```

Python:

```python
import httpx

# No SDK method for this endpoint yet, so this is a plain HTTP call.
resp = httpx.get(
    "https://api.twittrapi.com/user/about/jack",
    headers={"X-API-KEY": "YOUR_API_KEY"},
    timeout=60,
)
data = resp.json()
```

Node.js:

```js
import { TwittrAPI } from "twittrapi";

const client = new TwittrAPI({ apiKey: process.env.TWITTRAPI_API_KEY });
// No wrapper method for this endpoint yet; client.get() sends the same authenticated GET.
const data = await client.get({
  path: "/user/about/jack",
});
```

RapidAPI:

```bash
curl 'https://twitter-aio.p.rapidapi.com/user/about/jack' \
  --header 'x-rapidapi-key: YOUR_RAPIDAPI_KEY' \
  --header 'x-rapidapi-host: twitter-aio.p.rapidapi.com'
```

## Example response

Shortened: arrays keep their first items and long strings are cut.

Raw (default):

```json
{
  "data": {
    "user_result_by_screen_name": {
      "id": "VXNlclJlc3VsdHM6MjI0NDk5NDk0NQ==",
      "result": {
        "__typename": "User",
        "about_profile": {
          "account_based_in": "United States",
          "affiliate_username": "X",
          "created_country_accurate": true,
          "learn_more_url": "https://help.twitter.com/managing-your-account/about-twitter-verified-accounts",
          "location_accurate": true,
          "source": "Web",
          "username_changes": {
            "count": "1",
            "last_changed_at_msec": "1690335192280"
          }
        },
        "affiliates_highlighted_label": {
          "label": {
            "badge": {
              "url": "https://pbs.twimg.com/profile_images/1955359038532653056/OSHY3ewP_bigger.jpg"
            },
            "description": "X",
            "url": {
              "url": "https://twitter.com/X",
              "urlType": "DeepLink"
            },
            "userLabelDisplayType": "Badge",
            "userLabelType": "BusinessLabel"
          }
        },
        "avatar": {
          "image_url": "https://pbs.twimg.com/profile_images/1683501992314798080/xl1POYLw_normal.jpg"
        },
        "core": {
          "created_at": "Sat Dec 14 04:35:55 +0000 2013",
          "name": "Developers",
          "screen_name": "XDevelopers"
        },
        "id": "VXNlcjoyMjQ0OTk0OTQ1",
        "identity_profile_labels_highlighted_label": {
          "label": {
            "badge": {
              "url": "https://pbs.twimg.com/profile_images/1955359038532653056/OSHY3ewP_bigger.jpg"
            },
            "description": "X",
            "url": {
              "url": "https://twitter.com/X",
              "urlType": "DeepLink"
            },
            "userLabelDisplayType": "Badge",
            "userLabelType": "BusinessLabel"
          }
        },
        "is_blue_verified": true,
        "privacy": {
          "protected": false
        },
        "profile_image_shape": "Square",
        "rest_id": "2244994945",
        "verification": {
          "verified": false,
          "verified_type": "Business"
        },
        "verification_info": {
          "id": "VXNlclZlcmlmaWNhdGlvbkluZm86MjI0NDk5NDk0NQ==",
          "is_identity_verified": false,
          "reason": {
            "verified_since_msec": "1395425700472"
          }
        }
      }
    }
  }
}
```

Simple (`format=simple`):

```json
{
  "data": {
    "id": "2244994945",
    "username": "XDevelopers",
    "name": "Developers",
    "description": "",
    "location": "",
    "url": null,
    "createdAt": "2013-12-14T04:35:55Z",
    "avatarUrl": "https://pbs.twimg.com/profile_images/1683501992314798080/xl1POYLw.jpg",
    "bannerUrl": null,
    "verified": true,
    "verifiedType": "Business",
    "protected": false,
    "counts": {
      "followers": 0,
      "following": 0,
      "tweets": 0,
      "likes": 0,
      "media": 0,
      "listed": 0
    },
    "pinnedTweetIds": [],
    "isAutomated": false,
    "about": {
      "accountBasedIn": "United States",
      "locationAccurate": true,
      "createdCountryAccurate": true,
      "source": "Web",
      "usernameChanges": 1,
      "lastUsernameChangeAt": "2023-07-26T01:33:12Z",
      "affiliateUsername": "X",
      "identityVerified": false,
      "verifiedSince": "2014-03-21T18:15:00Z"
    }
  }
}
```
