Get <User's NFT> Interface

Obtain the user's corresponding NFT asset information through the user's wallet address

Request Address: /api/v2/meta/getUserAssets

Request Method: GET

Request Parameters:

Field Name
Field Description
Type
Notes

owner

User's Wallet Address

string

keyWords

Search Key Words

string

page

Page (default: 1)

integer

pageSize

Number of NFT in Each Page

integer

Request example:

https://api.paths.finance/api/v2/meta/getUserAssets?owner=0x76336D2903E8F6d62Cc3F5d05283108e3D2785e0&page=2&pageSize=1

Output example:

{
	"resCode": "100",
	"resMsg": "Success",
	"data": {
		"assets": {
			"nftInfos": [
				{
					"tokenId": "53463778729250517743976667759632770032006877013416940203296164330067973898241",
					"contractAddr": "0x495f947276749ce646f68ac8c248420045cb7b5e",
					"name": "The Rainbow",
					"imageUrl": "https://lh3.googleusercontent.com/JpiQymStk6OOz0YkJYNxAMT81EVPJPtf-nnmqZKBCFh_yyeWCn__aPkVi4molYgXEoC4BAoyMiweDD_AaDngspjjA-15yu6BLC2A",
					"mainnet": "ETH",
					"lastPriceInfo": "0 ETH",
					"openseaItem": {},
					"canSell": false
				}
			],
			"marketPlaces": [
				{
					"name": "OpenSea",
					"logoUrl": "https://opensea.io/static/images/logos/opensea.svg",
					"feeRate": 0.025,
					"paymentInfos": {
						"tokenSymbol": "ETH",
						"tokenAddress": "0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee",
						"tokenDecimals": 18,
						"tokenUrl": "https://openseauserdata.com/files/6f8e2979d428180222796ff4a33ab929.svg"
					}
				},
				{
					"name": "Rarible",
					"logoUrl": "https://s2.coinmarketcap.com/static/img/coins/64x64/5877.png",
					"feeRate": 0.025,
					"paymentInfos": {
						"tokenSymbol": "ETH",
						"tokenAddress": "0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee",
						"tokenDecimals": 18,
						"tokenUrl": "https://openseauserdata.com/files/6f8e2979d428180222796ff4a33ab929.svg"
					}
				}	
			]
		}
	}
}

Last updated