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
  • Record Content
  • Protocol Content
  • Request Sample
  • Successful Response Sample
  1. REFERENCE
  2. API Reference
  3. Token

Query token market info list

Description

  • Method:HTTPS POST

  • Encoding:UTF-8

  • Path:https://api.blockin.ai/v2/token/market_info_list

  • Description:Query list of market token information

Request Header

Parameter
Required
Type
Description

Content-Type

Y

String

application/json

AccessKey

Y

String

1bdb01c947c54919b64d1fc6794atest

Request Parameters

Parameter
Required
Type
Description

chain_name

Y

String

Chain's name,support both all and single chain's name(abbr or full name).eg : all,eth,Ethereum

query_keyword

Y

String

Fuzzy matching of query keywords (including name, symbol, and tokenAddress)

page_size

N

Integer

Page size, the maximum count is 100,the default count is 20

page

N

Integer

Page number,the default value is 1

Response

Public Response

Parameter
Required
Type
Description

success

Y

Boolean

Success Boolean

data

N

List

Response object

error_code

N

String

Error code

error_msg

N

String

Error message

Response Content

Parameter
Required
Type
Description

total

Y

String

Token's address

total_pages

Y

String

Total page number

page

Y

String

Current page number

page_size

Y

String

Current page size

records

Y

Record

Record detail

Record Content

Parameter
Required
Type
Description

chain_name

Y

String

Chain's name

token_address

Y

String

Token's address

name

Y

String

Token's name

symbol

Y

String

Token's symbol

price

Y

BigDecimal

Token's price

token_image

Y

String

URL of the token's logo image.

protocols

N

List

Token associated protocol's info

Protocol Content

Parameter
Required
Type
Description

protocol_image

Y

String

Protocol image

protocol_name

Y

String

Protocol name

protocol_website

Y

String

Website url of the protocol

Request Sample

curl -H "Content-Type:application/json" -H "AccessKey:1bdb01c947c54919b64d1fc6794atest" -X GET "https://api.blockin.ai/v2/token/market_info_list" -d { "chain_name":"", "query_keyword":"", "page_size":32, "page":1 }

Successful Response Sample

{
    "success": true,
    "data": {
        "total": 32,
        "total_pages": 7,
        "page": 7,
        "page_size": 5,
        "records": [
            {
                "chain_name": "Cronos",
                "token_address": "0x66e428c3f67a68878562e79a0234c1f83c208770",
                "name": "Tether",
                "symbol": "USDT",
                "price": null,
                "token_image": "https://www.blockin.ai/image/cronos/token/0x66e428c3f67a68878562e79A0234c1F83c208770.png",
                "protocols": []
            },
            {
                "chain_name": "Sora",
                "token_address": "0x00d1fb79bbd1005a678fbf2de9256b3afe260e8eead49bb07bd3a566f9fe8355",
                "name": "The Graph",
                "symbol": "GRT",
                "price": null,
                "token_image": "https://www.blockin.ai/image/sora/token/0x00d1fb79bbd1005a678fbf2de9256b3afe260e8eead49bb07bd3a566f9fe8355.png",
                "protocols": [
                    {
                        "protocol_image": "https://www.blockin.ai/image/protocol/thegraph.png",
                        "protocol_name": "The Graph",
                        "protocol_website": "https://thegraph.co"
                    }
                ]
            }
        ]
    },
    "errorCode": null,
    "errorMsg": null
}
PreviousQuery token info listNextSubscribe to token kline data

Last updated 1 year ago

😈
🐙