---
title: "Checks if a username is valid."
method: GET
path: "/v1/usernames/validate"
tags: ["Accounts"]
---

# Checks if a username is valid.

`GET /v1/usernames/validate`

## Query parameters

- `Username` string, required
- `Birthday` string, date-time, required
- `Context` 0 | 1 | 2, required

## Response `200`

OK

- RobloxAuthenticationApiModelsUsernameValidationResponse
  - `code` 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 10 | 12 — ['ValidUsername' = 0, 'AlreadyInUseError' = 1, 'ModerationError' = 2, 'InvalidLengthError' = 3, 'StartsOrEndsWithUnderscoreError' = 4, 'TooManyUnderscoresError' = 5, 'ContainsSpacesError' = 6, 'InvalidCharactersError' = 7, 'ContainsPiiError' = 10, 'ContainsReservedUsernameError' = 12]
  - `message` string

## Other responses

- `400` — 1: A valid username is required. 2: A valid birthday or authenticated user is required.

## Changes

- **2026-09-03** `d9b4ae8b3380` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/roblox/apis/roblox-api/changes/v1/usernames/validate/get.md)

---

[API](https://skmtc.dev/roblox/apis/roblox-api.md) · [All operations](https://skmtc.dev/roblox/apis/roblox-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/roblox/roblox-api/revisions/d9b4ae8b3380/schema)
