跳转到主要内容
GET
/
price
/
history
/
range
SDK
import { Client } from '@solana-tracker/data-api';

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

const data = await client.getPriceRange('6p6xgHyF7AeE6TZkSmFsko444wqoP15icUSqi2jfGiPN', 1700000000, 1700086400);
{
  "token": "HEZ6KcNNUKaWvUCBEe4BtfoeDHEHPkCHY9JaDNqrpump",
  "price": {
    "lowest": {
      "price": 0.000005754645330040387,
      "marketcap": 5596.095215452651,
      "time": 1740007974
    },
    "highest": {
      "price": 0.003416286604926481,
      "marketcap": 3322162.188631335,
      "time": 1740216420
    }
  }
}

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.getPriceRange('6p6xgHyF7AeE6TZkSmFsko444wqoP15icUSqi2jfGiPN', 1700000000, 1700086400);

授权

x-api-key
string
header
必填

用于鉴权的 API Key

查询参数

token
string
必填

代币地址

time_from
integer
必填

开始时间(Unix 时间戳)

time_to
integer
必填

结束时间(Unix 时间戳)

响应

200 - application/json

Successful response

token
string
price
object