v1
latestOpenAPI 3.0.42026-07-26159287356.1 KBReactions
By FID or cast
Lookup a reaction by its FID or cast.
get/v1/reactionById
Query parameters
fidinteger required
The FID of the reaction's creator
target_fidinteger required
The FID of the cast's creator
target_hashstring required
The cast's hash
reaction_type'Like' | 'Recast' required
Type of interaction a user can have with content on the Farcaster network.
- Like: Express appreciation for the target content. Similar to "likes" or "favorites" on other platforms.
- Recast: Share the target content with the user's followers, similar to a "retweet" or "reblog". Helps increase content visibility.
Example:Like
Response
The requested Reaction.
Example response
{
"hash": "0xd2b1ddc6c88e865a33cb1a565e0058d757042974",
"data": {
"fid": 2,
"timestamp": 48994466,
"reactionBody": {
"type": "Like",
"targetCastId": {
"fid": 2,
"hash": "0x03aff391a6eb1772b20b4ead9a89f732be75fe27"
},
"targetUrl": "https://www.example.com/article"
}
}
}