Skip to main content
GET
Closed-position stats for a wallet

Authorizations

X-API-Key
string
header
required

Create an API key at https://developers.coinversa.ai/keys. REST limits are shared across keys by account; access uses the effective tier of the presented key.

Path Parameters

address
string
required

Wallet address to inspect (0x followed by 40 hexadecimal characters; case-insensitive). An address with no indexed history returns an empty result, not 404.

Response

OK

avgDurationMs
number<double>
required
avgPnl
number<double>
required
losingPositions
integer<int64>
required
totalPnl
number<double>
required
totalPositions
integer<int64>
required
winRate
number<double>
required
winningPositions
integer<int64>
required
$schema
string<uri>
read-only

A URL to the JSON Schema for this object.

Example:

"https://api.coinversa.ai/schemas/ClosedPositionStatsBody.json"

firstClose
string
lastClose
string
maxDurationMs
number<double>
minDurationMs
number<double>