Skip to main content

NFT Collection Details

Surfaces information about any ERC721 or ERC1155 NFT collection.

nftCollections

Takes an array of collections input containing address and network information. Returns detailed collection data including:

  • Collection metadata
  • Floor price and statistics
  • Token standards and supply
  • Social links and images
  • Trait information

Example Use Case: Collection Details

Query the NFT collection details by passing the collection address and network. This returns key information about the collection including metadata, pricing, and holder statistics.

Example Variables

{
"collections": [
{
"collectionAddress": "0xa449b4f43d9a33fcdcf397b9cc7aa909012709fd",
"network": "BASE_MAINNET"
}
]
}

Example Query

query NftCollections($collections: [NftCollectionInput!]!) {
nftCollections(collections: $collections) {
name
description
network
nftStandard
supply
holders {
totalCount
}
floorPrice {
valueUsd
}
topOfferPrice {
valueUsd
}
medias {
logo {
url
}
}
socialLinks {
name
url
}
}
}

Example Response

{
"data": {
"nftCollections": [
{
"name": "onchain gaias",
"description": "https://warpcast.com/~/channel/ogs",
"network": "BASE_MAINNET",
"nftStandard": "ERC_721",
"supply": "5222",
"holders": {
"totalCount": 2388
},
"floorPrice": {
"valueUsd": 2421.565563951965
},
"topOfferPrice": {
"valueUsd": 2271.5367039448
},
"medias": {
"logo": {
"url": "https://zapper.xyz/z/images/?url=https%3A%2F%2Fstorage.googleapis.com%2Fzapper-fi-assets%2Fnfts%2Fcollections%2Fbase%2F0xa449b4f43d9a33fcdcf397b9cc7aa909012709fd%2Flogo.png&checksum=a34b1"
}
},
"socialLinks": [
{
"name": "opensea",
"url": "https://opensea.io/collection/onchain-gaias"
},
{
"name": "website",
"url": "https://warpcast.com/~/channel/ogs"
},
{
"name": "twitter",
"url": "https://twitter.com/onchaingaias"
}
]
}
]
}
}
Try in sandbox

Arguments

ArgumentDescriptionTypeRequired
collectionsArray of inputs specifying collection details[NftCollectionInput!]!Yes

NftCollectionInput

FieldDescriptionTypeRequired
collectionAddressThe address of the NFT collectionString!Yes
networkThe network where the NFT existsNetwork!Yes
subCollectionIdentifierIdentifier for a sub-collectionStringNo

Fields

FieldDescriptionType
idUnique identifier for the collectionID!
addressContract address of the collectionAddress!
subCollectionIdentifierIdentifier for sub-collectionString!
nameName of the collectionString!
displayNameDisplay name of the collectionString
symbolSymbol/ticker of the collectionString!
descriptionDescription of the collectionString!
networkNetwork where the collection existsNetwork!
socialLinksArray of social media links[SocialLink!]!
supplyTotal supply of the collectionBigDecimal!
totalSupplyTotal supply including burned tokensBigDecimal!
floorPriceEthFloor price in ETH (deprecated)BigDecimal
floorPriceSourceMarketPlaceSource marketplace for floor priceNftDataSourceMarketplace
topOfferPriceEthTop offer in ETH (deprecated)BigDecimal
topOfferSourceMarketPlaceSource marketplace for top offerNftDataSourceMarketplace
holdersCountNumber of unique holdersBigDecimal!
nftStandardToken standardNftStandard!
disabledWhether the collection is disabledBoolean!
typeType of collectionNftCollectionType!
openseaIdOpenSea identifierString
spamScoreSpam score of the collectionBigDecimal
floorPriceCurrent floor priceNftValueDenomination
topOfferPriceHighest current offerNftValueDenomination
isApprovedCheck if collection is approved for a spender(spenderAddress: Address!, ownerAddress: Address!) => Boolean!
approvalTransactionGet transaction config for approval(spenderAddress: Address!, ownerAddress: Address!) => TransactionConfig!
revokeApprovalTransactionGet transaction config for revoking approval(spenderAddress: Address!, ownerAddress: Address!) => TransactionConfig!
nftsList of NFTs in the collectionNftTokenConnection!
eventsCollection events (sales, transfers)CollectionEventConnection!
traitGroupsGroups of traits for the collection[NftCollectionTraitGroupBase!]!
traitGroupValuesValues for trait groupsNftCollectionTraitValueConnection!
traitsCollection traits[NftCollectionTraitType!]!
holdersCollection holdersPaginatedNftHolder!
mediasCollection media assetsNftCollectionMedias!
circulatingSupplyNumber of tokens in circulationBigDecimal!
totalCirculatingSupplyTotal circulating supplyBigDecimal!
groupsCollection groups information[NftCollectionGroup!]!
marketCapMarket capitalizationBigDecimal

Enums

enum NftStandard {
ERC_721
ERC_1155
}

enum NftCollectionType {
GENERAL
BRIDGED
BADGE
POAP
TICKET
ACCOUNT_BOUND
WRITING
GAMING
ART_BLOCKS
BRAIN_DROPS
LENS_PROFILE
LENS_FOLLOW
LENS_COLLECT
ZORA_ERC721
ZORA_ERC1155
BLUEPRINT
}

enum NftDataSourceMarketplace {
OPENSEA
X2Y2
LOOKSRARE
RESERVOIR
BLUR
}

enum NftPaymentStatsPeriod {
Week
Month
Quarter
}

enum NftTokenSort {
RARITY_RANK
LAST_SALE_ETH
ESTIMATED_VALUE_ETH
}

Notes

  • Provides real-time floor price data
  • Supports both ERC721 and ERC1155 standards
  • Includes social links and media assets
  • Offers trait and holder information
  • Tracks market data and collection events
  • Supports collection approval management
  • Returns paginated results for NFTs, events, and holders