POST /priapi/v1/nft/wallet/plugin/queryCollectedNfts

Auth X-Hub-Key from API_HUB_KEYExecute POST /run/okxwallet/priapi/v1/nft/wallet/plugin/queryCollectedNftsCache executed live on every call — a read-only POST answer is never cachedCost free · weight 0 · standard rate classSource billing free

Collected NFTs for a public address

Parameters

nameintypedescription
addressbodystrrequired
example: 0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045
chainIdbodystrrequired
example: 1
pageNobodyintoptional
default: 1
example: 1
pageSizebodyintoptional
default: 20
example: 20

Response

type: object
data key: list
pagination: page
sample: {
  "list": "array[1] object{collectionAddress,tokenId,name,imageUrl,chainId}",
  "total": "int"
}

Safe request

Reads the credential from API_HUB_KEY; it never appears in the URL.

curl -sX POST "https://openapihub.dev/run/okxwallet/priapi/v1/nft/wallet/plugin/queryCollectedNfts" \
  -H "X-Hub-Key: $API_HUB_KEY" -H "Content-Type: application/json" \
  -d '{"address": "0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045", "chainId": "1", "pageNo": 1, "pageSize": 20}'