v1

latestOpenAPI 3.0.42026-07-26159287356.1 KB
Reactions

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.

hashstring required
hashScheme'HASH_SCHEME_BLAKE3' required

Type of hashing scheme used to produce a digest of MessageData. - HASH_SCHEME_BLAKE3: Default scheme for hashing MessageData

signaturestring byte required
signatureScheme'SIGNATURE_SCHEME_ED25519' | 'SIGNATURE_SCHEME_EIP712' required

Type of signature scheme used to sign the Message hash

  • SIGNATURE_SCHEME_ED25519: Ed25519 signature (default)
  • SIGNATURE_SCHEME_EIP712: ECDSA signature using EIP-712 scheme
signerstring required

Example response

{
  "hash": "0xd2b1ddc6c88e865a33cb1a565e0058d757042974",
  "data": {
    "fid": 2,
    "timestamp": 48994466,
    "reactionBody": {
      "type": "Like",
      "targetCastId": {
        "fid": 2,
        "hash": "0x03aff391a6eb1772b20b4ead9a89f732be75fe27"
      },
      "targetUrl": "https://www.example.com/article"
    }
  }
}