Skip to main content

Search users

Explore users on Kalao

Information

You would have to use the search query with the below parameters :

  • Target is artists,

  • The optional pagination parameter,

  • You may want to add optional keywords parameter.

See the input parameters for more options.

You can request any user information, such as the name, address, a description, avatar, and much more.

Graphql Example

Request

query SearchUsers() {
search(
input: {target: artists}
pagination: {page: 1, size: 4}
) {
hasMore
artists {
address
name
avatar
certified
banner
}
}
}

Example Parameters

None
With CURL
curl -X POST -H 'content-type: application/json' \
-d '{"query":"query SearchUsers() {\n search(input: {\n target: artists\n }\n pagination: {\n page: 1\n size: 3\n }) {\n hasMore\n artists {\n address\n name\n avatar\n certified\n banner\n }\n }\n }","operationName":"SearchUsers"}' \
https://public-api.dev.kalao.io/query

Response

{
"data": {
"search": {
"hasMore": true,
"artists": [
{
"address": "0x2468ce7d3545504f80c742df251264b1dbeee213",
"name": "Tom",
"avatar": "https://storage.kalao.io/assets-v2/default-avatar.png",
"certified": true,
"banner": "https://storage.googleapis.com/beta-kalao/users/0x2468ce7d3545504f80c742df251264b1dbeee213/cover"
},
{
"address": "0xd5de5a673c2fafefbbe942b6a9cbd30599d65ec4",
"name": "Roger is Back",
"avatar": "https://storage.googleapis.com/beta-kalao/users/0xd5de5a673c2fafefbbe942b6a9cbd30599d65ec4/avatar_1666004118",
"certified": true,
"banner": "https://storage.googleapis.com/beta-kalao/users/0xd5de5a673c2fafefbbe942b6a9cbd30599d65ec4/cover_1666367630"
},
{
"address": "0x26acae237d5b2ab062faf58508cf638547b7233a",
"name": "K4RL M@RX 🛠️",
"avatar": "https://storage.googleapis.com/beta-kalao/users/0x26acae237d5b2ab062faf58508cf638547b7233a/avatar_1666003763",
"certified": true,
"banner": "https://storage.googleapis.com/beta-kalao/users/0x26acae237d5b2ab062faf58508cf638547b7233a/cover_1666003745"
}
]
}
}
}