Skip to main content
GET
/
user
/
profile
cURL
curl --request GET \
  --url https://our-secret-api-url.com/user/profile
{
  "id": 123,
  "username": "<string>",
  "name": "<string>",
  "image": "<string>",
  "bio": "<string>",
  "verifiedAt": "2023-11-07T05:31:56Z",
  "follower": 123,
  "following": 123,
  "currentlyFollowing": true
}
This API is useful if you are fetching the user’s public profile at /username page.

Query Parameters

username
string
required

The username of the user

Response

object | null

The user's profile details.

id
integer

User ID

username
string

Username of the user

name
string

Name of the user

image
string

Profile image URL

bio
string | null

Biography of the user

verifiedAt
string<date-time> | null

Verification timestamp if the user is verified

follower
integer

Number of followers

following
integer

Number of users the user is following

currentlyFollowing
boolean

Whether the current user is following this user