Get NFT amount by account

This endpoint returns information for ERC721 and ERC1155 NFT amount owned by an account address according to the search list in the request body.

API Endpoint

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

method_path:/api/v2/asset/account/amount/{chain_name}

method_type:POST

Request:

ParametersDescriptionsQuery TypeRequiredData Typeschema
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;pathtrue
NFT Amount Request parameterNFT Amount Request parameterbodytrueNFT Amount Request parameterNFT Amount Request parameter
  account_address_listList of account address. Maximum size is 50.falsearraystring

Request Example:

{
  "account_address_list": []
}

Response:

ParametersDescriptionsData Typeschema
codeResponse status code (200 means the request was successful, 4XX or 5XX means the request failed)integer(int32)integer(int32)
dataResponse dataarrayNftAmountModel
  account_addressThe account addressstring
  erc1155_items_totalHow many erc1155 NFT items the account ownsinteger(int64)
  erc721_items_totalHow many erc721 NFT items the account ownsinteger(int64)
  items_totalHow many NFT items the account ownsinteger(int64)
msgError message when request failsstring

Example:

{
	"code": 200,
	"data": [
		{
			"account_address": "0xe525fae3fc6fbb23af05e54ff413613a6573cff2",
			"erc1155_items_total": 20,
			"erc721_items_total": 100,
			"items_total": 120
		}
	],
	"msg": ""
}