How to Use the API
Below is an example query to retrieve a user by address. This query requires the address as a parameter and returns the user's ID (fid), username, profile picture URL (pfp_url), and associated addresses including protocol and address details.
query GetUsersByAddresses($address: String!) {
getUserByAddress(address: $address) {
fid
username
pfp_url
}
}Copy and paste the query into your GraphQL client to execute it, and you'll receive a response in JSON format with the user's details.