MetaPath API
  • API Introduction
    • General Instruction
    • Major Blockchain Name Conventions
  • Cross-platform Aggregator Interface
    • Token Swap Flow
    • Get <The Token List> Interface
    • <Price Inquiry> Interface
    • <Swap> Interface
    • <BlackList> Interface
  • Upload gas free orders
  • Aggregate NFTs Interface V1.0
    • Get <Basic Information> Interface
    • Get <NFT List> Interface
    • <Price Inquiry> Interface
    • <Swap> Interface
    • Get <NFT List Held by User> Interface
  • Aggregate NFTs Interface V2.0
    • Get <Latest Collections> Interface
    • Get <Top NFT Collections> Interface
    • <List Page> Interface
    • Get <NFT Details> Interface
    • Get <NFT Details> Other Related Interface
    • <Price Inquiry> Interface
    • <Swap> Interface
    • <Batch Purchase> Interface
  • List Related Interface
    • Get <User's NFT> Interface
    • Get <Listed NFT List (My List)> Interface
    • <Create/Update Listing> Interface
    • <Create/Update Listing in the Backend> Interface
    • <Cancel Listing> Interface
    • <Change Listing> Interface
  • Swap Information Related Interface
    • <Add Swap Information> Interface
    • <Get Swap Information List> Interface
    • <Get Detailed Transation Infromation > Interface
Powered by GitBook
On this page
  1. List Related Interface

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"
					}
				}	
			]
		}
	}
}
PreviousList Related InterfaceNextGet <Listed NFT List (My List)> Interface

Last updated 2 years ago