---
title: "Get users by usernames."
method: POST
path: "/v1/usernames/users"
tags: ["Users"]
---

# Get users by usernames.

`POST /v1/usernames/users`

This endpoint will also check previous usernames.
Does not require X-CSRF-Token protection because this is essentially a get request but as a POST to avoid URI limits.

## Request body

- RobloxUsersApiMultiGetByUsernameRequest — Request model for getting users by usernames.
  - `usernames` string[] — The usernames.
  - `excludeBannedUsers` boolean — Whether the response should exclude banned users

## Response `200`

OK

- RobloxWebWebAPIModelsApiArrayResponseRobloxUsersApiMultiGetUserByNameResponse
  - `data` RobloxUsersApiMultiGetUserByNameResponse[]
    - `requestedUsername` string — The username the user was requested with.
    - `hasVerifiedBadge` boolean — The user's verified badge status.
    - `id` integer — The user Id.
    - `name` string — The user name.
    - `displayName` string — The user DisplayName.

## Other responses

- `400` — 2: Too many usernames.

---

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