---
title: "Get User Profile by ID"
method: GET
path: "/twitter/user/{user_id}"
tags: ["Data API"]
---

# Get User Profile by ID

`GET /twitter/user/{user_id}`

Retrieve detailed user profile information by their Twitter numerical ID.

## Path parameters

- `user_id` string, required

## Response `200`

Request succeeded

- User — Twitter user account information
  - `id_str` string, required — The string representation of the unique identifier for this User. Implementations should use this rather than the large, possibly un-consumable integer in id.
  - `name` string, required — The name of the user, as they've defined it. Not necessarily a person's name. Typically capped at 50 characters, but subject to change.
  - `screen_name` string, required — The screen name, handle, or alias that this user identifies themselves with. screen_names are unique but subject to change. Use id_str as a user identifier whenever possible. Typically a maximum of 15 characters long, but some historical accounts may exist with longer names.
  - `location` string, required — The user-defined location for this account's profile. Not necessarily a location, nor machine-parseable. This field will occasionally be fuzzily interpreted by the Search service.
  - `url` string, nullable — A URL provided by the user in association with their profile.
  - `description` string, required — The user-defined UTF-8 string describing their account.
  - `protected` boolean, required — When true, indicates that this user has chosen to protect their Tweets.
  - `verified` boolean, required — When true, indicates that the user has a verified account with a blue checkmark.
  - `followers_count` integer, required — The number of followers this account currently has. Under certain conditions of duress, this field will temporarily indicate "0".
  - `friends_count` integer, required — The number of users this account is following (AKA their "followings"). Under certain conditions of duress, this field will temporarily indicate "0".
  - `listed_count` integer, required — The number of public lists that this user is a member of.
  - `favourites_count` integer, required — The number of Tweets this user has liked in the account's lifetime. British spelling used in the field name for historical reasons.
  - `statuses_count` integer, required — The number of Tweets (including retweets) issued by the user.
  - `created_at` string, required — The UTC datetime that the user account was created on Twitter.
  - `profile_banner_url` string, required — The HTTPS-based URL pointing to the standard web representation of the user's uploaded profile banner. By adding a final path element of the URL, it is possible to obtain different image sizes optimized for specific displays.
  - `profile_image_url_https` string, required — A HTTPS-based URL pointing to the user's profile image.
  - `can_dm` boolean, required — Indicates whether the authenticated user can send a direct message to this user.

## Other responses

- `402` — Payment required - not enough credits to perform this request. You should purchase additional credits
- `422` — Validation failed (e.g. invalid user ID format)
- `500` — API internal error, typically means that SocialData API failed to obtain the requested information. Retry may succeed

---

[API](https://skmtc.net/socialdata-api/apis/socialdata-api-reference.md) · [All operations](https://skmtc.net/socialdata-api/apis/socialdata-api-reference/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/socialdata-api/socialdata-api-reference/versions/a898522f71ac/schema)
