cURL
curl --request GET \ --url https://api.neynar.com/v2/farcaster/user/best_friends/ \ --header 'x-api-key: <api-key>'
{ "users": [ { "fid": 123, "mutual_affinity_score": 123, "username": "<string>" } ], "next": { "cursor": "<string>" } }
Returns the best friends of a user ranked by mutual affinity score based on interactions with each other.
API key to authorize requests
The FID of the user
x >= 1
Number of results to fetch
1 <= x <= 100
5
Pagination cursor
Success
Show child attributes
Returns next cursor
Was this page helpful?