GET
/user/info_by_id$0.0008 / callUser Info by ID
Resolve a numeric user ID into the full user object. Use this when you already have the stable ID (handles can change, IDs do not).
Request
curl "https://api.twitterapis.com/user/info_by_id?user_id=745273" \
-H "Authorization: Bearer $TWITTERAPIS_KEY"Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
user_id | string | required | Numeric ID of the user. Example: |
Response
| Field | Type | Description |
|---|---|---|
user | User | The resolved user object. |
status | string | "success" on a normal response. |
Example response
{
"user": {
"id": "745273",
"username": "naval",
"name": "Naval",
"followers_count": 2100000,
"is_blue_verified": true
},
"status": "success"
}Pricing for this endpoint
user/info_by_id costs $0.0008 per call and returns ~20 tweets, so roughly $0.04 per 1,000 tweets. No subscriptions or minimum spend.