跳转到主要内容
GET
/
holders
/
chart
/
{token}
SDK
import { Client } from '@solana-tracker/data-api';

const client = new Client({ apiKey: 'YOUR_API_KEY' });

const data = await client.getHoldersChart('6p6xgHyF7AeE6TZkSmFsko444wqoP15icUSqi2jfGiPN', '1h');
{
  "holders": [
    {
      "holders": 123,
      "time": 123
    }
  ]
}

Documentation Index

Fetch the complete documentation index at: https://docs.solanatracker.io/llms.txt

Use this file to discover all available pages before exploring further.

SDK Example

import { Client } from '@solana-tracker/data-api';

const client = new Client({ apiKey: 'YOUR_API_KEY' });

const data = await client.getHoldersChart('6p6xgHyF7AeE6TZkSmFsko444wqoP15icUSqi2jfGiPN', '1h');

授权

x-api-key
string
header
必填

用于鉴权的 API Key

路径参数

token
string
必填

查询参数

type
string
默认值:1d

K 线周期(如 1s、1m、1h、1d)

time_from
integer

开始时间(Unix 秒)

time_to
integer

结束时间(Unix 秒)

响应

200 - application/json

Successful response

holders
object[]