代币 API

获取代币持仓集中度概况#

获取指定代币的持仓集群概览数据。

请求路径#

GET https://web3.okx.com/api/v6/dex/market/token/cluster/overview

请求参数#

参数类型必填描述
chainIndexString链的唯一标识,传入链的 ID(如 501: Solana),仅支持单链查询
tokenContractAddressString代币合约地址

响应参数#

参数类型描述
ClusterConcentrationString聚类集中度等级:Low / Medium / High
top100HoldingsPercentStringTop 100 地址持仓占比(%)
rugPullPercentStringRug Pull 可能性百分比(%)
holderNewAddressPercentString前 1000 持仓地址中近 3 天创建的新地址占比(%)
holderSameFundSourcePercentString前 1000 持仓地址中,有互相的主流币往来行为占比
holderSameCreationTimePercentString同创建时间地址占比(%)

请求示例#

Shell
curl --location --request GET 'https://web3.okx.com/api/v6/dex/market/token/cluster/overview?chainIndex=8453&tokenContractAddress=0xfde4c96c8593536e31f229ea8f37b2ada2699bb2' \
--header 'OK-ACCESS-KEY: 37c541a1-****-****-****-10fe7a038418' \
--header 'OK-ACCESS-SIGN: leaV********3uw=' \
--header 'OK-ACCESS-PASSPHRASE: 1****6' \
--header 'OK-ACCESS-TIMESTAMP: 2023-10-18T12:21:41.274Z'

响应示例#

Json
{
    "code": 0,
    "msg": "success",
    "error_code": "0",
    "error_message": "",
    "detailMsg": "",
    "data": {
        "clusterConcentration": "Low",
        "top100HoldingsPercent": "0.68776",
        "rugPullPercent": "1.00000",
        "holderNewAddressPercent": "--",
        "holderSameFundSourcePercent": "0.47800",
        "holderSameCreationTimePercent": "0.09000"
    }
}