Gets information about an array of casts

farcasterCast.getCasts

Overview

Retrieve multiple casts using their respective hashes.

Parameters

name
type
required
Note

casts

string

true

ex) "0xfa6e2aad1b1cb8fd7037b93382c68264f77c00be,0x4e0451dc4fac217eaa39c86f3ae8b8c7174e2356"

viewer_fid

number

false

ex) 3

sort_type

string

false

"trending", "likes", "recasts", "replies" or "recent"

Usage

let res = await Lum0x.farcasterCast.getCasts({
    casts: "0xfa6e2aad1b1cb8fd7037b93382c68264f77c00be, 0x4e0451dc4fac217eaa39c86f3ae8b8c7174e2356",
    sort_type: "trending"
});
console.log(JSON.stringify(res, null, 2));

Response

Hash
Author
Text
Timestamp
Likes Count
Recasts Count
Replies Count
Embed URL
Embed Metadata

0x4e0451dc4fac217eaa39c86f3ae8b8c7174e2356

Lum0x

🌟 Introducing Lum0x: Illuminating the path for Farcaster Builders! 🌟 \nWe’re transforming Farcaster data into actionable intelligence, empowering developers to create the next groundbreaking Farcaster app. \n\nReady to supercharge your web3 journey? \nJust say the magic word - Lum0x. πŸͺ„ \nhttps://lum0x.com/

2024-06-28T04:50:29.000Z

6

0

0

Content Type: image/jpeg Content Length: 122578 Image Size: 800x600 px

0xfa6e2aad1b1cb8fd7037b93382c68264f77c00be

Lum0x

πŸ‘€βœ¨ Something luminous is coming to Farcaster... \n\nBuilders, are you ready to see your data in a whole new light?

2024-06-27T06:01:14.000Z

1

1

0

Content Type: image/jpeg Content Length: 169601 Image Size: 800x600 px

Field Description

  • Cast Hash: The unique hash value of the cast.

  • Thread Hash: The hash value of the thread containing the cast.

  • Parent Hash: The hash value of the parent cast (currently none).

  • Parent URL: The URL of the parent cast (currently none).

  • Root Parent URL: The URL of the root parent cast (currently none).

  • Parent Author: The author of the parent cast (currently none).

  • Author FID: The author's unique identifier (FID).

  • Custody Address: The author's wallet address.

  • Username: The author's username.

  • Display Name: The author's display name.

  • Profile Picture URL: The URL of the author's profile picture.

  • Bio: The author's introduction text.

  • Follower Count: The number of followers the author has.

  • Following Count: The number of people the author is following.

  • Verifications: The author's verification information (currently none).

  • Verified ETH Addresses: List of verified Ethereum addresses (currently none).

  • Verified SOL Addresses: List of verified Solana addresses (currently none).

  • Active Status: The author's activity status.

  • Text: The content of the cast.

  • Timestamp: The time when the cast was created.

  • Embeds URL: URL of the embedded image.

  • Likes Count: The number of likes on the cast.

  • Recasts Count: The number of recasts of the cast.

  • Likes: List of users who liked the cast.

  • Recasts: List of users who recast the cast.

  • Replies Count: The number of replies to the cast.

  • Channel: The channel containing the cast (currently none).

  • Mentioned Profiles: List of profiles mentioned in the cast (currently none).

Last updated