Skip to main content
GET
Live per-market PnL for a (wallet, market) pair

Authorizations

X-Client-Id
string
header
required

Credential client id (kairos_ck_...). Must be sent together with X-Api-Key and X-Api-Secret.

X-Api-Key
string
header
required

64-char hex API key.

X-Api-Secret
string
header
required

64-char hex API secret.

Path Parameters

provider_id
enum<string>
required

MV-pipeline provider id. kalshi, hyperliquid, and any other registered-but-non-MV provider are rejected with 400.

Available options:
polymarket,
opinion,
predictfun
Maximum string length: 32
wallet
string
required

Wallet address (opaque string; trimmed, length-checked — not format-validated at this layer).

Maximum string length: 128
contract_id
string
required

Market/condition (contract) id.

Maximum string length: 128

Response

Per-token PnL rows and aggregate totals for the wallet on this market. Returns an empty/zeroed payload (not a 404) when the underlying PnL pipeline is disabled.

Live hover-on-wallet PnL for a single (wallet, market) pair. Returns a zeroed/empty payload (tokens: []) instead of erroring when the underlying PnL pipeline is disabled.

provider_id
enum<string>
required
Available options:
polymarket,
opinion,
predictfun
Example:

"polymarket"

wallet_address
string
required
Example:

"0x1a2b3c4d5e6f7a8b9c0d1e2f3a4b5c6d7e8f9a0b"

contract_id
string
required
Example:

"0xabc123condition"

tokens
object[]
required
total_unrealized_pnl_usd
number<double>
required
Example:

19.5

total_realized_pnl_usd
number<double>
required
Example:

0

total_position_value_usd
number<double>
required
Example:

82.5