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

Last updated