Overview
In this section, you’ll find all the information you need to query data from the CyberConnect Protocol.
GraphQL API
You can access a variety of data about users, their identities, and their connections by using the GraphQL API. From NFT ownership to customizable recommendations for new connections, you can extract data with a simple query and start building meaningful social experiences for your users from here.
Method | Description |
---|---|
identity | This method returns a user’s identity information including their followers, followings, friends, Twitter handle, avatar, etc. |
connections | This method returns a list of connection details between a given address and a list of other addresses. |
recommendations | This method returns a list of a user’s potential connections based on a variety of recommendation algorithms weighted by factors such as their connections and assets. |
nftOwners | This method takes in an NFT contract address and token ID as input and returns its owner’s identity information. |
rankings | This method returns a list of ranked users based on their follower count. |
REST API
You can access a variety of data about user profiles and avatars on Ethereum by using the REST API.
Method | Description |
---|---|
profile | This method takes in an Ethereum address or ENS name as input and returns its profile metadata information. |
avatar | This method takes in an Ethereum address or ENS name as input and returns its avatar. |
How does it work?
The indexer layer of the CyberConnect Protocol collects on-chain data from blockchain networks (e.g. Ethereum, Solana) as well as off-chain data from IPFS and web2 social platforms. The indexer then transforms and stores the raw data into graph databases. Developers can access the data and customize their queries using the GraphQL API. Read more about the CyberConnect Indexer and its technical architecture.