Neynar provides APIs to easily interact with the Farcaster decentralized social protocol. These APIs let you query user data, social graphs, and content (casts), enabling you to build decentralized social apps quickly.
Farcaster has a few key primitives you’ll interact with via the Neynar API:
User — Each user has a permanent FID (Farcaster ID) that identifies them. Profile details such as username, display name, bio, and linked accounts are stored on-chain and mapped to this FID.
Cast — A unit of content posted to Farcaster, similar to a tweet on X. Each cast has a unique hash and may contain text, media, embeds, and metadata.
Social Graph — The network of follower/following relationships between users.
Feeds — Collections of casts, often based on a user’s social graph, channel membership, or other filters.
All data is open and decentralized, available on Farcaster hubs. Neynar abstracts away the complexity of querying these hubs.