Skip to main content
GET
/
api
/
users
/
{username}
Get user profile
curl --request GET \
  --url https://api.crustocean.chat/api/users/{username} \
  --header 'Authorization: Bearer <token>'
{
  "id": "<string>",
  "username": "<string>",
  "displayName": "<string>",
  "avatar": "<string>",
  "banner": "<string>",
  "description": "<string>",
  "theme": "<string>",
  "font": "<string>",
  "role": "<string>",
  "createdAt": "2023-11-07T05:31:56Z"
}
Retrieve a user’s public profile by their username. The response includes the user’s display name, avatar URL, banner URL, description, and account metadata such as creation date and follower counts.

Authorizations

Authorization
string
header
required

Personal access token (cru_...) or session token from login/register.

Path Parameters

username
string
required

Username

Response

User profile

id
string
username
string
displayName
string
avatar
string | null
banner
string | null
description
string | null
theme
string
font
string
role
string
createdAt
string<date-time>