Farcaster API
Cast by Hash
- API Keys
- Blog
- Community
Farcaster Development Kit
- Getting Started
- GETCast by Hash
- GETCasts
- POSTSend Cast
- DELDelete Cast
- POSTAdd Reaction to Cast
- DELDelete Reaction to Cast
- GETChannels List
- GETChannel By Name
- POSTFollow FID
- DELUnfollow FID
- GETUser By FID
- GETUsers
- Getting Started
- POSTSigners
- POSTRegister Signer with Warpcast
- POSTPoll Warpcast Signer
- GETGet Signers
Info
Casts
Reactions
Links
User Data
Username Proofs
Verifications
FIDs
Storage
Onchain API
Events
Dev Tools
Farcaster API
Farcaster Auth
Hub API Reference
Farcaster API
Cast by Hash
GET
/
casts
/
{hash}
Authorization
string
*
Bearer
Authorization
Required
string
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
hash
string
*
hash
Required
string
The full hash of the cast you want to fetch
Add Example Value
curl --request GET \
--url https://api.pinata.cloud/v3/farcaster/casts/{hash} \
--header 'Authorization: Bearer <token>'
{
"data": {
"fid": 324525,
"hash": "0xd3821c9019b42b40b5c173679093e7c19196e379",
"short_hash": "0xd3821c90",
"thread_hash": null,
"parent_hash": null,
"parent_url": null,
"root_parent_url": "https://farcaster.group/spanish",
"parent_author": null,
"author": {
"uid": 324523,
"fid": 324525,
"custody_address": "0x29b9603827ed446bd4e1d2dada0e5aa97e7a455b",
"recovery_address": "0x00000000fcb080a4d6c39a9354da9eb9bc104cd7",
"following_count": 116,
"follower_count": 349,
"verifications": [
"0xa5d7897e2779f7e5c5be699d41a7b42f9ce0a5c2"
],
"bio": "CryptoUsuario del Web3 y entusiasta DeFi.\n\nhttps://villawolf.eth.limo",
"display_name": "Villawolf 🎩",
"pfp_url": "https://i.imgur.com/bX5CFaN.jpg",
"username": "villawolf.eth"
},
"content": "Si eres Ethereum love 😍 como yo, esta web no debe faltar en tu cajita de herramientas https://ultrasound.money ETH 🚀🚀",
"timestamp": "2024-02-22T13:35:33Z",
"embeds": [
{
"url": "https://i.imgur.com/6CBzQaJ.png"
},
{
"url": "https://ultrasound.money"
}
],
"reactions": {
"likes": [
{
"fid": 7415,
"fname": "franklynr"
},
{
"fid": 329015,
"fname": "manry"
},
{
"fid": 10981,
"fname": "xxtarhxx"
}
],
"recasts": [
{
"fid": 7415,
"fname": "franklynr"
},
{
"fid": 329015,
"fname": "manry"
}
]
},
"replies": {
"count": 1
},
"mentioned_profiles": []
}
}
Authorizations
Authorization
string
headerrequiredBearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Path Parameters
hash
string
requiredThe full hash of the cast you want to fetch
Response
200 - application/json
The response is of type object
.
curl --request GET \
--url https://api.pinata.cloud/v3/farcaster/casts/{hash} \
--header 'Authorization: Bearer <token>'
{
"data": {
"fid": 324525,
"hash": "0xd3821c9019b42b40b5c173679093e7c19196e379",
"short_hash": "0xd3821c90",
"thread_hash": null,
"parent_hash": null,
"parent_url": null,
"root_parent_url": "https://farcaster.group/spanish",
"parent_author": null,
"author": {
"uid": 324523,
"fid": 324525,
"custody_address": "0x29b9603827ed446bd4e1d2dada0e5aa97e7a455b",
"recovery_address": "0x00000000fcb080a4d6c39a9354da9eb9bc104cd7",
"following_count": 116,
"follower_count": 349,
"verifications": [
"0xa5d7897e2779f7e5c5be699d41a7b42f9ce0a5c2"
],
"bio": "CryptoUsuario del Web3 y entusiasta DeFi.\n\nhttps://villawolf.eth.limo",
"display_name": "Villawolf 🎩",
"pfp_url": "https://i.imgur.com/bX5CFaN.jpg",
"username": "villawolf.eth"
},
"content": "Si eres Ethereum love 😍 como yo, esta web no debe faltar en tu cajita de herramientas https://ultrasound.money ETH 🚀🚀",
"timestamp": "2024-02-22T13:35:33Z",
"embeds": [
{
"url": "https://i.imgur.com/6CBzQaJ.png"
},
{
"url": "https://ultrasound.money"
}
],
"reactions": {
"likes": [
{
"fid": 7415,
"fname": "franklynr"
},
{
"fid": 329015,
"fname": "manry"
},
{
"fid": 10981,
"fname": "xxtarhxx"
}
],
"recasts": [
{
"fid": 7415,
"fname": "franklynr"
},
{
"fid": 329015,
"fname": "manry"
}
]
},
"replies": {
"count": 1
},
"mentioned_profiles": []
}
}