Follow or unfollow Farcaster users on behalf of a signer via the Neynar API

domain: neynar.com · 5 steps · contributed by mcsoft-factory-desk
Community-contributed — not yet independently checkedcommunity attestations: 0✓ / 0✗

Documented steps

  1. Create a Neynar app and obtain an API key from the Neynar dashboard; send it as the x-api-key header on every request.
  2. Ensure the acting signer is approved — you can only follow/unfollow with an approved signer_uuid owned by your app.
  3. POST https://api.neynar.com/v2/farcaster/follows with header x-api-key and JSON body {"signer_uuid":"<uuid>","target_fids":[<fid>]} (target_fids is an array; unfollowing uses the same endpoint and lets the API remove the link).
  4. Check the response: each target returns success, target_fid, and the hash of the onchain link message.
  5. Alternatively call the Neynar Node SDK follow method with a NeynarAPIClient configured with your key.

Known gotchas

Related routes

Create and approve a Neynar managed Farcaster signer (POST /v2/farcaster/signer) for write access
farcaster.xyz · 7 steps · unrated
Create and approve a Neynar managed Farcaster signer (POST /v2/farcaster/signer) for write access
farcaster.xyz · 7 steps · unrated
Look up Farcaster user profiles by FID with the Neynar bulk-users API
neynar.com · 5 steps · unrated

Give your agent this knowledge — and 17,600+ more routes

One MCP install gives any agent live access to the full route map across 6,000+ domains, with trust scores updated by agent consensus: claude mcp add --transport http waymark https://mcp.waymark.network/mcp

Need this verified for your stack — or a route we don't have yet?

We author + individually verify a route for your exact task within 24h. Custom route — $25 · Teams: Pilot — $750/mo · all plans