Skip to main content

Single NFT Holdings

Query individual NFTs owned by specific addresses, with detailed token information and filtering capabilities.

nftUsersTokens

Takes an array of addresses as input, with optional parameters for network, standard, and minEstimatedValueUsd. It returns comprehensive NFT holdings data including:

  • Individual NFT tokens owned
  • Balance and quantity information
  • Collection metadata
  • Current valuations
  • Ownership history
  • Media/trait details

Let's say you want to display all NFTs owned by a user or group of users. Start by passing the owners addresses you want to query. Then return details about each NFT including its collection information, mediasV3 for displaying images, and the current estimatedValue. You can filter results by network or minimum value, and use pagination with first and after arguments to load results in batches.

Example Variables

{
"owners": ["0x3d280fde2ddb59323c891cf30995e1862510342f" ],
"network": "ETHEREUM_MAINNET",
"first": 12
}

Example Query

query ($owners: [Address!]!, $network: Network, $first: Int) {
nftUsersTokens(owners: $owners, network: $network, first: $first) {
edges {
node {
id
tokenId
name
collection {
name
address
}
mediasV3 {
images {
edges {
node {
original
thumbnail
}
}
}
}
estimatedValue {
valueUsd
valueWithDenomination
denomination {
symbol
}
}
traits {
attributeName
attributeValue
}
}
ownedAt
balances {
balance
account {
address
}
}
}
pageInfo {
hasNextPage
endCursor
}
}
}

Example Response

{
"data": {
"nftUsersTokens": {
"edges": [
{
"node": {
"id": "TmZ0VG9rZW4tNzE5MDk1MjA=",
"tokenId": "1465",
"name": "CryptoPunk #1465",
"collection": {
"name": "CryptoPunks",
"address": "0xb47e3cd837ddf8e4c57f05d70ab865de6e193bbb"
},
"mediasV3": {
"images": {
"edges": [
{
"node": {
"original": "https://zapper.xyz/z/images/?url=https%3A%2F%2Fstorage.googleapis.com%2Fzapper-fi-assets%2Fnfts%2Fmedias%2F4c7216792992be283dd9c65376998b1265b6a1ea1ee127ed55338ef0c0e119dd.png&checksum=c4bb5",
"thumbnail": "https://zapper.xyz/z/images/?url=https%3A%2F%2Fstorage.googleapis.com%2Fzapper-fi-assets%2Fnfts%2Fmedias%2F4c7216792992be283dd9c65376998b1265b6a1ea1ee127ed55338ef0c0e119dd.png&width=100&checksum=31551"
}
}
]
}
},
"estimatedValue": {
"valueUsd": 168069.32980255378,
"valueWithDenomination": 43.374677,
"denomination": {
"symbol": "ETH"
}
},
"traits": [
{
"attributeName": "accessory",
"attributeValue": "Mohawk Dark"
},
{
"attributeName": "accessory",
"attributeValue": "Regular Shades"
},
{
"attributeName": "type",
"attributeValue": "Male"
},
{
"attributeName": "accessory",
"attributeValue": "Cigarette"
}
]
},
"ownedAt": null,
"balances": [
{
"balance": "1",
"account": {
"address": "0x3d280fde2ddb59323c891cf30995e1862510342f"
}
}
]
},
{
"node": {
"id": "TmZ0VG9rZW4tNjc1MjE4ODY=",
"tokenId": "45",
"name": "#38 The Toper",
"collection": {
"name": "Des Monsters",
"address": "0xe386be399846782a355a2afb6e4c6bf44351cc25"
},
"mediasV3": {
"images": {
"edges": [
{
"node": {
"original": "https://zapper.xyz/z/images/?url=https%3A%2F%2Fstorage.googleapis.com%2Fzapper-fi-assets%2Fnfts%2Fmedias%2F64e27a4f85d918098a6d7e5a459ddd2bfdc4bf606550264be36c3a0ee7e5f5af.gif&checksum=1670f",
"thumbnail": "https://zapper.xyz/z/images/?url=https%3A%2F%2Fstorage.googleapis.com%2Fzapper-fi-assets%2Fnfts%2Fmedias%2F64e27a4f85d918098a6d7e5a459ddd2bfdc4bf606550264be36c3a0ee7e5f5af.gif&width=100&checksum=2ff90"
}
}
]
}
},
"estimatedValue": {
"valueUsd": 17436.717375705,
"valueWithDenomination": 4.5,
"denomination": {
"symbol": "ETH"
}
},
"traits": []
},
"ownedAt": null,
"balances": [
{
"balance": "1",
"account": {
"address": "0x3d280fde2ddb59323c891cf30995e1862510342f"
}
}
]
},
}
}
}
Try in sandbox

Arguments

ArgumentDescriptionTypeRequired
ownersArray of addresses to query NFTs for[Address!]!Yes
networkFilter NFTs by specific networkNetworkNo
minEstimatedValueUsdMinimum USD value threshold for NFTsFloatNo
searchSearch string to filter NFTsStringNo
collectionIdsArray of specific collection IDs to include[ID!]No
standardFilter by NFT standard (ERC721/ERC1155)NftStandardNo
onlyHiddenShow only hidden NFTsBooleanNo
firstNumber of NFTs to return (default: 24)IntNo
afterCursor for paginationStringNo
withOverridesInclude value overridesBooleanNo

Fields

NftUserTokenConnection

FieldDescriptionType
edgesArray of NFT edges[NftUserTokenEdge!]!
pageInfoPagination informationPageInfo!

NftToken (node)

FieldDescriptionType
idUnique identifierID!
tokenIdToken ID within collectionString!
nameToken nameString!
descriptionToken descriptionString
supplyTotal token supplyBigDecimal!
circulatingSupplyCirculating supplyBigDecimal!
holdersCountNumber of token holdersBigDecimal!
socialLinksSocial media links[SocialLink!]!
collectionParent collection dataNftCollection!
traitsToken attributes[NftTrait!]!
mediasV2Legacy media assets[NftMediaV2!]!
mediasV3Current media assetsNftMedias!
estimatedValueCurrent value estimateNftValueDenomination
lastSaleLast sale detailsNftValueDenomination
rarityRankToken rarity ranking (deprecated)Int
lastSaleEthLast sale in ETH (deprecated)BigDecimal
estimatedValueEthEstimated value in ETH (deprecated)BigDecimal
isHiddenHidden statusBoolean!

Enums

enum NftValuationStrategy {
TOP_OFFER
ESTIMATED_VALUE
OVERRIDE
}

Notes

  • Supports pagination for handling large NFT collections
  • Filter by network, value, and NFT standard
  • Returns comprehensive token metadata including estimated values
  • Includes ownership information and acquisition dates
  • Supports both ERC721 and ERC1155 tokens