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 <Basic Information> Interface

Obtain the corresponding list through the collection or platform type

PreviousAggregate NFTs Interface V1.0NextGet <NFT List> Interface

Last updated 2 years ago

Request Address: /api/v1/meta/getBaseInfo

Request Method: GET

Request Parameters:

Field Name
Field Description
Type
Required or not
Notes

type

Query type enumeration fields: collection、platform

string

Y

page

Page

integer

Y

pageSize

Number in page

integer

Y

Output Parameters:

Field Name
Field Description
Type

id

Primary key

integer

name

Name

string

contractAddress

Contract address

string

imageUrl

Image logo address

string

itemNum

Amount

integer

type

Type,collection or platform

string

Input example:

Output example:

// type=collectionreturndat
{
    "resCode": "100",
    "resMsg": "Success",
    "data": {
        "lists": [
            {
                "id": "386412091616028672",
                "name": "BoredApeYachtClub",
                "contractAddress": "0xbc4ca0eda7647a8ab7c2061c2e118a18a936f13d",
                "imageUrl": "https://lh3.googleusercontent.com/Ju9CkWtV-1Okvf45wo8UctR-M9He2PjILP0oOvxE89AyiPPGtrR3gysu1Zgy0hjd2xKIgjJJtWIc0ybj4Vd7wv8t3pxDGHoJBzDB=s130",
                "itemNum": 10000,
                "type": "collection"
            },
            {
                "id": "386412091616028695",
                "name": "MutantApeYachtClub",
                "contractAddress": "0x60e4d786628fea6478f785a6d7e704777c86a7c6",
                "imageUrl": "https://lh3.googleusercontent.com/lHexKRMpw-aoSyB1WdFBff5yfANLReFxHzt1DOj_sg7mS14yARpuvYcUtsyyx-Nkpk6WTcUPFoG53VnLJezYi8hAs0OxNZwlw6Y-dmI=s130",
                "itemNum": 17900,
                "type": "collection"
            },
           
            {
                "id": "386412091616028718",
                "name": "Pegas",
                "contractAddress": "0xd50d167dd35d256e19e2fb76d6b9bf9f4c571a3e",
                "imageUrl": "https://pegaxy.io/wp-content/uploads/2021/09/about-thumbnail3.png",
                "itemNum": 100,
                "type": "collection"
            }
        ],
        "total": 47
    }
}
// type=platformretunedata
{
    "resCode": "100",
    "resMsg": "Success",
    "data": {
        "lists": [
            {
                "id": "386405378620468200",
                "name": "OpenSea",
                "imageUrl": "https://opensea.io/static/images/logos/opensea.svg",
                "itemNum": 50000,
                "type": "platform"
            },
            {
                "id": "386405400144891905",
                "name": "Treasureland",
                "imageUrl": "https://d1xg70azqv21ps.cloudfront.net/static/logo.f397dcda.svg",
                "itemNum": 730,
                "type": "platform"
            },
            {
                "id": "386405400144891924",
                "name": "LooksRare",
                "imageUrl": "https://s3.us-east-2.amazonaws.com/nomics-api/static/images/currencies/LOOKS.jpg",
                "itemNum": 1000,
                "type": "platform"
            }
        ],
        "total": 13
    }
}

Postman Call Example

https://api.paths.finance/api/v1/meta/getBaseInfo?type=collection&page=1&pageSize=50