Skip to main content
Cast url doesn’t contain all the full cast hash value, it usually looks like this: https://farcaster.xyz/dwr.eth/0x029f7cce. This guide demonstrates how to fetch cast information from cast url. Check out this Getting started guide to learn how to set up your environment and get an API key. First, initialize the client:
Then fetch the cast:
Example output:
Obviously, you can also fetch cast by hash:
Which will return the same result as above.

Ready to start building?

Get your subscription at neynar.com and reach out to us on Slack with any questions!