Get <Basic Information> Interface

Obtain the corresponding list through the collection or platform type

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:

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

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

Last updated