Skip to main content
This guide demonstrates how to use the Neynar SDK to get trending casts on Farcaster. 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 global trending Farcaster casts:
Example output:
To fetch the next page of the feed, use the cursor:
It’s that easy to get trending casts in Farcaster!

Ready to start building?

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