Skip to main content
GET
/
api
/
sol
/
perp
/
wallets
/
{address}
/
perp-positions
Wallet open perp positions
curl --request GET \
  --url 'https://ca.raze.sh/api/sol/perp/wallets/{address}/perp-positions?apiKey='
{
  "address": "<string>",
  "data": [
    {
      "market_id": "<string>",
      "venue": "<string>",
      "position_pubkey": "<string>",
      "side": "long",
      "size": 123,
      "entry_price": 123,
      "collateral": 123,
      "unrealized_pnl": 123,
      "slot": 123,
      "snapshot_ts": 123,
      "is_open": true
    }
  ],
  "count": 123,
  "is_fresh": true,
  "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.

Authorizations

apiKey
string
query
required

Path Parameters

address
string
required

Query Parameters

fresh
boolean
default:false

Reserved for live-RPC fallback. Currently ignored.

Response

200 - application/json

Success

address
string
data
object[]
count
integer
is_fresh
boolean

Always false in v1 — derived snapshot from streaming events. The ?fresh=true live-RPC fallback ships in trading-side Phase 5.

note
string