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

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

const data = await client.getPriceAtTimestamp('6p6xgHyF7AeE6TZkSmFsko444wqoP15icUSqi2jfGiPN', 1700000000);
{
  "timestamp": 1756047122,
  "price": 0.000005761333491453496,
  "pool": "13RbxjgWhXhgSN4krVwadunLSAJjph7b9QFU4GWEpump",
  "closest_timestamp": 1756053248755,
  "closest_timestamp_unix": 1756053249
}

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

授权

x-api-key
string
header
必填

用于鉴权的 API Key

查询参数

token
string
必填

代币地址

timestamp
integer
必填

目标时间(Unix 时间戳)

响应

200 - application/json

Successful response

price
number
timestamp
integer
timestamp_unix
integer
pool
string