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:
Parameters | Descriptions | Query Type | Required | Data Type | schema |
---|---|---|---|---|---|
chain_name | Name 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; | path | true | ||
NFT Amount Request parameter | NFT Amount Request parameter | body | true | NFT Amount Request parameter | NFT Amount Request parameter |
account_address_list | List of account address. Maximum size is 50. | false | array | string |
Request Example:
{
"account_address_list": []
}
Response:
Parameters | Descriptions | Data Type | schema |
---|---|---|---|
code | Response status code (200 means the request was successful, 4XX or 5XX means the request failed) | integer(int32) | integer(int32) |
data | Response data | array | NftAmountModel |
account_address | The account address | string | |
erc1155_items_total | How many erc1155 NFT items the account owns | integer(int64) | |
erc721_items_total | How many erc721 NFT items the account owns | integer(int64) | |
items_total | How many NFT items the account owns | integer(int64) | |
msg | Error message when request fails | string |
Example:
{
"code": 200,
"data": [
{
"account_address": "0xe525fae3fc6fbb23af05e54ff413613a6573cff2",
"erc1155_items_total": 20,
"erc721_items_total": 100,
"items_total": 120
}
],
"msg": ""
}