Get Many Users

Returns an array of users

GET https://api.alturanft.com/api/v2/user

You can add additional query parameters to filter documents by any property. i.e. ?name=Majd

Query Parameters

Name
Type
Description

page

Integer

The offset for returned users. Calculated as (page - 1) * perPage

(default: 1)

perPage

Integer

The number of users to return

(default: 24)

sortBy

String

The field to sort the users by (any field in the user schema may be used)

(default: name)

sortDir

String

Choose to sort in ascending (asc) or descending (desc) order

default: desc

{  
  "users": [
    {
      "address": "0xb13fbf9f1433539c2c7a299c0a49611a143a975c",
      "name": "NFT-Louvre",
      "bio": "The finest NFTs in the space.",
      "profilePic": "https://ipfs.io/ipfs/QmfZuvamA14VFxSUEfrwDLeLVzwntugNuJTs5H1hKXW7YG",
      "socialLink": "",
      "profilePicUrl": "https://altura-marketplace-1.s3.us-east-2.amazonaws.com/0xb13fbf9f1433539c2c7a299c0a49611a143a975c_089a054c-70ac-4ef1-a5c2-7ef8701e60f5.png"
    },
    {
      "address": "0xd4c100a4b5de2c845d413c225154bc5992518a82",
      "name": "NoName",
      "bio": "",
      "profilePic": "https://ipfs.io/ipfs/QmfZfA8o1kKSehW3NmDN2CxW4QKk9ddnKG3CKWxhf3WBvc",
      "socialLink": "",
      "profilePicUrl": "https://altura-marketplace-1.s3.us-east-2.amazonaws.com/0xd4c100a4b5de2c845d413c225154bc5992518a82_456b0b8e-a84f-435d-8a32-39b8b753016a.png"
    },
    {
      "address": "0xaf150c106f2d31b6619ab2b39b476dbfe341f1a0",
      "name": "Torrvull",
      "bio": "",
      "profilePic": "https://ipfs.io/ipfs/QmfZJ28STGSYupvhBovTKEoMDFBGKTQ25N9NUX8PBxzk9T",
      "socialLink": "",
      "profilePicUrl": "https://altura-marketplace-1.s3.us-east-2.amazonaws.com/0xaf150c106f2d31b6619ab2b39b476dbfe341f1a0_a1397475-13a7-4c3d-a2b3-cec902561745.png"
    }
  }
chevron-rightExample: get a user by usernamehashtag

/api/v2/user?name=AlturaNFT

Response

Last updated