GET
/
token
/
v1
/
search
代币 - 搜索
curl --request GET \
  --url https://api-dex.chainstream.io/token/v1/search \
  --header 'Authorization: Bearer <token>'
{
  "data": [
    "<string>"
  ],
  "hasNext": false,
  "hasPrev": false,
  "startCursor": "<string>",
  "endCursor": "<string>",
  "total": 123,
  "countsByProtocols": {
    "uniswap": 500,
    "sushiswap": 300
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

chains
string[]

链筛选

q
string

代币名称、符号或地址的搜索查询字符串

Minimum length: 1
Example:

"USDC"

limit
number
default:20

每页结果数量

Required range: 1 <= x <= 100
sort
enum<string>
default:desc

排序方向

Available options:
asc,
desc
protocols
string[]

协议筛选,具体支持协议请查看Dex - 列表返回的dexName值

cursor
string

游标

sortBy
enum<string>

排序字段

Available options:
marketCapInUsd,
liquidityInUsd,
priceInUsd,
holderCount,
h24VolumeInUsd,
h24Transactions,
tokenCreatedAt
Example:

"priceInUsd"

Response

200 - application/json

The response is of type object.