Query collection metadata by chain name and collection address

Description

  • Method: HTTPS GET

  • Encoding: UTF-8

  • Path: https://api.blockin.ai/v2/nft/collection/metadata

  • Description: Query collection base information

Request Header

Parameter
Required
Type
Description

Content-Type

Y

String

application/json

AccessKey

Y

String

1bdb01c947c54919b64d1fc6794atest

Request Parameters

Parameter
Required
Type
Description

address

Y

String

Collection's address

chain_name

Y

String

eg : eth,Ethereum,pol,Polygon. Enumeration

Response

Public Response

Parameter
Required
Type
Description

success

Y

Boolean

Success Boolean

data

N

Object

Response object

error_code

N

String

Error code

error_msg

N

String

Error message

Response Content

Parameter
Required
Type
Description

collection_name

N

String

Collection's name ๏ผˆopensea๏ผ‰

collection_address

Y

String

Collection's address

name

N

String

Collection's name

symbol

N

String

Collection's symbol

supply

N

String

Supply

contract_type

N

String

The standard of the NFT (721, 1155)

deployer

N

String

Deployer address

deploy_block_height

N

Long

The block height when the Collection was deployed

deploy_block_time

N

Long

The block time when the collection was deployed

description

N

String

Description

logo_url

N

String

URL of the collection's logo image

banner_url

N

String

Banner url

site_url

N

String

Website URL

twitter

N

String

The twitter

instagram

N

String

The instagram

telegram

N

Long

The telegram

discord

N

String

The discord

Request Sample

curl -H "Content-Type:application/json" -H "AccessKey:1bdb01c947c54919b64d1fc6794atest" -X GET "https://api.blockin.ai/v2/nft/collection/metadata?address=0xdb691c32c75aa9c9c44a6b7ec94195a50716d2ec&chain_name=Ethereum"

Successful Response Sample

Failed Response Sample

Last updated