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

Path Parameters

provider_id
enum<string>
required

Provider id. Every other provider, including kalshi and hyperliquid, is rejected with 400.

Available options:
polymarket,
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,
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