Skip to main content
GET
/
api
/
sol
/
perp
/
markets
/
{market_id}
/
orderbook
Perp market orderbook
curl --request GET \
  --url 'https://api.raze.bot/api/sol/perp/markets/{market_id}/orderbook?apiKey='
{
  "market_id": "<string>",
  "venue": "<string>",
  "slot": 123,
  "bids": [
    {
      "price_e6": 123,
      "size_usd": 123,
      "orders": 123
    }
  ],
  "asks": [
    {
      "price_e6": 123,
      "size_usd": 123,
      "orders": 123
    }
  ],
  "note": "<string>",
  "error": true,
  "message": "<string>"
}

Authorizations

apiKey
string
query
required

Path Parameters

market_id
string
required

Response

200 - application/json

Success

Perp orderbook. Phoenix venues return populated bids/asks; Jupiter (LP-vault) venues return empty arrays with an explanatory note. On error, an error/message pair is returned with empty arrays.

market_id
string
venue
string

Present for the orderbook (phoenix) shape.

slot
integer<int64>

Present for the orderbook (phoenix) shape.

bids
object[]
asks
object[]
note
string

Present for the LP-vault (jup) shape — explains that pricing comes from the LP vault; use /orders for triggers.

error
boolean

Present on error responses.

message
string

Present on error responses.