---
name: "Users"
last_updated: 2026-12-04T23:21:52Z
type: feature
api_base_url: "https://apis--roblox--com.github.com"
endpoints: 1
legacy_endpoints: 12
auth: [api-key, oauth2, cookie]
description: "Retrieve user information, manage inventories, and restrict users from your experience"
---

# Users

Retrieve user information, manage inventories, and restrict users from your experience. See the [Inventory Guide](/docs/en-us/cloud/guides/inventory.md) for code examples.

Common use cases include:

- User lookup: [Search users by username](#users_get_v1_users_search) or ID and [retrieve profile information](#Cloud_GetUser)
- Avatar thumbnails: [Generate a user thumbnail](#Cloud_GenerateUserThumbnail) and [retrieve its generation operation](#Cloud_GetUserThumbnailGenerationOperation)
- Inventory access: [List user-owned items](#Cloud_ListInventoryItems), badges, and collectibles
- User restrictions: [Manage experience-level bans](#Cloud_UpdateUserRestriction__Using_Universes) and access restrictions
- Subscription status: [Retrieve a user's subscription](#Cloud_GetSubscription) for an experience

**Base URL:** `https://apis--roblox--com.github.com`

## Authentication

Each endpoint requires one of the following authentication methods:

- **API Key**: Pass your key in the `x-api-key` HTTP header. Create keys at [Creator Dashboard](https://create--roblox--com.github.com/dashboard/credentials).
- **OAuth 2.0**: Use Bearer token in the `Authorization` header. Authorization URL: `https://apis--roblox--com.github.com/oauth/v1/authorize`, Token URL: `https://apis--roblox--com.github.com/oauth/v1/token`
- **Cookie** *(not recommended)*: `.ROBLOSECURITY` cookie. Do not use in production.

```
# API Key example
curl -H "x-api-key: YOUR_API_KEY" https://apis--roblox--com.github.com/...

# OAuth 2.0 example
curl -H "Authorization: Bearer YOUR_ACCESS_TOKEN" https://apis--roblox--com.github.com/...
```

## Endpoint index

Every endpoint in this feature. Endpoints marked *(legacy page)* are deprecated, have a recommended replacement, are served from a legacy domain instead of the base URL, or accept only cookie authentication. They are documented on [Users (legacy)](/docs/cloud/reference/features/users-legacy.md).

- GET /cloud/v2/users/{user_id} — Get User
- GET users--roblox--com.github.com/v1/display-names/validate — Validate a display name for a new user. *(legacy page)*
- POST contacts--roblox--com.github.com/v1/user/get-tags — Gets the tags for multiple users *(legacy page)*
- POST contacts--roblox--com.github.com/v1/user/tag — Sets the tag for a user *(legacy page)*
- GET contacts--roblox--com.github.com/v1/user/tag/validate — Validates the tag for a user *(legacy page)*
- POST users--roblox--com.github.com/v1/usernames/users — Get users by usernames. *(legacy page)*
- POST users--roblox--com.github.com/v1/users — Get users by ids. *(legacy page)*
- GET economy--roblox--com.github.com/v1/users/{userId}/currency — Gets currency for the specified user. *(legacy page)*
- GET users--roblox--com.github.com/v1/users/{userId}/display-names/validate — Validate a display name for an existing user. *(legacy page)*
- GET users--roblox--com.github.com/v1/users/search — Searches for users by keyword. *(legacy page)*
- GET economy--roblox--com.github.com/v2/users/{userId}/transaction-totals — Gets recent transaction totals for the authenticated user. *(legacy page)*
- GET economy--roblox--com.github.com/v2/users/{userId}/transaction-types — Gets the transaction types that a user has used at any point in their account's lifetime. *(legacy page)*
- GET economy--roblox--com.github.com/v2/users/{userId}/transactions — Fetches the transaction history for the authenticated user. *(legacy page)*

## Endpoints

### GET /cloud/v2/users/{user_id}

Get User

Gets a user's basic and advanced information.

**Auth:** API Key (`x-api-key` header) or OAuth 2.0 Bearer token

**Scopes:** `user.advanced:read`, `user.social:read`

**Parameters:**

| Name | In | Type | Required | Description |
|------|-----|------|----------|-------------|
| `user_id` | path | `string` | Yes | The user ID. |

**Responses:**

- `200`: OK → `User`

**Response fields** (`User`)

See [User](#user) in Models.

**Response example:**
```json
{
  "path": "string",
  "createTime": "2024-01-01T00:00:00Z",
  "id": "string",
  "name": "string",
  "displayName": "string",
  "about": "string",
  "locale": "string",
  "premium": false,
  "idVerified": false,
  "socialNetworkProfiles": {
    "facebook": "string",
    "twitter": "string",
    "youtube": "string",
    "twitch": "string",
    "guilded": "string",
    "visibility": "SOCIAL_NETWORK_VISIBILITY_UNSPECIFIED"
  }
}
```

**Rate Limits:** perApiKeyOwner: 1000/minute, perOauth2Authorization: 10/minute

**Example:**
```bash
curl -H "x-api-key: $ROBLOX_API_KEY" \
  "https://apis--roblox--com.github.com/cloud/v2/users/{USER_ID}"
```

## Models

### User

Represents any registered user of Roblox.

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `path` | `string` | No | The resource path of the user.              Format: `users/{user_id}` |
| `createTime` | `string` | Output only | The timestamp at which the user was created. |
| `id` | `string` | Output only | Unique ID that identifies a user in Roblox. |
| `name` | `string` | No | Unique username for a user in Roblox. |
| `displayName` | `string` | No | Display name for the user. |
| `about` | `string` | No | User-defined information about themselves. Omitted when empty or when the owner's About visibility does not permit this caller to view it. |
| `locale` | `string` | No | Current locale selected by the user. Returns IETF language code. |
| `premium` | `boolean` | Output only | Whether the user is a premium user. |
| `idVerified` | `boolean` | Output only | Specifies if the user is identity-verified. Verification includes, but isn't limited to, non-VoIP phone numbers or government IDs.              To access this data, you need an API key / OAuth token with the following scope: user.advanced:read. The field is omitted from the response when the caller is not authorized to read it. |
| `socialNetworkProfiles` | `User_SocialNetworkProfiles` | No | User's social network profiles and visibility. |

### User_SocialNetworkProfiles

Social network profiles of a user.

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `facebook` | `string` | No | Facebook profile URI. |
| `twitter` | `string` | No | Twitter profile URI. |
| `youtube` | `string` | No | YouTube profile URI. |
| `twitch` | `string` | No | Twitch profile URI. |
| `guilded` | `string` | No | Guilded profile URI. |
| `visibility` | `string enum (6 values)` | No | Visibility of the social network profiles.              To access this data, you need an API key / OAuth token with the following scope: user.social:read              Possible values:                \| Value \| Description \|   \| --- \| --- \|   \| SOCIAL_NETWORK_VISIBILITY_UNSPECIFIED \| Default SocialNetworkVisibility. \|   \| NO_ONE \| No one \|   \| FRIENDS \| Friends only \|   \| FRIENDS_AND_FOLLOWING \| Friends and other users the user follows \|   \| FRIENDS_FOLLOWING_AND_FOLLOWERS \| Friends, other users the user follows, and other users who follow the user \|   \| EVERYONE \| Everyone \| Values: SOCIAL_NETWORK_VISIBILITY_UNSPECIFIED, NO_ONE, FRIENDS, FRIENDS_AND_FOLLOWING, FRIENDS_FOLLOWING_AND_FOLLOWERS, EVERYONE |