Skip to main content

/getprofile

This endpoint returns a user's public profile information.

Endpoint Details

PropertyValue
URL/getprofile
MethodGET
AuthenticationNone
DescriptionRetrieves the public profile information for a user

Request Parameters

ParameterTypeRequiredDescription
target_uuidstringYesThe unique identifier of the user you want to view
viewer_uuidstringNoThe unique identifier of your user (friends true or false)

Response Format

FieldTypeDescription
usernamestringThe user's display name
uuidstringThe unique identifier of the user
profilepicturestringURL to the user's profile picture
profilebannerstringURL to the user's profile banner image
profilemusicstringURL to the user's profile music file
biostringUser's biography or description
user_statusstringCurrent status message set by the user
join_datestringDate when the user joined the platform
last_activestringWhen the user was last active on the platform
astrabit_balancenumberUser's current Astrabit balance
item_countnumberNumber of items the user has
friendsarrayList of the user's friends with details
friend_requestsarrayList of pending friend requests
pending_friendsarrayList of sent friend requests
profile_itemsarrayList of profile items with content, icon and title
handlerstringThe handler that processed the request
messagestringDescription of the request result
statusstringOverall status of the request (success/error)
titlestringTitle of the response

Example Request

GET /getprofile?target_uuid=12345&viewer_uuid=12345

Example Response

{
"handler": "getPublicProfile",
"message": "Profile retrieved successfully",
"profile": {
"astrabit_balance": 1935,
"bio": "Literally just coding all the time... meow meow meow meow ",
"friend_requests": [
{
"added_time": "April 11, 2025 17:10:08",
"profilepicture": "https://access.cdn.astrakit.cc/profiles-cdn/pfp-8db4a818-06c7-4e22-8629-065622358082.jpg",
"username": "femboy",
"uuid": "8db4a818-06c7-4e22-8629-065622358082"
}
],
"friends": [
{
"added_time": "April 5, 2025 15:33:20",
"profilepicture": "https://access.cdn.astrakit.cc/profiles-cdn/pfp-e6b2d4f8-22d9-4ace-a84c-2de087df1e54.jpg",
"username": "catpawzz",
"uuid": "e6b2d4f8-22d9-4ace-a84c-2de087df1e54"
}
],
"item_count": 6,
"join_date": "30/03/2025",
"last_active": "Active 1 hour ago",
"pending_friends": [],
"profile_items": [
{
"content": "https://astrakit.cc",
"icon": "favorite",
"title": "Our website"
},
{
"content": "meow",
"icon": "info",
"title": "meow"
}
],
"profilebanner": "https://access.cdn.astrakit.cc/profiles-cdn/banner-c15b497a-8831-4501-9ed5-d9ba2fc7833c.png",
"profilemusic": "https://access.cdn.astrakit.cc/creator-cdn/catpawzz/music/ac.mp3",
"profilepicture": "https://access.cdn.astrakit.cc/profiles-cdn/pfp-c15b497a-8831-4501-9ed5-d9ba2fc7833c.jpg",
"user_status": "meow meow nyahhhhhhhhh~",
"username": "astrakit",
"uuid": "c15b497a-8831-4501-9ed5-d9ba2fc7833c"
},
"status": "success",
"title": "Success"
}