Get detailed information about portfolio profit/loss
Documentation Index
Fetch the complete documentation index at: https://coinstats.app/docs/llms.txt
Use this file to discover all available pages before exploring further.
API key required to access the endpoints. Generate one from your dashboard at https://openapi.coinstats.app and pass it in the X-API-KEY request header. Never expose your key in client-side code.
Passcode for accessing protected portfolio data
"123456"
Currency for price values. Default is USD.
"USD"
Portfolio ID for accessing a specific API-connected portfolio. Required if shareToken is not provided.
"abc123def456"
Portfolio profit/loss
Unrealized profit/loss percentage
12.5
Realized profit/loss percentage
5
All Time profit/loss percentage
17.5
Total value of portfolio
12500.75
DeFi value of portfolio
2500.25
Total cost of portfolio
10000.5
Unrealized profit/loss
1250.75
Realized profit/loss
500.25
All Time profit/loss
1751