跳转到主要内容
POST
SDK

SDK Example

授权

x-api-key
string
header
必填

用于鉴权的 API Key

查询参数

pnlMode
enum<string>
默认值:strict

对被无效 PnL 启发式标记的仓位:strict 归零;adjusted 按成本基础封顶;raw 不改动已实现盈亏。API 也接受别名 pnl_modemode

可用选项:
strict,
adjusted,
raw

请求体

application/json
pairs
object[]
必填

Array of {wallet, token} objects. Max 200.

Maximum array length: 200
示例:

响应

Positions found. Pairs with no matching record appear in notFound.

pnlMode
enum<string>
可用选项:
strict,
adjusted,
raw
count
integer

Number of positions returned

positions
object[]
notFound
object[]

Pairs with no matching position record

invalid
object[]

Pairs that failed Base58 validation. Omitted when empty.