Skip to content

Reactions API

API

Method NameRequest TypeResponse TypeDescription
GetReactionReactionRequestMessageReturns a specific Reaction
GetReactionsByFidReactionsByFidRequestMessagesResponseReturns Reactions made by an Fid in reverse chron order
GetReactionsByCastReactionsByCastRequestMessagesResponseReturns ReactionAdds for a given Cast in reverse chron order
GetReactionsByTargetReactionsByTargetRequestMessagesResponseReturns ReactionAdds for a given Cast in reverse chron order
GetAllReactionMessagesByFidFidRequestMessagesResponseReturns Reactions made by an Fid in reverse chron order

Reaction Request

Used to retrieve valid or revoked reactions

FieldTypeLabelDescription
fiduint64Farcaster ID of the user who generated the Reaction
reaction_typeReactionTypeType of the Reaction being requested
target_cast_idCastId(optional) Identifier of the Cast whose reactions are being requested
target_urlstring(optional) Identifier of the Url whose reactions are being requested

ReactionsByFid Request

FieldTypeLabelDescription
fiduint64Farcaster ID of the user who generated the Reaction
reaction_typeReactionTypeType of the Reaction being requested
page_sizeuint32(optional) Type of the Link being requested
page_tokenbytes(optional)Type of the Link being requested
reverseboolean(optional) Ordering of the response

ReactionsByCast Request

FieldTypeLabelDescription
cast_idCastIdIdentifier of the Cast whose reactions are being requested
reaction_typeReactionTypeType of the Reaction being requested
page_sizeuint32(optional) Type of the Link being requested
page_tokenbytes(optional)Type of the Link being requested
reverseboolean(optional) Ordering of the response

ReactionsByTargetRequest

FieldTypeLabelDescription
target_cast_idCastId
target_urlstring
reaction_typeReactionTypeoptional
page_sizeuint32optional
page_tokenbytesoptional
reversebooloptional