Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
取得代幣的歷史持有者數量趨勢數據,支援自訂解析度和時間範圍
cURL
curl --request GET \ --url https://api.chainstream.io/v2/token/{chain}/{tokenAddress}/holderTrend \ --header 'Authorization: Bearer <token>'
import requests url = "https://api.chainstream.io/v2/token/{chain}/{tokenAddress}/holderTrend" headers = {"Authorization": "Bearer <token>"} response = requests.get(url, headers=headers) print(response.text)
const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}}; fetch('https://api.chainstream.io/v2/token/{chain}/{tokenAddress}/holderTrend', options) .then(res => res.json()) .then(res => console.log(res)) .catch(err => console.error(err));
<?php $curl = curl_init(); curl_setopt_array($curl, [ CURLOPT_URL => "https://api.chainstream.io/v2/token/{chain}/{tokenAddress}/holderTrend", CURLOPT_RETURNTRANSFER => true, CURLOPT_ENCODING => "", CURLOPT_MAXREDIRS => 10, CURLOPT_TIMEOUT => 30, CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1, CURLOPT_CUSTOMREQUEST => "GET", CURLOPT_HTTPHEADER => [ "Authorization: Bearer <token>" ], ]); $response = curl_exec($curl); $err = curl_error($curl); curl_close($curl); if ($err) { echo "cURL Error #:" . $err; } else { echo $response; }
package main import ( "fmt" "net/http" "io" ) func main() { url := "https://api.chainstream.io/v2/token/{chain}/{tokenAddress}/holderTrend" req, _ := http.NewRequest("GET", url, nil) req.Header.Add("Authorization", "Bearer <token>") res, _ := http.DefaultClient.Do(req) defer res.Body.Close() body, _ := io.ReadAll(res.Body) fmt.Println(string(body)) }
HttpResponse<String> response = Unirest.get("https://api.chainstream.io/v2/token/{chain}/{tokenAddress}/holderTrend") .header("Authorization", "Bearer <token>") .asString();
require 'uri' require 'net/http' url = URI("https://api.chainstream.io/v2/token/{chain}/{tokenAddress}/holderTrend") http = Net::HTTP.new(url.host, url.port) http.use_ssl = true request = Net::HTTP::Get.new(url) request["Authorization"] = 'Bearer <token>' response = http.request(request) puts response.read_body
[ { "bluechipAmountRatio": "0.0200", "bundleAmountRatio": "0.0006", "creatorsAmountRatio": "0.0050", "devAmountRatio": "0.0100", "freshAmountRatio": "0.1500", "holders": "644381", "insiderAmountRatio": "0.0200", "kolAmountRatio": "0.0300", "phishingAmountRatio": "0.1400", "proAmountRatio": "0.0300", "ratAmountRatio": "0.0001", "sandwichAmountRatio": "0.0020", "smartAmountRatio": "0.0800", "sniperAmountRatio": "0.0050", "timestamp": 1747353600000, "top100HoldersRatio": "0.2500", "top10HoldersRatio": "0.0832", "top50HoldersRatio": "0.1500" } ]
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
支援網路列表中的鏈名稱 Supported blockchain chains
sol
eth
bsc
代幣地址
DTO.TOKEN.HOLDER_TREND.RESOLUTION Aggregation resolution: 1h (default) | 1d
DTO.TOKEN.HOLDER_TREND.FROM Start timestamp in Unix milliseconds (default: 30 days ago)
DTO.TOKEN.HOLDER_TREND.TO End timestamp in Unix milliseconds (default: now)
持有者趨勢數據點
Bluechip holder ratio (0–1)
"0.0200"
Bundle (bundler) wallet holding ratio (0–1)
"0.0006"
Creator wallet holding ratio (0–1)
"0.0050"
Dev wallet holding ratio (0–1)
"0.0100"
Fresh wallet holding ratio (0–1)
"0.1500"
Total holder count
"644381"
Insider wallet holding ratio (0–1)
KOL wallet holding ratio (0–1)
"0.0300"
Phishing (entrapment) wallet holding ratio (0–1)
"0.1400"
Pro wallet holding ratio (0–1)
Rat trader holding ratio (0–1)
"0.0001"
Sandwich bot holding ratio (0–1)
"0.0020"
Smart wallet holding ratio (0–1)
"0.0800"
Sniper wallet holding ratio (0–1)
Unix timestamp in milliseconds (start of the hour or day bucket)
1747353600000
Top-100 holder ratio (0–1)
"0.2500"
Top-10 holder ratio (0–1)
"0.0832"
Top-50 holder ratio (0–1)
這個頁面有幫助嗎?