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

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

const data = await client.getTokenTrades('6p6xgHyF7AeE6TZkSmFsko444wqoP15icUSqi2jfGiPN');
{
  "trades": [
    {
      "tx": "46E7cuLcu99zESHB6TeWT9MyMNiBjewQGRfNxQyNPQsqaKLLChrBM5GSNFkvhgAoV24UR5BoFkjAkXXWfUivEPw2",
      "amount": 17944544.509647,
      "priceUsd": 0.0000046273144623514245,
      "volume": 83.03505032979842,
      "volumeSol": 0.355487548,
      "type": "sell",
      "wallet": "4GRgm4UdPRPwEe2CjHiUrLmtqsZi3NGbWQziCdFXzDuk",
      "time": 1759816878222,
      "program": "pumpfun-amm",
      "pools": [
        "F5QHFL9FQFevvsv6pPzTnviFcCjYhBAP9qcj9rVRxy9J"
      ]
    }
  ]
}

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.getTokenTrades('6p6xgHyF7AeE6TZkSmFsko444wqoP15icUSqi2jfGiPN');

授权

x-api-key
string
header
必填

用于鉴权的 API Key

路径参数

tokenAddress
string
必填

查询参数

cursor
string

分页游标

showMeta
boolean

设为 true 时为 from/to 两端代币补充元数据。

parseJupiter
boolean

设为 true 时将一笔 Jupiter 交换中的多笔转账合并为单条展示。

hideArb
boolean

设为 true 时隐藏套利或与当前代币筛选无关的成交。

sortDirection
enum<string>
默认值:DESC

排序方向:DESC 降序或 ASC 升序。

可用选项:
DESC,
ASC

响应

200 - application/json

Successful response

trades
object[]
nextCursor
integer
hasNextPage
boolean