curl --request GET \
--url 'https://ca.raze.sh/api/sol/perp/wallets/{address}/perp-pnl?apiKey='{
"address": "<string>",
"data": [
{
"market_id": "<string>",
"venue": "<string>",
"long_size": 123,
"short_size": 123,
"volume_usd_e6": 123,
"fees_paid_e6": 123,
"gross_pnl_e6": 123,
"net_pnl_e6": 123,
"first_fill_ts": 123,
"last_fill_ts": 123
}
],
"count": 123,
"note": "<string>"
}Per-(venue, market_id) aggregate from _mv_perp_wallet_positions.
Reports gross + net PnL as separate fields — the API never silently
switches between the two.
Note: gross_pnl_e6 is 0 in v1 until the parser produces real
size/price/fee values; PnL math is meaningless on placeholder zeros.
curl --request GET \
--url 'https://ca.raze.sh/api/sol/perp/wallets/{address}/perp-pnl?apiKey='{
"address": "<string>",
"data": [
{
"market_id": "<string>",
"venue": "<string>",
"long_size": 123,
"short_size": 123,
"volume_usd_e6": 123,
"fees_paid_e6": 123,
"gross_pnl_e6": 123,
"net_pnl_e6": 123,
"first_fill_ts": 123,
"last_fill_ts": 123
}
],
"count": 123,
"note": "<string>"
}Documentation Index
Fetch the complete documentation index at: https://docs.raze.bot/llms.txt
Use this file to discover all available pages before exploring further.