Blockin.ai OpenAPI
  • Welcome
  • πŸ₯³GETTING STARTED
    • πŸ—οΈCreating an Account
    • πŸ‘€Product Overview
  • 😈REFERENCE
    • πŸ™API Reference
      • Chain
        • Query available chain list
      • Protocol
        • Query available protocol
        • Query available protocol list
        • Query all available protocol list
        • Query available tagInfo list
        • Query available protocol detail
        • Query available protocol detail list
        • Query all available protocol detail list
        • Query liquidity change list by chain name and pool address
        • Query swap list by chain name and pool address
      • User
        • Query used chain by user address
        • Query chain balance by chain name and user address
        • Query protocol portfolio list by chain name and user address
        • Query protocol portfolios on all chains by user address
        • Query protocol portfolio by chain name, protocol name and user address
        • Query protocol portfolios on all chains by protocol name and user address
        • Query protocol top holders by chain name and protocol name
        • Query simple protocol list by chain name and user address
        • Query simple protocol list on all chains by user address
        • Query token list by chain name and user address
        • Query token list on all chains by user address
        • Query token top holders by chain name and token address
        • Query collections by chain name and user address
        • Query collections on all chains by user address
        • Query collections on Bitcoin by user address
        • Query items by chain name, collection address and user address
        • Query inscriptions on Bitcoin by user address
        • Query items transfer list by chain name and user address
        • Query history list by chain name and user address
        • Query all history list by user address
        • Query User history - Advanced edition
        • Query total balance on all supported chains by user address
        • Query token authorized list by chain name and user address
        • Query nft authorized list by chain name and user address
        • Query 24-hour net assets curve by chain name and user address
        • Query 24-hour net assets curve on all supported chains by user address
        • Query 24-hour protocol portfolios curve by chain name and user address
        • Query 24-hour protocol portfolios curve on all supported chains by user address
        • Query 24-hour wallet curve by chain name and user address
        • Query 24-hour wallet curve on all supported chains by user address
      • Token
        • Query token info
        • Query token info list
        • Query token market info list
        • Subscribe to token kline data
        • Unsubscribe token kline
        • Query pool list by chain name and token address
        • Query liquidity change list by chain name and token address
        • Query swap list by chain name and token address
        • Query real-time exchange rate
        • Query real-time token price
        • Query LP_token info
        • Query symbol's price from foreign exchange
      • NFT
        • Query collection metadata by chain name and collection address
        • Query collection trade list by chain name and collection address
        • Query item info list by chain name and collection address
        • Query item metadata by chain name, collection address and item id
        • Refresh collection metadata
        • Query inscriptions metadata on Bitcoin by inscriptions id
      • Mirror
        • Query historical token list
        • Query historical protocol portfolios
        • Query historical assets
        • Query historical token list on all supported chains
        • Query historical protocol portfolios on all supported chains
        • Query historical assets on all supported chains
        • Query historical LP_token info
      • Subscription
        • Create history subscription
        • Update history subscription
        • Delete history subscription
        • History subscription query
        • Socket Subscription Connection
        • Subscription notify
        • Alter history subscription
        • History subscription- Query Batch_no List
        • Create history subscription V2
        • Delete history subscription V2
        • Query history subscription wallet V2
        • Query history subscription detail V2
        • History subscription Message query V2
        • Socket Subscription Connection V2
    • πŸ“œEnumeration
    • 🎭Error Code
      • Pre exec error code
    • πŸͺRelated Features
      • Usage
    • ⌨️Change Log
    • 😎Terms of Service
Powered by GitBook
On this page
  • Description
  • Request Header
  • Request Parameters
  • Response
  • Public Response
  • Response Content
  • Request Sample
  • Successful Response Sample
  • Failed Response Sample
  1. REFERENCE
  2. API Reference
  3. NFT

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

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

{
    "success": true,
    "data": {
        "collection_name": "Thicc Frens Genesis",
        "collection_address": "0xdb691c32c75aa9c9c44a6b7ec94195a50716d2ec",
        "name": "Thicc Frens",
        "symbol": "THICCFRENS",
        "supply": "10000",
        "contract_type": "ERC721",
        "deployer": "0xdb691c32c75aa9c9c44a6b7ec94195a50716d2ec",
        "deploy_block_height": 10000001,
        "deploy_block_time": 1651794615303,
        "description": "5,555 sassy thicc dogs will help you get thicc through daily staking rewards, true companions for your metaverse journey. These cheeky NFTs come in 30 different breeds, all of which have well endowed thicc butts. There are over 300 unique attributes including hats, hair, accessories, mouths, eyes, backgrounds and more. Each dog has a rarity value that determines how much $THICC token it'll earn per day when staked (Common, Uncommon and Rare). Adopt a thicc fren and start earning $THICC today!\n\nPresale Mint 1 - May 8th, 2022 -----\nPresale Mint 2 - May 18th, 2022 -----\nFree Mint - May 31st, 2022 -----",
        "logo_url": "https://i.seadn.io/gae/zpY-zSAgIXTJpX3LadtSufiVYujxNbb5Za8bzCinqYjU-ayzUgCo30CpnCEWUq4FZTuIsmPXEQ073sbZr3WnMywVnMAeqxHT2CMI?w=500&auto=format",
        "banner_url": "https://i.seadn.io/gae/c64yfutaB8FgV_e_mvFl-jlOjgQrfQMZPgQ4j-hn16L9CFAVCgbnIxk2Aq1ad_NpB6XeGlRZOcXJcpk9LoAdcwikrrYHXNUcWY5u7w?w=500&auto=format",
        "site_url": "https://thiccfrens.com/",
        "twitter": "https://twitter.com/ThiccFrens",
        "instagram": "https://www.instagram.com/thiccfrens",
        "telegram": "https://t.me/ThiccFrens",
        "discord": "https://discord.gg/thicc-frens"
    },
    "error_code": null,
    "error_msg": null
}

Failed Response Sample

{
    "success": false,
    "data": null,
    "error_code": "INVALID_PARAM",
    "error_msg": "Invalid chain"
}
PreviousNFTNextQuery collection trade list by chain name and collection address

Last updated 1 year ago

eg : eth,Ethereum,pol,Polygon.

😈
πŸ™
Enumeration