Personalized - Direct Network API
OpenRank APIs for direct neighbors of a particular profile
Direct Network: Personalized Trust Graph
Discover the nearest neighbors social graph of a profile via Farcaster EOA or FIDs. You can choose direct neighbors based on the 'following' or 'engagement' strategy.
EOA = Externally Owned Account
FIDs = Farcaster Identities
Personalized Engagement by Address
Endpoint: /graph/neighbors/engagement/addresses
Parameters: an array of addresses in the request body and 2 optional parameters (k
, limit
) where k
is the degree (max 5) of separation and limit
is the number of rows to be returned (max 1000).
Example below using curl:
Personalized Engagement by Handle
Endpoint: /graph/neighbors/engagement/handles
Parameters: an array of handles and 2 optional parameters (k
, limit
).
Example below using curl:
Personalized Engagement Trust Graph by Farcaster ID (fid)
Endpoint: /graph/neighbors/engagement/fids
Parameters: an array of fids
and 2 optional parameters (k
, limit
).
Example below using curl:
Personalized Graph (Direct Network) API Documentation
Tryout the APIs here! — https://graph.castk3l.io/docs
Last updated