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. Aggregate NFTs Interface V1.0

Get <NFT List Held by User> Interface

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

Previous<Swap> InterfaceNextAggregate NFTs Interface V2.0

Last updated 2 years ago

Request Address: /api/v1/meta/getOwnedAssets

Request Method: GET

Request Parameter:

Field Name
Field Description
Type
Required or not
Notes

owner

User address

string

Y

page

Page

integer

Y

pageSize

Number in page

integer

Y

Output Parameter:

Field Name
Field Description
Type

tokenId

token id

string

contractAddr

NFT contract address

string

name

NFT name

string

imageUrl

NFT image address

string

mainnet

NFT contract chain

string

platformId

NFT Primary Key ID

integer

canSell

Can sell? true:Yes,false:No

bool

Input Example:

Output Example:

{
    "resCode": "100",
    "resMsg": "Success",
    "data": {
        "assets": [
            {
                "tokenId": "1560218",
                "contractAddr": "0x22c1f6050e56d2876009903609a2cc3fef83b415",
                "name": "Dapp-Learning-111",
                "imageUrl": "https://lh3.googleusercontent.com/2CHkr8agGwOm9NIyhNFBgG2kSzO_OLhiYury3nOtdB5lbHX8W-RoBcHVfXgNoc-72ZzhLJoa6ALrB2o0pxZy8PcMuWYEGZc9zexSYIc",
                "mainnet": "ETH",
                "platformId": "386405378620468200",
                "canSell": false
            },
            {
                "tokenId": "158456339822817985252103554542",
                "contractAddr": "0x7227e371540cf7b8e512544ba6871472031f3335",
                "name": "Bliss Agent: Renegade",
                "imageUrl": "https://api.treasureland.market/v1/resourceS3?uri=images/matic/0x7227e371540cf7b8e512544ba6871472031f3335/369df65834b14d7035410de0440d7d63.png",
                "canSell": false,
                "platformId": "386405400144891905",
                "mainnet": "POLYGON"
            }
        ]
    }
}

Postman Call Example

https://api.paths.finance/api/v1/meta/getOwnedAssets?owner=0x76336d2903e8f6d62cc3f5d05283108e3d2785e0&page=1&pageSize=50