# X (Twitter) About this account API (twitter.user_about)

- Canonical page: https://everyinfra.com/en/twitter-api/user_about
- Endpoint: POST /api/v1/social with {"platform": "twitter", "action": "user_about", "params": {...}}
- Price: $0.000806 per call ($0.81 per 1,000 requests); failed and empty results are not charged
- Returns: single object
- Mode: sync; add "mode": "async" for slow tasks

## Health

- Live health (24h percent, hourly and daily trends): https://api.everyinfra.com/api/v1/social/availability?platform=twitter&action=user_about

## Parameters

| name | type | required | default | description |
|---|---|---|---|---|
| username | not declared | yes | not declared | The account to look up, such as `NASA`; a leading @ is removed. |

## Response fields (items in `results`)

| field | meaning |
|---|---|
| user_id | User's unique ID on the platform. |
| username | Username (@handle). |
| display_name | Display name; can differ from username. |
| url | Link to the record on the platform. |
| account_based_in | platform-native meaning |
| is_location_accurate | platform-native meaning |
| signup_source | platform-native meaning |
| username_change_count | platform-native meaning |
| last_username_change_at | platform-native meaning |
| is_verified | Whether the platform verified the account. null means it cannot be determined. |
| verified_since | platform-native meaning |
| is_protected | platform-native meaning |
| affiliation | platform-native meaning |
| avatar_url | Avatar image link. Some platforms return sized CDN links that can expire. |
| account_status | platform-native meaning |
| platform | Source platform identifier, the same as platform in the request (for example xiaohongshu, tiktok). |

## Example

```bash
curl -X POST 'https://api.everyinfra.com/api/v1/social' \
  -H "Authorization: Bearer $EVERYINFRA_API_KEY" \
  -H 'Content-Type: application/json' \
  --data-raw '{
  "platform": "twitter",
  "action": "user_about",
  "params": {
    "username": "nasa"
  }
}'
```

```python
import os
import requests

response = requests.post(
    "https://api.everyinfra.com/api/v1/social",
    headers={"Authorization": f"Bearer {os.environ['EVERYINFRA_API_KEY']}"},
    json={
        "platform": "twitter",
        "action": "user_about",
        "params": {
            "username": "nasa",
        },
    },
    timeout=120,
)
print(response.status_code)
print(response.json())
```

## Response example

No real sample for these example parameters yet: structure only, every value is a placeholder (…).

```text
{
  "id": "req_…",
  "platform": "twitter",
  "action": "user_about",
  "results": {
    "user_id": …,
    "username": …,
    "display_name": …,
    "url": …,
    "account_based_in": …,
    "is_location_accurate": …,
    "signup_source": …,
    "username_change_count": …,
    "last_username_change_at": …,
    "is_verified": …,
    "verified_since": …,
    "is_protected": …,
    "affiliation": …,
    "avatar_url": …,
    "account_status": …,
    "platform": …
  },
  "billing": {
    "charged": …,
    "charged_usd": …,
    "balance_after_usd": …,
    …
  },
  "quota": { … }
}
```

## Also

- Capability catalog (no key): https://api.everyinfra.com/api/v1/social/catalog?platform=twitter
- OpenAPI: https://everyinfra.com/openapi.json · Agents guide: https://everyinfra.com/agents.md
