Retrieve Asset List API Guide

ยท

This interface allows you to query personal assets, including token details, collection information, contract specifics, and token attributes.

Request Details

Request Address

GET https://web3.okx.com/api/v5/mktplace/nft/owner/asset-list

Request Parameters

ParameterTypeRequiredDescription
chainStringYesBlockchain name (see Supported Blockchains)
contractAddressStringNoValid contract address
ownerAddressStringYesValid owner address
cursorStringNoPagination cursor
limitStringNoItems per page (default: 10, max: 100)

Response Parameters

Returns an Asset Model object:

ParameterTypeDescription
nameStringNFT name
tokenIdStringUnique token identifier
amountStringTotal supply for this token
tokenUriStringMetadata storage URL
imageStringPrimary image URL (cached)
imagePreviewUrlStringPreview image URL (cached)
imageThumbnailUrlStringThumbnail image URL (cached)
animationUrlStringAnimation resource URL
attributesObjectToken characteristics
assetContractsObjectContract details
collectionObjectCollection information
ownerAddressStringCurrent owner's address
isLazyMintTypeBooleanIndicates delayed mint status

Usage Examples

๐Ÿ‘‰ See real-world API implementation examples

Frequently Asked Questions

What chains are supported?

The API currently supports all EVM-compatible blockchains listed in our documentation.

How do I handle pagination?

Use the cursor parameter to navigate through large result sets, combined with the limit parameter for batch sizes.

What's the difference between tokenUri and image fields?

tokenUri points to raw metadata while image displays the processed visual asset.

Why is my query returning empty results?

Ensure: 1) Correct chain selection 2) Valid owner address 3) Properly deployed contract (if filtering by contractAddress).

๐Ÿ‘‰ Need higher rate limits? Upgrade your API access

Best Practices

The API provides comprehensive NFT asset management capabilities suitable for wallet applications, marketplace integrations, and portfolio tracking tools.