This API method helps you to get the BEP-721/1155 tokens and the amount held by an address.


Supported on BSC and ETH mainnet only.


  • Account Address - The address of the account in hex format
  • Token Type : (optional) Please specify the type of token you query for, e.g. "ERC721", "ERC1155", etc.
  • Page : page number in hex format
  • PageSize - pageSize is hex encoded and should be less equal than 100 (each page return at most pageSize items)


  • totalCount - string, number in hex format
  • details
    • tokenAddress - string, the address of the token
    • tokenName - string, the name of the token
    • tokenSymbol - string, the symbol of the token
    • tokenIdNum - string, the id number of the token

API Endpoint

The format of a MegaNode API endpoint is https://{chain}-{network}{API-key}
Here is an example:

For other chains or networks, you could refer to this guidance Find API key & endpoint.



curl \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","method":"nr_getNFTHoldings","params":["0x99817ce62abf5b17f58e71071e590cf958e5a1bf","erc721","0x1","0x14"],"id": 1 }'


				"tokenName":"Pancake Lottery Ticket",
				"tokenName":"Pancake Bunnies",