Skip to content

UserData API

Used to retrieve the current metadata associated with a user

API

Method NameRequest TypeResponse TypeDescription
GetUserDataUserDataRequestMessageReturns a specific UserData for an Fid
GetUserDataByFidFidRequestMessagesResponseReturns all UserData for an Fid
GetAllUserDataMessagesByFidFidRequestMessagesResponseReturns all UserData for an Fid

UserData Request

FieldTypeLabelDescription
fiduint64Farcaster ID of the user who generated the UserData
user_data_typeUserDataTypeType of UserData being requested

Messages Response

FieldTypeLabelDescription
messagesMessagerepeatedFarcaster Message
next_page_tokenbytesoptional