This guide provides a step-by-step approach to fetching token balances for a user using their Farcaster FID via the Neynar API.
/farcaster/user/balance
GET
fid
(required): The Farcaster FID of the user.networks
(required): A comma-separated list of networks to fetch balances for. Currently, only “base” is supported.Initialize the Neynar Client
Fetch User Balances
fetchUserBalance
method to retrieve the token balances for a user by their FID.