Skip to content

Holder addresses

Description

Paged on-chain holders for a token (or filter one address), with labels and balances.

Use cases

  • Whales, treasuries, exchanges
  • Concentration and attribution

Update: Real-time

Endpoint

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

Credits

  • Cost: 2

Prerequisites

vsTokenIdPOST /vs-token/list

coinKeyPOST /vs-token/detail

Request body (JSON)

FieldTypeRequiredDescription
vsTokenIdlongYesToken id
pageintegerYesPage (default 1)
pageSizeintegerYesPage size (default 10, max 10000)
coinKeystringYese.g. BTC_BTC
addressstringNoOptional filter

Response — data[]

FieldTypeSerializedDescription
vsTokenIdlongstringToken id
symbolstringstringTicker
namestringstringName
coinKeystringstringKey
addressstringstringAddress
labelobjectobjectTag meta
  labelNamestringstringLabel
  iconUrlstringstringIcon URL
  isContractbooleanbooleanContract flag
  exchangeSymbolstringstringVenue name
  labelTypestringstringType
  reliabilityintegerintegerConfidence
balancenumberstringBalance
pricenumberstringPrice
profitnumberstringUnrealized P&L
costnumberstringAvg cost
preCostnumberstringPrior cost
chainNamestringstringChain

Semantics

FieldMeaningTip
labelAttributionExchange vs contract etc.
profitFloating P&LVs cost
costCost basisAverage entry

Example

json
{
    "vsTokenId": 1,
    "page": 1,
    "pageSize": 10,
    "coinKey": "BTC_BTC"
}

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\"}"

Sample success

json
{
    "code": 200,
    "message": "success",
    "data": [
        {
            "vsTokenId": "1",
            "symbol": "BTC",
            "name": "Bitcoin",
            "coinKey": "BTC_BTC",
            "address": "34xp4vRoCGJym3xR7yCVPFHoCNxv4Twseo",
            "label": {
                "labelName": "Binance Cold Wallet",
                "iconUrl": "/icon/label/Binance.png",
                "isContract": false,
                "exchangeSymbol": "",
                "labelType": "Exchange",
                "reliability": ""
            },
            "balance": "248597.58214169",
            "price": "70624.85790154382",
            "profit": "7913271920.4341697967652188545",
            "cost": "38828.441617175034708941",
            "preCost": "38828.441617175034708941",
            "chainName": "BTC"
        }
    ],
    "requestId": "xxx-xxx-xxx"
}