Skip to content

Token Holders

Description

Returns a paginated list of on-chain holding addresses and basic address information for a specified token. Also supports querying basic information for a specific address.

Use cases:

  • Track and analyze on-chain information for whales, project teams, exchanges, etc.
  • Identify whale holding behavior and address ownership
  • Study on-chain holding distribution and chip concentration

Update frequency: Real-time

Endpoint

  • Method: POST
  • Path: /open/v1/chain/trade/token/holdPage

Credits

  • Cost: 2

Prerequisites

Obtain vsTokenId

ConditionDescriptionHow to obtain
vsTokenId availableUse cached vsTokenId; no repeat lookupAuto-extracted from context
vsTokenId missingCall POST /vs-token/listPrerequisite API call

Obtain coinKey

ConditionDescriptionHow to obtain
coinKey availableUse cached coinKey; no repeat lookupAuto-extracted from context
coinKey missingCall POST /vs-token/detail to get coinKey for each chainPrerequisite API call

Request parameters

Parameters are sent as JSON in the request body.

FieldTypeRequiredDescription
vsTokenIdlongYesToken ID
pageintegerYesCurrent page; default 1
pageSizeintegerYesItems per page; default 10, max 10,000 records
coinKeystringYesToken coinKey (chain + contract address); obtain from token details
addressstringNoAddress

Response fields

Structure of each object in the data array:

FieldTypeSerializedDescription
vsTokenIdlongstringToken ID
symbolstringstringToken symbol
namestringstringToken name
coinKeystringstringToken key
addressstringstringAddress
labelobjectobjectAddress label
    labelNamestringstringLabel name
    iconUrlstringstringIcon URL
    isContractbooleanbooleanWhether it is a contract address
    exchangeSymbolstringstringExchange name
    labelTypestringstringType
    reliabilityintegerintegerReliability
balancenumberstringBalance
pricenumberstringPrice
profitnumberstringProfit
costnumberstringHolding cost
preCostnumberstringPrevious holding cost
chainNamestringstringChain name

Field semantics

FieldMeaningTip
labelAddress labelIdentifies address ownership (e.g. exchange, contract); helps identify whale identity
profitHolding profitFloating P&L based on current price and holding cost
costHolding costAverage buy price for tokens at this address

Example

json
{
    "vsTokenId": 1,                // Token ID
    "page": 1,                     // Current page; default 1
    "pageSize": 10,                // Items per page; default 10, max 10,000 records
    "coinKey": "BTC_BTC"           // Token coinKey (chain + contract address); obtain from token details
}

cURL (Linux/macOS)

bash
curl --location --request POST 'http://${host}/api/open/v1/chain/trade/token/holdPage' \
--header 'Content-Type: application/json' \
--header 'X-API-KEY: xxxxx' \
--header 'X-TIMESTAMP: xxxxx' \
--header 'X-SIGN: xxxxx' \
--header 'Accept: */*' \
--data-raw '{
    "vsTokenId": 1,
    "page": 1,
    "pageSize": 10,
    "coinKey": "BTC_BTC"
}'

cURL (Windows CMD)

cmd
curl --location --request POST "http://${host}/api/open/v1/chain/trade/token/holdPage" ^
--header "Content-Type: application/json" ^
--header "X-API-KEY: xxxxx" ^
--header "X-TIMESTAMP: xxxxx" ^
--header "X-SIGN: xxxxx" ^
--header "Accept: */*" ^
--data-raw "{    \"vsTokenId\": 1,    \"page\": 1,    \"pageSize\": 10,    \"coinKey\": \"BTC_BTC\"}"

Success response example

json
{
    "code": 200,
    "message": "success",
    "data": [
        {
            "vsTokenId": "1",                                   // Token ID
            "symbol": "BTC",                                     // Token symbol
            "name": "Bitcoin",                                   // Token name
            "coinKey": "BTC_BTC",                                // Token key
            "address": "34xp4vRoCGJym3xR7yCVPFHoCNxv4Twseo",    // Address
            "label": {                                           // Address label
                "labelName": "Binance Cold Wallet",              // Label name
                "iconUrl": "/icon/label/Binance.png",            // Icon URL
                "isContract": false,                              // Whether it is a contract address
                "exchangeSymbol": "",                             // Exchange name
                "labelType": "Exchange",                          // Type
                "reliability": ""                                 // Reliability
            },
            "balance": "248597.58214169",                        // Balance
            "price": "70624.85790154382",                        // Price
            "profit": "7913271920.4341697967652188545",          // Profit
            "cost": "38828.441617175034708941",                  // Holding cost
            "preCost": "38828.441617175034708941",               // Previous holding cost
            "chainName": "BTC"                                    // Chain name
        },
        {
            "vsTokenId": "1",
            "symbol": "BTC",
            "name": "Bitcoin",
            "coinKey": "BTC_BTC",
            "address": "3M219KR5vEneNb47ewrPfWyb5jQ2DjxRP6",
            "label": {
                "labelName": "Binance Cold Wallet",
                "iconUrl": "/icon/label/Binance.png",
                "isContract": false,
                "exchangeSymbol": "",
                "labelType": "Exchange",
                "reliability": ""
            },
            "balance": "156026.54705644",
            "price": "70624.85790154382",
            "profit": "1804396311.20359371149441240088",
            "cost": "59095.423712405135733623",
            "preCost": "59095.423712405135733623",
            "chainName": "BTC"
        },
        {
            "vsTokenId": "1",
            "symbol": "BTC",
            "name": "Bitcoin",
            "coinKey": "BTC_BTC",
            "address": "bc1ql49ydapnjafl5t2cp9zqpjwe6pdgmxy98859v2",
            "label": {
                "labelName": "Robinhood Cold",
                "iconUrl": "/icon/default.png",
                "isContract": false,
                "exchangeSymbol": "",
                "labelType": "",
                "reliability": ""
            },
            "balance": "140574.82614005",
            "price": "70624.85790154382",
            "profit": "5416163383.0562816957331038294",
            "cost": "32131.412397458211476123",
            "preCost": "32131.412397458211476123",
            "chainName": "BTC"
        }
        // ... more data omitted
    ],
    "requestId": "xxx-xxx-xxx"
}