Account Holding Distribution

This endpoint returns NFT holding distribution statistics for an account address referring to NFTScan Portfolio.

This endpoint returns NFT holding distribution statistics for an account address referring to NFTScan Portfolio.

API Endpoint

https://open-platform.nodereal.io/{apiKey}/nftscan

method_path:/api/v2/statistics/distribution/{account_address}/{chain_name}

method_type:GET

Request:

ParametersDescriptionsQuery TypeRequiredData Typeschema
account_addressThe account addressdefaultValue{0xca1257ade6f4fa6c6834fdc42e030be6c0f5a813}pathtruestring
chain_nameName of the chain you’re querying. List of supported values: "eth" for Ethereum; "bnb" for BNB Smart Chain; "polygon" for Polygon; "moonbeam" for Moonbeam; "arbitrum" for Arbitrum One; "optimism" for Optimism; "platon" for PlatON; "avalanche" for Avalanche; "cronos" for Cronos; "fantom" for Fantom; "gnosis" for Gnosis;pathtruestring
distribution_type} defaultValue{volume}queryfalsestring

Response:

ParametersDescriptionsData Typeschema
codeResponse status code (200 means the request was successful, 4XX or 5XX means the request failed)integer(int32)integer(int32)
dataResponse dataAccountHoldingDistributionModelAccountHoldingDistributionModel
  distributionThe NFT holding distributionarrayHoldingDistributionModel
    contractThe contract addressstring
    nameThe contract namestring
    proportionThe proportion of holdingsstring
    valueThe value(amount or volume)number
  totalThe total volume or amountinteger(int64)
msgError message when request failsstring

Example:

{
	"code": 200,
	"data": {
		"distribution": "[{\"proportion\":\"74.63%\",\"contract\":\"0xbc4ca0eda7647a8ab7c2061c2e118a18a936f13d\",\"name\":\"BoredApeYachtClub\",\"value\":1868.1},{\"proportion\":\"14.20%\",\"contract\":\"0x60e4d786628fea6478f785a6d7e704777c86a7c6\",\"name\":\"MutantApeYachtClub\",\"value\":355.58},{\"proportion\":\"6.71%\",\"contract\":\"0xba30e5f9bb24caa003e9f2f0497ad287fdf95623\",\"name\":\"BoredApeKennelClub\",\"value\":167.877},{\"proportion\":\"4.06%\",\"contract\":\"0x34d85c9cdeb23fa97cb08333b511ac86e1c4e258\",\"name\":\"Otherdeed\",\"value\":101.75},{\"proportion\":\"0.29%\",\"contract\":\"0x764aeebcf425d56800ef2c84f2578689415a2daa\",\"name\":\"SewerPass\",\"value\":7.317},{\"proportion\":\"0.11%\",\"name\":\"other\",\"value\":2.6452}]",
		"total": 0
	},
	"msg": ""
}