Socials API
Learn all the detailed references of Socials API that provide a given user's web3 social information, including the input filters, supported chains, and output fields.
The Socials APIs deliver on-chain and off-chain user-level data pertaining to users on the Farcaster network.
Inputs
filter
Name | Type | Description |
---|---|---|
|
| Social DApp name â farcaster |
|
| Social DApp slug (contract version) âfarcaster_optimism, farcaster_goerli |
|
| Total number of followers |
|
| Total number of followings |
|
| Identity: blockchain address, domain name, social identity |
|
| True/false if the profile is set to default on the corresponding dApp |
|
| Profile name on the social app (prefix not required) |
|
| Filter by social capital rank of a user. |
|
| Filter by social capital score of a user. |
|
| Last timestamp when Lens/Farcaster profile was updated |
|
| Any associated Wallet address |
|
| user ID on the social app (prefix not required) |
|
| block timestamp when Lens/Farcaster profile was created |
blockchain
For Socials API, it will return Farcaster data from all onchain and offchain sources, not specifically Ethereum.
You just need to specify the input for the query to work.
Enum | Description |
---|---|
| Ethereum mainnet |
order
Name | Description |
---|---|
| Sort by Farcaster profile's farrank. |
| Sort by Farcaster profile's farcaster score. |
| Sort by the number of users following the Farcaster profile in ascending or descending order. |
| Sort by the number of users being followed by the Farcaster profile in ascending or descending order. |
| Sort by Farcaster profile creation block timestamp in ascending or descending order. |
| Sort by Farcaster profile's social capital rank. |
| Sort by Farcaster profile's social capital score. |
| Sort by Farcaster profile last update timestamp in ascending or descending order. |
Outputs
Name | Type | Description |
---|---|---|
|
| Blockchain associated with the social identity |
|
| Unique identifier for the blockchain |
|
|
|
|
| Social DApp slug (contract version) with these values: |
|
| Airstack unique dapp version number |
| The Farcaster score and rank details associated with the Farcaster user.
Keep in mind that the Farscores returned in this field is non-real time.
If you are searching for real-time FarScores, then check out | |
|
| Farcaster names of a user, there could be more than one |
|
| Total number of followers |
|
| |
| Nested query - list of all followers on Farcaster | |
|
| Total number of followings |
| Nested query â list of all followings on Farcaster | |
|
| Airstack unique identifier for the data point |
|
| Blockchain address, ENS domain name, social identity such as Farcaster (for Farcaster use 'fc_fid:' prefix followed by the Farcaster user ID like fc_fid:5650, or use 'fc_fname:' prefix followed by the Farcaster user ID like 'fc_fname:vbuterin') |
|
| Always |
|
| Block number when the social profile was created. |
|
| Timestamp when the social profile was created. |
|
| Block number when the social profile was last updated. |
|
| Timestamp when the social profile was last updated. |
|
| Social profile bio on Farcaster. |
|
| Social profile display name on Farcaster. |
|
| Link to Social profile image. |
|
| Social profile URL. |
|
| Farcaster profile name (fname primarily used). |
|
| The IdRegistry contract address on Optimism. |
|
| The user's FID. |
|
| Return the hex value of |
|
| Token URI of Lens Profile NFT. For Farcaster, this will return empty string. |
| The real-time FarScore details of the Farcaster users. | |
| Farcaster user's social capital score. | |
|
| Timestamp when the social profile was last updated. |
| Nested Queries â Wallet details of custody address from | |
| Nested Queries â Wallet details of all associated addresses from | |
|
| User's custody address. |
|
| All addresses associated with the social profiles.
For Farcaster, it will return both the custody and connected addresses.
If you are only fetching connected addresses, use |
|
| Block number when the social profile was created. |
|
| Timestamp when the social profile was created. |
|
| Social Profile Home URL. |
|
| For Farcaster, it's the user's FID. |
|
| Block number when the social profile was last updated. |
|
| Timestamp when the social profile was last updated. |
|
| Farcaster user's recovery address. |
|
| Empty string. (Legacy Feature) |
|
| Empty string. (Legacy Feature) |
|
| Empty string. (Legacy Feature) |
|
| LEmpty string. (Legacy Feature) |
|
| URI to the cover image of a social profile. |
| Nested Query â provide details on a user's smart allowances. | |
|
| Empty string. (Legacy Feature) |
|
| Social profile's website. |
|
| Social profile's location. |
|
| Nested Query â resized profile images. |
|
| Nested Query â resized cover images. |
|
| For Farcaster, this is equivalent to |
Last updated