跳转到主要内容
GET
/
v2
/
token
/
{chain}
/
{tokenAddress}
/
stats
代币 - 统计
curl --request GET \
  --url https://api.dex.chainstream.io/v2/token/{chain}/{tokenAddress}/stats \
  --header 'Authorization: Bearer <token>'
{
  "address": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
  "periods": {
    "24h": {
      "buyVolumeInUsd": "45000.00",
      "buyers": "320",
      "buys": "1520",
      "closeInUsd": "0.15600000",
      "currentLiquidityInUsd": "250000.00",
      "highInUsd": "0.15900000",
      "lowInUsd": "0.15000000",
      "openInUsd": "0.15000000",
      "priceChangeRatioInUsd": "0.04000000",
      "sellVolumeInUsd": "36000.00",
      "sellers": "210",
      "sells": "980",
      "totalVolumeInUsd": "81000.00",
      "traders": "530",
      "trades": "2500"
    }
  }
}

授权

Authorization
string
header
必填

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

路径参数

chain
enum<string>
必填

支持网络列表中的链名称 Supported blockchain chains

可用选项:
sol,
eth,
bsc
tokenAddress
string
必填

代币地址

响应

200 - application/json

获取统计

Token statistics with nested time period data

address
string
必填
示例:

"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v"

periods
object
必填

Trade statistics grouped by time period (1m, 5m, 15m, 30m, 1h, 4h, 24h). Each period contains full OHLCV data, trade counts, and previous-period comparisons. See TokenTradeStatPeriod schema for all fields.

示例:
{
"24h": {
"buyVolumeInUsd": "45000.00",
"buyers": "320",
"buys": "1520",
"closeInUsd": "0.15600000",
"currentLiquidityInUsd": "250000.00",
"highInUsd": "0.15900000",
"lowInUsd": "0.15000000",
"openInUsd": "0.15000000",
"priceChangeRatioInUsd": "0.04000000",
"sellVolumeInUsd": "36000.00",
"sellers": "210",
"sells": "980",
"totalVolumeInUsd": "81000.00",
"traders": "530",
"trades": "2500"
}
}