GET
/
api
/
holders
curl --location --request POST 'https://groupos.xyz/api/holders?contractAddresses=[0xba767d65a7164e151783e42994bd475509f256dd]' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer <token>'
{
  "success": true,
  "holders": [
    {
      "holderAddress": "0x016562aA41A8697720ce0943F003141f5dEAe006",
      "collections": [
        {
          "type": "erc721",
          "name": "Station Contributor Passport",
          "symbol": "STATION",
          "ownerSince": 1650449340,
          "balance": "1",
          "nfts": [
            {
              "ownerSince": 1650449340,
              "tokenId": "69",
              "name": "",
              "description": "",
              "mediaUrl": "",
              "externalUrl": "",
              "traits": []
            }
          ]
        },
        {
          "type": "erc20",
          "name": "Station Reputation",
          "symbol": "STATIONⓇ",
          "ownerSince": 1650449340,
          "balance": "420.69",
          "nfts": []
        }
      ]
    }
  ]
}

Query Params

contractAddresses
string[]
required

The NFT smart contract addresses.

Response

success
boolean

Indicates whether the call was successful.

holders
Holder[]

Array of Holder objects.