curl --request GET \
--url 'https://ca.raze.sh/api/sol/perp/markets/{market_id}/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
}Aggregated trigger orders on a market — feeds the public orderbook view. Closed/liquidated positions’ stale TP/SL orders are filtered out.
When pivot is provided, results are sorted by absolute distance from the pivot
(closest first) so a clipped limit returns a balanced bids+asks slice instead
of N rows from a single tail. The final response is then sorted by trigger_price
descending for stable client rendering.
curl --request GET \
--url 'https://ca.raze.sh/api/sol/perp/markets/{market_id}/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.
open, filled, cancelled, all Pivot price (USDC, decimal) — closest orders first when set.
1 <= x <= 2000