跳转到主要内容
GET
SDK

SDK Example

授权

x-api-key
string
header
必填

用于鉴权的 API Key

路径参数

wallet
string
必填

Solana 钱包地址(Base58,约 32–44 字符)

Pattern: ^[1-9A-HJ-NP-Za-km-z]{32,44}$

查询参数

currency
enum<string>
默认值:usd

响应金额字段的计价单位,默认 usd。传 soleur 时按 ClickHouse 参考价在读取时将美元快照换算;历史端点按各快照日汇率,钱包摘要用现货。笔数、百分比、时间戳与 ROI 不换算;无效值返回 400。

可用选项:
usd,
sol,
eur
period
enum<string>

周期简写(如 30d),与 days 二选一

可用选项:
1d,
7d,
14d,
30d,
90d,
all
days
integer
默认值:30

滚动窗口天数,默认 30,最大 365

必填范围: x <= 365

响应

Successful response.

wallet
string
currency
enum<string>

Response denomination when ?currency=sol or ?currency=eur is requested. Omitted for the default USD response.

可用选项:
sol,
eur
identity
object

Unified wallet identity. Only fields with known values are returned; a wallet can carry multiple tags at once.

window
integer

Number of days in the window.

totals
object
bestDay
object | null
worstDay
object | null
streaks
object

Win/loss streaks in consecutive trading days.

drawdown
object

Maximum drawdown from peak total PnL within the window.

days
object[]

Day-by-day PnL and volume for the window.

updatedAt
string<date-time> | null