Skip to main content

GET /api/farcaster/cast/{hash}/reactions

Cast reactions (likes/recasts)

GET reactions data from farcaster service

Endpoint​

GET https://api.web3identity.com/api/farcaster/cast/{hash}/reactions

Parameters​

NameInTypeRequiredDescription
hashpathstringâś…Transaction or cast hash

Example Request​

curl -s "https://api.web3identity.com/api/farcaster/cast/:hash/reactions" | jq

Responses​

200 Success​

{
"hash": "0xabcdef1234567890",
"reactions": {
"likes": [
{
"fid": 456,
"username": "alice",
"timestamp": 1707393650
},
{
"fid": 789,
"username": "bob",
"timestamp": 1707393680
}
],
"recasts": [
{
"fid": 1011,
"username": "charlie",
"timestamp": 1707393700
}
]
},
"counts": {
"likes": 2,
"recasts": 1
}
}

400 Bad request - invalid parameters​

{
"example": "response"
}

402 Payment required​

404 Resource not found​

{
"example": "response"
}

429 Rate Limited​

{
"example": "response"
}

500 Internal Server Error - Something went wrong on our end​

{
"error": "Internal server error",
"code": "INTERNAL_ERROR"
}

Auto-generated from OpenAPI spec