Represents a user profile.

Main fields

These are always returned.

id
integer (positive)

Unique (within the server) identifier for this user.

first_name
string

User’s first name.

last_name
string

User’s last name.

deactivated
enum

For restricted users, their restriction status. If this is set, none of the optional fields will be returned.

  • banned – The user’s account is frozen or suspended.
  • deleted – The user has deleted their own profile.
  • hidden – The server staff made this profile only visible to authenticated users.
ap_id
string

Globally unique ActivityPub identifier for this user. Use this to match users across servers.

Optional fields

Unless otherwise noted, request these by passing them in fields to any method that returns user objects.

domain
string

For a user from a remote server, the domain of their home server.

screen_name
string

The profile URL a.k.a. the username. If the user doesn’t have one set, defaults to idXXX.

status
string

The status string, the one that’s displayed under the user’s name on the web.

url
string

The URL of this user’s profile page on the web. For remote users, this points to their home server.

nickname
string

User’s nickname of middle name.

maiden_name
string

User’s maiden name.

sex
enum

User’s preferred grammatical gender, to choose pronouns in strings that refer to them.

  • female – she/her
  • male – he/him
  • other – they/them
birth_date
string

User’s birth date as DD.MM.YYYY.

home_town
string

User’s hometown.

relation
enum

User’s relationship status.

  • actively_searching – Actively searching
  • complicated – It’s complicated
  • engaged – Engaged
  • in_love – In love
  • in_relationship – In a relationship
  • married – Married
  • single – Single
relation_partner
object

User’s relationship partner. Returned when relation field is requested.

id
integer (positive)

Partner’s ID.

first_name
string

Partner’s first name.

last_name
string

Partner’s last name.

custom
array of objects

User-defined profile fields that some fediverse software like Mastodon allows specifying.

name
string

The field name specified by the user.

value
string

The field value as HTML.

city
string

User’s current city.

matrix
string

User’s Matrix username. Request by passing connections.

xmpp
string

User’s XMPP/Jabber handle. Request by passing connections.

telegram
string

User’s Telegram username. Request by passing connections.

signal
string

User’s Signal username or URL. Request by passing connections.

twitter
string

User’s Twitter username. Request by passing connections.

instagram
string

User’s Instagram username. Request by passing connections.

facebook
string

User’s Facebook username. Request by passing connections.

vkontakte
string

User’s VKontakte username. Request by passing connections.

snapchat
string

User’s Snapchat username. Request by passing connections.

discord
string

User’s Discord username. Request by passing connections.

git
string

User’s GitHub, GitLab, or other Git forge URL. Request by passing connections.

mastodon
string

User’s Mastodon username. Request by passing connections.

pixelfed
string

User’s Pixelfed username. Request by passing connections.

phone_number
string

User’s phone number. Request by passing connections.

email
string

User’s email address. Request by passing connections.

site
string

User’s personal website.

activities
string

User’s activities.

interests
string

User’s interests.

music
string

User’s favorite music.

movies
string

User’s favorite movies.

tv
string

User’s favorite TV shows.

books
string

User’s favorite books.

games
string

User’s favorite games.

quotes
string

User’s favorite quotes.

about
string

User’s about field as HTML.

personal
object

User’s personal views.

political
enum

Political views.

Possible values: apathetic, communist, socialist, moderate, liberal, conservative, monarchist, ultraconservative, libertarian.

religion
string

Religious views.

inspired_by
string

Sources of inspiration.

people_main
enum

What this user considers important in others.

Possible values: intellect_creativity, kindness_honesty, health_beauty, wealth_power, courage_persistence, humor_life_love.

life_main
enum

What this user considers personal priority.

Possible values: family_children, career_money, entertainment_leisure, science_research, improving_world, personal_development, beauty_art, fame_influence.

smoking
enum

Views on smoking.

Possible values: very_negative, negative, tolerant, neutral, positive.

alcohol
enum

Views on alcohol.

Possible values: very_negative, negative, tolerant, neutral, positive.

online
boolean

Whether the user is currently online.

online_mobile
boolean

Whether the user is currently online from a mobile device. Request by passing online.

last_seen
object

If the user is currently offline, information about when they were last online.

time
integer

Last seen time as unixtime.

platform
enum

What kind of device the user last used to go online. TODO API online status

Possible values: desktop, mobile.

blocked
boolean

Whether the current user is blocked by this user.

blocked_by_me
boolean

Whether this user is blocked by the current user.

can_send_friend_request
boolean

If true, you can send a friend request to this user. If false, you can only follow them.

can_post
boolean

Whether the current user can post on this user’s wall.

can_see_all_posts
boolean

Whether the current user is allowed see all posts on this user’s wall, or only this user’s own posts.

can_write_private_message
boolean

Whether the current user is allowed send private messages to this user.

mutual_count
integer (non-negative)

The number of mutual friends between this user and the current user.

is_friend
boolean

Whether this user and the current user are friends.

friend_status
enum

The relationship between this user and the current user.

  • follow_requested – Only for remote users – current user tried to follow this user, but their server hasn’t yet accepted that request
  • followed_by – This user is following the current user
  • following – Current user is following this user
  • friends – Users are friends (they follow each other)
  • none – No relationship
is_favorite
boolean

Whether this user is in the current user’s bookmarks. Requires the likes:read permission.

lists
array of integers

The current user’s friend list IDs that this user is in. Private lists are excluded unless the token has the friends:read permission.

is_hidden_from_feed
boolean

Whether this user is hidden from the current user’s friends news feed.

is_no_index
boolean

Whether this user prefers their profile to not be indexed by search engines.

wall_default
enum

How this user’s wall should be displayed by default.

  • all – All posts
  • owner – Only their own posts
photo_50
string

URL of a square 50x50 version of the profile picture.

photo_100
string

URL of a square 100x100 version of the profile picture.

photo_200
string

URL of a square 200x200 version of the profile picture.

photo_400
string

URL of a square 400x400 version of the profile picture.

photo_200_orig
string

URL of a rectangular 200px wide version of the profile picture.

photo_400_orig
string

URL of a rectangular 400px wide version of the profile picture.

photo_id
string

If this user has a “profile pictures” system photo album, ID of the photo used for the current profile picture in that album.

first_name_{case}
string

First name inflections for Slavic languages. Values for case: nom – именительный, gen – родительный, dat – дательный, acc – винительный, ins – творительный, abl – предложный.

last_name_{case}
string

Last name inflections for Slavic languages. Values for case: nom – именительный, gen – родительный, dat – дательный, acc – винительный, ins – творительный, abl – предложный.

nickname_{case}
string

Middle name inflections for Slavic languages. Values for case: nom – именительный, gen – родительный, dat – дательный, acc – винительный, ins – творительный, abl – предложный.