Skip to main content
GET
/
api
/
sol
/
perp
/
wallets
/
{address}
/
perp-orders
Wallet trigger orders (pending / past)
curl --request GET \
  --url 'https://ca.raze.sh/api/sol/perp/wallets/{address}/perp-orders?apiKey='
{
  "market_id": "<string>",
  "address": "<string>",
  "data": [
    {
      "order_id": "<string>",
      "owner": "<string>",
      "market_id": "<string>",
      "venue": "<string>",
      "position_pubkey": "<string>",
      "kind": "<string>",
      "side": "long",
      "state": "open",
      "size_usd": 123,
      "collateral": 123,
      "trigger_price": 123,
      "trigger_above": true,
      "entire_position": true,
      "created_slot": 123,
      "created_ts": 123,
      "updated_slot": 123,
      "updated_ts": 123,
      "last_signature": "<string>"
    }
  ],
  "count": 123
}

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

state
enum<string>
default:open
Available options:
open,
filled,
cancelled,
all
from
integer<int64>
to
integer<int64>
limit
integer
default:200
Required range: 1 <= x <= 1000

Response

200 - application/json

Success

market_id
string

Present on market scope; absent on wallet scope (where address is returned instead).

address
string

Present on wallet scope.

data
object[]
count
integer