Airstack provides an AI solution for you to build GraphQL queries to fulfill your use case easily. You can find the AI prompt of each query in the demo's caption or title for yourself to try.
Common Followers of Multiple User(s)
You can get the list of common followers of multiple users by providing either 0x addresses, ENS names, Lens profiles, or Farcasters:
{"data": {"SocialFollowings": {"Following": [ {"followingAddress": {"socialFollowings": {"Following": [ {"followingAddress": {"socials": [ {"fnames": ["nickcherry" ],"profileName":"nickcherry",// is followed by betashop.eth and ipeciura"userId":"145","userAssociatedAddresses": ["0x1692101d7b84bf8ed8d828e44e55a8ca9a242bc4","0x3a8a1f045cd4f7246c6b3a78861269cc6065433a" ] } ] } } ] } } }, {"followingAddress": {"socialFollowings": {"Following": [] // Followed by betashop.eth, but isn't followed by ipeciura } } } ] } }}
Followers of User X That Also Following User Y
You can get the list of followers of user X, e.g. betashop.eth, that also is followed by user Y, e.g. ipeciura.eth, by providing either 0x addresses, ENS names, Lens profiles, or Farcasters:
{"data": {"SocialFollowers": {"Follower": [ {"followerAddress": {"socialFollowings": {"Following": [ {"followingAddress": {"socials": [// Follower of betashop.eth and is followed by ipeciura.eth {"fnames": ["rish" ],"profileName":"rish","profileTokenId":"194","profileTokenIdHex":"0x0c2","userId":"194","userAssociatedAddresses": ["0xb43a7cc909d842721c288ff90b03e511a78a4a8d","0xe9e261852ea62150eee685807df8fe3f211310a0","0x5a927ac639636e534b678e81768ca19e2c6280b7" ] }, {"fnames":null,"profileName":"lens/@rishm","profileTokenId":"117299","profileTokenIdHex":"0x01ca33","userId":"0x5a927ac639636e534b678e81768ca19e2c6280b7","userAssociatedAddresses": ["0x5a927ac639636e534b678e81768ca19e2c6280b7" ] }, {"fnames":null,"profileName":"lens/@rishavmukherji","profileTokenId":"106198","profileTokenIdHex":"0x019ed6","userId":"0x5a927ac639636e534b678e81768ca19e2c6280b7","userAssociatedAddresses": ["0x5a927ac639636e534b678e81768ca19e2c6280b7" ] } ] } } ] } } }, {"followerAddress": {"socialFollowings": {"Following": [] // follower of betashop, but isn't followed by ipeciura.eth } } } ] } }}
Following of User X That Also Follows User Y
You can get the list of following of user X, e.g. betashop.eth, that also follows user Y, e.g. ipeciura.eth, by providing either 0x addresses, ENS names, Lens profiles, or Farcasters:
{"data": {"SocialFollowings": {"Following": [ {"followingAddress": {"socialFollowers": {"Follower": [ {"followerAddress": {"socials": [// is followed by betashop.eth and follows ipeciura.eth {"fnames":null,"profileName":"lens/@vishwa","profileTokenId":"100439","profileTokenIdHex":"0x018857","userId":"0x090f9b693b6b6d8213bc463235bddc65553c078f","userAssociatedAddresses": ["0x090f9b693b6b6d8213bc463235bddc65553c078f" ] }, {"fnames": ["vishwa" ],"profileName":"vishwa","profileTokenId":"7701","profileTokenIdHex":"0x01e15","userId":"7701","userAssociatedAddresses": ["0xe124b0590daa563746d86e3a810545c0e798136a","0x090f9b693b6b6d8213bc463235bddc65553c078f" ] } ] } } ] } } }, {"followingAddress": {"socialFollowers": {"Follower": [] // is followed by betashop.eth, but does not follow ipeciura.eth } } } ] } }}
Mutual Follows of A User
You can get the mutual follows of a user using the same query as Followers of User X That Also Following User Y, where in this case X is equals to Y, e.g. betashop.eth: