Qodex.ai
Qodex.ai
Introduction
Covalent Unified API
BalanceService
getErc20TransfersForWalletAddressgetHistoricalPortfolioForWalletAddressgetHistoricalTokenBalancesForWalletAddressgetNativeTokenBalancegetTokenBalancesForWalletAddressgetTokenHoldersChangesForTokenAddressgetTokenHoldersV2ForTokenAddress
BaseService
getAddressActivitygetAllChainStatusgetAllChainsgetBlockgetBlockHeightsgetGasPricesgetLogEventsByAddressgetLogEventsByTopicHashgetLogsgetResolvedAddress
NftService
checkOwnershipInNftcheckOwnershipInNftForSpecificTokenIdgetAttributesForTraitInCollectiongetChainCollectionsgetCollectionTraitsSummarygetNftExternalMetadataForContractgetNftMarketFloorPricegetNftMarketSaleCountgetNftMarketVolumegetNftMetadataForGivenTokenIdForContractgetNftTransactionsForContractTokenIdgetNftsForAddressgetTokenIdsForContractWithMetadatagetTraitsForCollection
PricingService
getTokenPrices
SecurityService
getApprovalsgetNftApprovals
TransactionService
getEarliestTimeBucketTransactionsForAddressgetRecentTransactionsForAddressgetTimeBucketTransactionsForAddressgetTransactiongetTransactionSummarygetTransactionsForAddressgetTransactionsForAddressV3getTransactionsForBlockgetTransactionsForBlockByPagegetTransactionsForBlockHashgetTransactionsForBlockHashByPage
XykService
getAddressExchangeBalancesgetDexForPoolAddressgetEcosystemChartDatagetHealthDatagetLpTokenViewgetNetworkExchangeTokensgetPoolByAddressgetPoolsgetPoolsForTokenAddressgetPoolsForWalletAddressgetSingleNetworkExchangeTokengetSupportedDEXesgetTransactionsForAccountAddressgetTransactionsForDexgetTransactionsForExchangegetTransactionsForTokenAddress
Introduction
Covalent Unified API
BalanceService
getErc20TransfersForWalletAddressgetHistoricalPortfolioForWalletAddressgetHistoricalTokenBalancesForWalletAddressgetNativeTokenBalancegetTokenBalancesForWalletAddressgetTokenHoldersChangesForTokenAddressgetTokenHoldersV2ForTokenAddress
BaseService
getAddressActivitygetAllChainStatusgetAllChainsgetBlockgetBlockHeightsgetGasPricesgetLogEventsByAddressgetLogEventsByTopicHashgetLogsgetResolvedAddress
NftService
checkOwnershipInNftcheckOwnershipInNftForSpecificTokenIdgetAttributesForTraitInCollectiongetChainCollectionsgetCollectionTraitsSummarygetNftExternalMetadataForContractgetNftMarketFloorPricegetNftMarketSaleCountgetNftMarketVolumegetNftMetadataForGivenTokenIdForContractgetNftTransactionsForContractTokenIdgetNftsForAddressgetTokenIdsForContractWithMetadatagetTraitsForCollection
PricingService
getTokenPrices
SecurityService
getApprovalsgetNftApprovals
TransactionService
getEarliestTimeBucketTransactionsForAddressgetRecentTransactionsForAddressgetTimeBucketTransactionsForAddressgetTransactiongetTransactionSummarygetTransactionsForAddressgetTransactionsForAddressV3getTransactionsForBlockgetTransactionsForBlockByPagegetTransactionsForBlockHashgetTransactionsForBlockHashByPage
XykService
getAddressExchangeBalancesgetDexForPoolAddressgetEcosystemChartDatagetHealthDatagetLpTokenViewgetNetworkExchangeTokensgetPoolByAddressgetPoolsgetPoolsForTokenAddressgetPoolsForWalletAddressgetSingleNetworkExchangeTokengetSupportedDEXesgetTransactionsForAccountAddressgetTransactionsForDexgetTransactionsForExchangegetTransactionsForTokenAddress
HomeCovalent Unified APINftServicegetAttributesForTraitInCollection

getAttributesForTraitInCollection

GET https://api.covalenthq.com/v1/:chainName/nft/:collectionContract/traits/:trait/attributes/

Returns: NftCollectionAttributesForTraitResponse

{
  "updated_at" : "{{DATETIME}}",
  "items" : [ {
    "trait_type" : "{{STRING}}",
    "values" : [ {
      "value" : "{{STRING}}",
      "count" : "{{INTEGER}}"
    } ],
    "unique_values" : "{{INTEGER}}"
  } ]
}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring
Previous
checkOwnershipInNftForSpecificTokenId
Next
getChainCollections