Skip to content

Username Generation ​

The /username endpoint generates random usernames. This endpoint is useful for creating placeholder usernames or suggesting names to users.

Parameters ​

This endpoint does not require any parameters.

Request Example ​

GET /v3/username

Response ​

json
{
    "username": "CoolDragon42"
}

Response Fields ​

FieldDescription
usernameA randomly generated username

cURL ​

bash
curl -X GET "https://api.sylvain.sh/v3/username"

Use Cases ​

  • User registration: Suggest usernames during sign-up
  • Gaming: Generate player names
  • Testing: Create test user data
  • Placeholder content: Fill in sample data